Bridge

From Mandriva Community Wiki

Jump to: navigation, search
The content of this article is obsolete or outdated
The following information can be obsolete or outdated and needs to be revised. You can also check the other pages that require revision.

The bridge service does not exist anymore as of Mandriva Linux 2007.1

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
Personal tools