All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Routing to virtual interfaces
@ 2002-05-09 14:37 Joshua Daniel Franklin
  0 siblings, 0 replies; only message in thread
From: Joshua Daniel Franklin @ 2002-05-09 14:37 UTC (permalink / raw)
  To: lartc

Hi. I asked this question on the linuxmanagers list, and the
only helpful response I got was to ask this list. :)
So:

I've got a server with eth0 and eth0:0 (and other interfaces, but that's
not important right now). Sometimes outgoing connections show up as coming
from the IP address of eth0, sometimes from eth0:0. Here are the interfaces:

eth0      Link encap:Ethernet  HWaddr 00:B0:D0:FC:DC:88  
          inet addr:12.41.224.2  Bcast:12.41.224.63  Mask:255.255.255.192
[...]
eth0:0    Link encap:Ethernet  HWaddr 00:B0:D0:FC:DC:88  
          inet addr:12.41.224.13  Bcast:12.41.224.63  Mask:255.255.255.192

And, for example, with SMTP, I've gotten these headers:

Received: from virtual.iocc.com (EHLO iocc.com) (12.41.224.13) by mta591.mail.yahoo.com with SMTP; 09 May 2002 07:22:12 -0700 (PDT) 

But then with telnet (to a different machine):

May  9 09:32:22 jay xinetd[29016]: libwrap refused connection to telnet from 12.41.224.2

Can anyone tell me either how to get it always to use eth0, or why an interface
is apparently chosen at random?
-- 
Joshua Daniel Franklin
Network Administrator
IOCC.COM

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-09 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-09 14:37 [LARTC] Routing to virtual interfaces Joshua Daniel Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.