Skip to contentSkip to conversation

ip rule add dev

LARTC jorge 1 participant 1 message Oct 14, 2005

lore
Share & tools
lore

jorge

author
#0 lore raw

Hi ,
have a question:
i have a router with some interfaces and i want that some interfaces wil lookup others tables then defaults for other default gw. like this. So all the traffic from vlan0002 will be routed via 213.151.73.176.

/usr/sbin/ip rule add dev vlan0002 lookup 15 /usr/sbin/ip route add default via 213.151.73.176/27 table 15

is it ok?
or i ommited something?
thanks

Signature · 8 lines
Jorge Sanchez
InWay a.s.


_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc