All pastes #396763 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-16 00:18 UTC
rendered paste body

# borrar tabla 
d=`ip -o link show | cut -d: -f2` 
for i in $d ; do
ip addr flush $i
ip link set $i down
done
unset i d

ip addr add 127.0.0.1/8 dev lo
ip link set lo up
ip route add 127.0.0.0/8 dev lo

modprobe bonding max_bonds=1
ip link set bond0 up
ip addr add 192.168.3.254/24 dev bond0
ip route add 192.168.3.0/24 dev bond0
ifenslave bond0 eth0 ra0

ip route add default proto static\
 nexthop via 192.168.3.1 dev bond0\