multihomed box

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Jan 6 14:12:18 UTC 2006


On Fri, Jan 06, 2006 at 11:31:14AM +0800, JM wrote:
> they have a firewall and we only want to publish the eth0:0's IP, running the 
> API they gave us ( the API will be used to connect to their server ) uses 
> eth0's IP, is there a way to tell linux to use eth0:0 when ever we want to 
> connect to a specific IP?

The simple solution is to assign the IP you actually want to use to
eth0, and move eth0's ip to eth0:0 instead.

Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list