[ILUG] Routing.

Nick Murtagh murtaghn at tcd.ie
Wed Jan 16 15:37:53 GMT 2002


On Wednesday 16 January 2002 15:28, Mark Kilmartin wrote:
> I believe what is needed is something like below.
>
> NOTE this is totally untested.
>
> On the firewall issue something like the following.
>
> echo 200 Xinterface >> /etc/iproute2/rt_tables
> ip rule add from 'X' table Xinterface
>
> ip route add default via <The next router on interface X> dev <the
> physical interface> table Xinterface
>
> ip route flush cache

Are you referring to packets going out to the internet? In that case,
how would a packet going out from your LAN have a source address (`from'
address) of X?




More information about the ILUG mailing list