One NIC with multiple IP addresses on different networks?
thomas.nikolajsen at mail.dk
Mon Jul 19 01:44:32 PDT 2010
>ifconfig bge0 126.96.36.199 255.255.255.0
>ifconfig bge0 alias 188.8.131.52 255.255.255.255
>note they are on the same network.
>What if the alias was on a 203.xxx.xxx.xxx? Would that work? What would
>the netmask be in such case?
Whatever you like.
I.e. what your ip-addr plan says.
(I don't think we support /31 though)
(it is often noted that you should ask your network admin,
before using ip-addr / mask; to ensure it is consisten with ip-addr plan;
but I guess it is you)
Non-overlapping ip-subnets for interfaces is the normal case;
overlapping, which you mention, is the speciale case, that many ip devices doesn't support.
More information about the Users