[LARTC] Source Routing on a multihomed host

Linux Advanced Routing and Traffic Control

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

 



On Tue, Feb 26, 2002 at 09:36:50AM -0500, STEVE CASTRO wrote:
> Hello,
> 
> Will the Simple Source routing example shown in "LARTC HOWTO" work 
> for a multihomed host (not a router) application that simply "binds"
> to the address associated with the interface or does the source
> routing decision only effect packets coming in over the interface and not
> from a local application?

It effects all packets.

> Basically, I want an application to choose which interface to use (i.e.
> override the default route) by doing something similar to the old days
> (Kernel 2.0.31 I think) when there was a socket option called
> SO_BINDTODEVICE.

Can't you just let the application bind to the ip address of the interface?

What do you mean by overriding default routes?

Regards,

bert


-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


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