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
|