Dec
19
2009
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
[...]
Tags: bridge, debian, fedora, linux, network, redhat, Startup, ubuntu
Dec
14
2009
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 [...]
Tags: brctl, bridge, Cisco, debian, dynagen, dynamips, fedora, linux, redhat, router, tap, ubuntu, virtualization
Dec
09
2009
I was surprised ifconfig wouldn’t return an interface for my Atheros chipset based Netgear wireless card. Unlike Redhat, Madwifi does not seem to compile on Ubuntu, no matter what version is used. Kernel headers installed, I keep getting the same error:
/root/madwifi-0.9.4/net80211/ieee80211_power.c:
In function ‘ieee80211_pwrsave’:
/root/madwifi-0.9.4/net80211/ieee80211_power.c:240:
error: implicit declaration of function ‘__skb_append’
make[3]: *** [/root/madwifi-0.9.4/net80211/ieee80211_power.o]
Error 1
make[2]: *** [/root/madwifi-0.9.4/net80211] Error 2
make[1]: [...]
Tags: Atheros, driver, linux, madwifi, Netgear, network, ubuntu, WEP, wifi, wireless, WPA