RE: DHCP and multiple subnets


Subject: RE: DHCP and multiple subnets
From: Christopher E. Brown (cbrown@woods.net)
Date: Thu Mar 14 2002 - 12:49:25 AKST


On Tue, 12 Mar 2002, Craig Callender wrote:

>
> Actually, the virtual ethernet interfaces would look like this:
>
> eth0:0 - 192.168.1.0
> eth0:1 - 192.168.2.0
> eth0:2 - 192.168.3.0

Umm, the whole concept of a virtual ethernet interface diad after
2.0.x, in 2.2 and later it uses the more standard concept of
multibound interfaces (one interface, multiple IPs, one primary). As
a backward compat thing it supports the idea of a 'label' for each
sub IP on the interface, for display via older tools as virtual
interfaces.

As to needing them you dont, if you have 3 ifaces then you have 3
ifaces and you declare dhcpd to listen to the ones you want. dhcpd
determines what address to reply with based on the primary IP of the
interface receiving the request, *OR* in the case of a dhcprelay based
on the IP of the interface the relaying machine received the packet
on.

If doing dhcprelay you could server 1200 IP ranges on 1000 remote
segments over one ether card. Course it would not work, debugging
dhcprelay over a complex network is a nightmare.



This archive was generated by hypermail 2a23 : Thu Mar 14 2002 - 13:07:56 AKST