[CentOS] Centos and Bridging

Fri Nov 26 19:14:05 UTC 2010
Robert Spangler <mlists at zoominternet.net>

On Friday 26 November 2010 12:28, Robert Heller wrote:

>  > works before committing it to the config:
>  > > brctl addbr br0
>  > > ifconfig eth0 down
>  > > ifconfig br0 192.168.1.100 up
>  > > ifconfig eth0 0.0.0.0 up
>
>  brctl addif br0 eth0
>
>  You need to add the physical interface(s) to the bridge interface.

Yes, thank you for this information.  This is the set I had missed.

>  You can set this up to go automagically like this:
>
>  sauron.deepsoft.com% cat /etc/sysconfig/network-scripts/ifcfg-eth0
>  # nVidia Corporation MCP77 Ethernet
>  DEVICE=eth0
>  BOOTPROTO=static
>  HWADDR=00:19:66:D6:ED:93
>  ONBOOT=yes
>  BRIDGE=br0
>
>  sauron.deepsoft.com% cat /etc/sysconfig/network-scripts/ifcfg-br0
>  DEVICE=br0
>  TYPE=Bridge
>  BOOTPROTO=static
>  BROADCAST=192.168.250.255
>  IPADDR=192.168.250.1
>  NETMASK=255.255.255.0
>  NETWORK=192.168.250.0
>  ONBOOT=yes

Thnx again for this information.


-- 

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
http://counter.li.org/