|
|
Question : multiple ip address to a nic
|
|
I already have asked this in the experts-exchange but I need another suggestion since the last time the suggestion didn't seem to work. I need to setup two different ip addresses and subnet masks to one ethernet interface. This is for me connect to one physical network segment that contains multiple logical ip networks. I was suggested last time to use the dummy network interface, yes this will allow my local machine to see two ip addresses attached to one ethernet interface but the other hosts in the network cannot access the local dummy interface. I need to assign two ip addresses with different subnet mask to only one ethernet interface. The other hosts in the network should be able to access the two ip addresses and not only the localhost.
Rodney
|
Answer : multiple ip address to a nic
|
|
You need Network-Aliasing compiled into the Kernel (under the Network Options).
Then you can access your Network Card as eth0:[1..255] (and the normal eth0 of course).
With the Alias-Interfaces you can do everything you could normaly do with eth0.
|
|
|
|