ip rule add dev

Linux Advanced Routing and Traffic Control

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

 



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

--
Jorge Sanchez
InWay a.s.


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux