netdev
[Top] [All Lists]

Q: 2.2.15 default behavior for IPv4 source address selection ICMP/UDP o

To: netdev@xxxxxxxxxxx
Subject: Q: 2.2.15 default behavior for IPv4 source address selection ICMP/UDP on multi-alias host
From: Peter Bieringer <pb@xxxxxxxxxxxx>
Date: Fri, 05 May 2000 22:45:41 +0200
Sender: owner-netdev@xxxxxxxxxxx
Hi,

perhaps someone could update me, how a Linux kernel select the source IPv4
address on ICMP/UDP.

Following "real world" environment (multi domain hosting with IP based
accounting) causes me a little bit of headache:

One PC with one Ethernet interface

Basic IP is:
        eth0: x.y.z.62
Also I defined some aliases:
        eth0:0 x.y.z.61
        eth0:1 x.y.z.60
        eth0:2 x.y.z.59
        eth0:3 x.y.z.58

My amateur thoughts were that packets send by following tools
        ping
        traceroute
        ntp (xntp3)

should have source IP address of "eth0" (*.62).

Unfortunately, they uses "eth0:3" (*.58).

Is it able to control upper written behavior by default (/proc ?)? I.e. all
outgoing packets without any special binds are using the one of "eth0"?

Thanks for any hints,
        Peter




<Prev in Thread] Current Thread [Next in Thread>