logo       

FreeBSD and IP aliases .: msg#00327

network.dhcp.isc.dhcp-server

Subject: FreeBSD and IP aliases .

*** From dhcp-server -- To unsubscribe, see the end of this message. ***



Given an interface with one or more IP aliases; e.g.

wi5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 172.17.8.1 netmask 0xffffffc0 broadcast 172.17.8.63
inet 172.16.0.25 netmask 0xfffffffc broadcast 172.16.0.27
inet 172.16.0.29 netmask 0xfffffffc broadcast 172.16.0.31

It seems to be the case that once you have defined _one_ subnet
which covers -any- of the above 3 IPs for this interface (wi5):

subnet 172.17.8.0 netmask 255.255.255.192 {
range 172.17.8.10 172.17.8.60;
option broadcast-address 172.17.8.63;
option subnet-mask 255.255.255.192;
option routers 172.17.8.1;
}

That adding an additonal set of lines to mask out the
other ranges for that interface:

subnet 172.16.0.24 netmask 255.255.255.252 { not authoritative; }
subnet 172.16.0.28 netmask 255.255.255.252 { not authoritative; }

gives you the error

Interface wi5 matches multiple shared networks

Which is a bit counter intuitive; as you MUST add those for any other
interfaces you do not run DHCP on.

What is the thinking behind this ? Or is this a bug ?

Dw


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe : http://www.isc.org/dhcp-lists.html
-or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
-----------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise