Docs/SysAdmin/Networking/Bridge
From Mandriva Community Wiki
Configuring bridge interfaces
To build a bridge interface, the bridge-utils package is required. The bridge interface should be configured in /etc/sysconfig/network-scripts/ to be automatically started by the network service or by the ifup command.
For example, to build a bridge interface br0 over the eth0 and eth1 interfaces, the following configuration files can be used:
- /etc/sysconfig/network-scripts/ifcfg-br0:
DEVICE=br0 TYPE=Bridge IPADDR=192.168.0.1 NETMASK=255.255.255.0 ONBOOT=yes
- /etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0 BRIDGE=br0 ONBOOT=yes
- /etc/sysconfig/network-scripts/ifcfg-eth1:
DEVICE=eth1 BRIDGE=br0 ONBOOT=yes
Note: the bridge service does not exist anymore as of Mandriva Linux 2007.1