Re: DHCP on different subnets



wisptech@xxxxxxxxx wrote:
I have a DHCP server with the following config:

[snip]

subnet 66.119.9.0 netmask 255.255.255.0 {

[snip]

subnet 172.19.0.0 netmask 255.255.255.0 {

[snip]

Problem is that it does not want to assign 172.19.0.0/24 addresses..
It will only assign addresses from the 66.119.9.0/24 pool and it does
it quite well. Question is, how do I get it to assign 172.19.0.0/24
addresses as well as 66.119.9.0/24 addresses but with the 172 being the
preferred pool?


Does your DHCP server have an interface on the 172.19/24 network?
Alternatively, do you have a relay on the 172.19/24 network?

A DHCP client does an Ethernet (MAC layer) broadcast to find a DHCP
server or relay. The server or relay offers an address on the same
network as the interface that received the broadcast.

I suspect, but you haven't said, that your DHCP server is dual-homed
with both interfaces on the same physical network, the intent being to
assign routable addresses to specific hosts and non-routable addresses
to all others. I've never tried such a config myself, but at the very
least you'd have to put "ignore unknown-clients;" in the subnet
66.119.9.0 section (if that's what you're trying to do).
.



Relevant Pages

  • Re: Make a DHCP server using Fedora - Help
    ... that insisted on using 192.168.0.1 for the gateway PC. ... For the average home network, ... then the 255.255.255.0 netmask suffices. ... I would suggest that whatever PC you're running the DHCP server on ...
    (Fedora)
  • Re: DHCP on different subnets
    ... subnet 66.119.9.0 netmask 255.255.255.0 { ... Does your DHCP server have an interface on the 172.19/24 network? ...
    (comp.os.linux.networking)
  • Re: problem with IP thief
    ... We do not know that there is a DHCP server on the network ... it first and are too stupid to read it. ...
    (alt.computer.security)
  • Re: ShareFS between RPC and iyonix
    ... inet 1.107.32.162 netmask 0xff000000 broadcast 1.255.255.255 ... Have a look at your network as they are on two different address ...
    (comp.sys.acorn.networking)
  • Re: ShareFS between RPC and iyonix
    ... inet 1.107.32.162 netmask 0xff000000 broadcast 1.255.255.255 ... Have a look at your network as they are on two different address ...
    (comp.sys.acorn.networking)