Source based routing

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

 



On tis, 2004-07-20 at 17:57 +0200, Alexander Dalloz wrote:

> The routing is destination based.

Simple howto for source based routing:

First set up an alternative routing table using commands like this:

 /sbin/ip route add <prefix>/<prefixlen> dev <device> table <tablenum>
 /sbin/ip route add default <some routing spec> table <tablenum>

Then use this table for a set of source IPs:

 /sbin/ip rule add from <prefix>/<prefixlen> table <tablenum>

The command /sbin/ip seems a bit more flexible than commands like
ifconfig and route.

/abo




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux