Download pdf - Bridge Configuration

Transcript
Page 1: Bridge Configuration

7/17/2019 Bridge Configuration

http://slidepdf.com/reader/full/bridge-configuration 1/1

brctlbrctl show

brctl addbr br0ifconfig br0 upifconfig br0brctl showbrctl addif br0 eth1brctl addif br0 eth2

auto eth1iface eth1 inet manual  up ip link set $IFACE promisc on arp off up  down ip link set $IFACE promisc off down  post-up ethtool -G $IFACE rx ; for i in rx tx sg tso ufo gso gro lro; do etht$  post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6

auto eth2iface eth2 inet manual  up ip link set $IFACE promisc on arp off up  down ip link set $IFACE promisc off down

  post-up ethtool -G $IFACE rx ; for i in rx tx sg tso ufo gso gro lro; do etht$  post-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6

auto br0iface br0 inet manual  bridge_ports eth1 eth2  up ip link set $IFACE promisc on arp off up  down ip link set $IFACE promisc off down  post-up ethtool -G $IFACE rx ; for i in rx tx sg tso ufo gso gro lro; do etht$  post-up echo 1 > /proc/sys/net/ipv6/conf/br0/disable_ipv6

Recommended