Archive for the tag 'fedora'

 

 

Dec 19 2009

Bridge Startup Script

Published by dave under linux

All systems need bridge-utils package installed either with yum or apt-get.
 
Redhat / Fedora
Edit each network interface startup file that is going to be added to the bridge

[root@redhat ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:C0:4F:44:41:8A
ONBOOT=yes
BRIDGE=br0

 
And create the bridge configuration file

[root@redhat ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.100
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=no
ONBOOT=yes

 
Ubuntu

root@ubuntu:~# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

auto br0
iface br0 inet static
[...]

No responses yet

Dec 14 2009

A Virtual Cisco Router on your Network

Published by dave under Cisco, linux

Dynamips and dynagen let you create a virtual Cisco router on a Linux box. It would be even better if that router was reachable from the LAN, wouldn’t it? Going further, that same router could lead us to another couple of virtual routers running in a lab.
 
Download and Installation
Download dynamips and dynagen from dynagen.org. Pay [...]

No responses yet

Sep 04 2009

Configure WPA on Linux Howto

Published by dave under linux, security

WPA encryption is not much hassle to set up and is way more secure than WEP if you use a strong pre-shared key.
 
First off, we’ve got a wifi interface that can be displayed with iwconfig (from the wireless tools):

[root@db ~]# iwconfig
lo no wireless extensions.

eth0 [...]

No responses yet

Next »