Hello. I have the following setup in /etc/network/interfaces to bind two IP
addresses (let's say 11.22.33.44 and 11.22.33.45) onto my one NIC:
---------------------------------------------------
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 11.22.33.44
netmask 255.255.255.0
network 11.22.33.0
broadcast 11.22.33.255
gateway 11.22.33.1
auto eth0:0
iface eth0 inet static
address 11.22.33.43
netmask 255.255.255.0
network 11.22.33.0
broadcast 11.22.33.255
gateway 11.22.33.1
---------------------------------------------------
and the following routes:
---------------------------------------------------
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Iface
11.22.33.0 * 255.255.255.0 U 0 eth0
default 11-22-33-1 0.0.0.0 UG 0 eth0
---------------------------------------------------
Incoming traffic works fine. Outgoing traffic works as well... except that
all the outbound traffic appears to originate from 11.22.33.43, not
11.22.33.44 . (i.e. visiting http://www.whatismyip.com shows 11.22.33.43)
I'd really prefer that it showed 11.22.33.44 as the source address for my
outbound traffic, since that's the "main" address associated with this box.
How can I get Debian to send its data through the address associated with
eth0 instead of the one associated with eth0:0 ?
Thanks to anyone who can help!
_________________________________________________________________
Search for grocery stores. Find gratitude. Turn a simple search into
something more.
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]