Persistant Static Routes based on TCP ports

Romeo Theriault romeotheriault at gmail.com
Mon Nov 29 17:23:43 UTC 2010


On Tue, Nov 30, 2010 at 1:53 AM, Matty Sarro <msarro at gmail.com> wrote:
> Hey everyone,
> We're working on a rather complicated installation in a tightly controlled
> environment. Every server has 4 ethernet ports. Eth0 and Eth2 are bonded
> together as bond0. Eth1 is used for management/snmp. The two networks are
> completely isolated from one another. What we'd like to do is set up
> persistant static routes so that all traffic using specified TCP/UDP ports
> goes in/out of a specific interface. From the man/info page it doesn't look
> like this can be done with the route command; or can it? If not, can anyone
> suggest an alternative?


I'm not sure exactly what you're trying to achieve, but you may want
to take a look at the 'ip' command. This allows you to setup more than
one routing table on the host.

See: http://linux-ip.net/html/routing-tables.html

Romeo




> -Matty
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Romeo Theriault
System Administrator
Information Technology Services




More information about the redhat-list mailing list