IP Alias default outgoing interface?
- From: agentbullvi@xxxxxxxxx
- Date: 26 Dec 2005 14:09:20 -0800
Hello,
I've run into this situation on several versions of RedHat linuxes..
Fedora, and now Cent -- I don't know if it happens on others.
I am currently running CentOS 4.2
- of the 4 network interfaces in the server, only eth0 is
comfigured/active
- All of the ip addresses on eth0 are "public" IP addresses, not NAT
private addresses
- While IP tables is installed on the system I've disabled it for
purposes of diagnosing this issue
- I have no advanced routing at all, a simple static route to a
default gateway.
- This is my kernel: 2.6.9-22.0.1.ELsmp
Here is my situation, I have a NIC with a n IP address, and several IP
aliases; example:
eth0: - 10.10.10.10
eth0:1 - 10.10.10.11
eth0:2 - 10.10.10.12
eth0:3 - 10.10.10.13
eth0:4 - 10.10.10.14
eth0:5 - 10.10.10.15
(my actual IP addresses are public IP addresses)
When making outgoing connections the system always uses the very last
IP alias as the connection IP. This is bad news for a mailserver, since
the main IP is tyipcally what you have reverse DNS'd. I need the
default outgoing IP address to be the NIC's IP address, not the IP
alias address.
What I've been doing is moving the IP I need as the default IP to the
last IP alias, but this screws up applications that look up just eth0.
Anyone else run into this, and if you have, how have you dealt with it?
Thank you,
--B
.
- Follow-Ups:
- Re: IP Alias default outgoing interface?
- From: Jacob Bunk Nielsen
- Re: IP Alias default outgoing interface?
- Prev by Date: Re: Activate HP WiFi-Adapter in HP notebook?
- Next by Date: Re: Activate HP WiFi-Adapter in HP notebook?
- Previous by thread: Activate HP WiFi-Adapter in HP notebook?
- Next by thread: Re: IP Alias default outgoing interface?
- Index(es):
Relevant Pages
|