> I just starting playing with the alias support in 1.3.59.. I figured out
> that you do ifconfig eth0:1 a.b.c.d to setup the device, but the problem
> is.. I do that (with the right netmask and broadcast commands) and when I
> try a telnet to the address assigned to the alias I get a timeout... do I
> have to put a static route in or an arp entry or something? (I dont think
> the arp is neccesary since it seems to proxy arp off the real eth0)... can
> anybody help?
>
Don't forget that if you don't add a *route* to the device, the ip layer
will ignore it. No arp entries are needed, net_alias implementation handles
arp.
_If_ the new alias belongs to the same eth0 logical network (eg a.b.c.0
through eth0) when you send a pkt to a.b.c.d, it will be handled by
eth0. This will result in an ARP request, and the ARP layer will complain
"ARP request for own IP address".
You must:
# route add -host a.b.c.d dev eth0:1
~~~~~~ -> may be unnecessary
Of course, if a.b.c.0 _IS_ a diff. logical network,
# route add -net a.b.c.0 dev eth0:1
Cheers ...
2
-- Juanjo, J C