DragonFly BSD
DragonFly users List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: One NIC with multiple IP addresses on different networks?


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Mon, 19 Jul 2010 10:40:03 +0200

>ifconfig bge0 202.111.111.111 255.255.255.0
>ifconfig bge0 alias 202.111.111.112 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.

 -thomas




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]