On Sat, 9 Mar 2002, Jeff Waugh wrote:
> Hey all,
> 
> So, I have a machine with a number of aliases on eth0. Thus, the machine
> answers on multiple IP addresses, provided by eth0, eth0:0, etc.
> 
> Only trouble is, I want connections *from* the machine to go out via eth0
> (and thus its IP address) only. That's easy enough for things like postfix,
> where I can just set the smtp_bind_address.
> 
> It's far harder with web browsers, ssh clients, etc.
> 
> How do I get the machine to default to using eth0 and its IP address for
> outgoing connections?

Ah. I can answer this one. :)
I am assuming that your problems occur because the IP adresses are in the
same subnet.

Answer: Get rid of the eth0 aliases and put them on the dummy interface 
instead. :)

The Dummy interface (dummy0, etc) doesn't get routed out because it
doesn't go anywhere. Before aliases, this was the only way of doing
things, but back then not routing was a problem, not a solution. :)

-- Jessica Mayo.
(Everything with a Grin :)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to