Sunday, May 3, 2009

Creating a Ethernet/Wireless Bridge

We have a proxy server connected to both the wireless and wired segments that share the same network segment.This makes it possible for it to serve both wireless and wired clients.

1)Install bridge-utils -> yum install bridge-utils
2)Create the following files

/etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.100.90
NETMASK=255.255.255.0
GATEWAY=192.168.100.254
ONBOOT=yes
TYPE=Bridge


/etc/sysconfig/network-scripts/ifcfg-ath0

DEVICE=ath0
ONBOOT=yes
BOOTPROTO=static
BRIDGE=br0


/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
BRIDGE=br0


3)Restart network service -> service network restart
4)Test that its working -> brctl show

No comments:

Post a Comment

Followers