# Runs after the other interfaces have been configured and before a # default gateway is configured. "n" denotes new, "oGATEWAY" = "Original GW". # eth1:0 echo -n "eth1:0, " /sbin/ifconfig eth1:0 ${nIPADDR} broadcast ${nBROADCAST} netmask ${nNETMASK} /sbin/ip route add ${nGATEWAY}/32 dev eth1 src ${nIPADDR} echo -n "route add gateway. " /sbin/route add default gw ${oGATEWAY} netmask 0.0.0.0 metric 1