[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux con 2 proveedores de Internet



Fillon escribió::
yo tengo esto

# Setup source IP routing rules for DSL
ip rule add from 24.232.76.243 lookup 1
ip route add 200.47.76.0/24 via 200.47.76.13 table 1
#ip route add 10.10.1.0/24 via 10.10.1.253 table 1
ip route add 0/0 via 24.232.76.1 table 1


# Setup source IP routing rules for cable modem
ip rule add from 24.232.35.34 lookup 2
ip route add 200.47.76.0/24 via 200.47.76.13 table 2
#ip route add 10.10.1.0/24 via 10.10.1.253 table 2
ip route add 0/0 via 24.232.35.1 table 2

ip route add default equalize nexthop via 24.232.76.1 dev eth1 weight 1 nexthop via 24.232.35.1 dev eth2 weight 1 #ip route add default scope global nexthop via 24.232.76.1 dev eth1 weight 1 nexthop via 24.232.35.1 dev eth2 weight 1

pero kom resultado me da esto ke esta mal

200.47.76.0/24 dev eth0  scope link
24.232.76.0/24 dev eth1  scope link
24.232.35.0/24 dev eth2  scope link
127.0.0.0/8 dev lo  scope link
default equalize
        nexthop via 24.232.76.1  dev eth1 weight 1 dead onlink pervasive
        nexthop via 24.232.35.1  dev eth2 weight 1
ke puede ser lo ke este hasiendo mal

Estas copiando esas reglas, y ni sabes lo que hacen, no esperes que alguien haga tu trabajo.
Ya no estás en la escuela, deberías agarrar los manuales ¡ no muerden !

Slds !

--
Luciano



Reply to: