Two subnets in DHCP Server
kauer at biplane.com.au
Thu Sep 3 11:16:13 UTC 2009
On Thu, 2009-09-03 at 11:16 +0200, Florian Diesch wrote:
> Stephan Schöffel <schoeffel at fh-bingen.de> writes:
> > I'm trying to make my dhcp server provide addresses for two subnets. It
> > works well for the first, but not on the second.
> > The server address is 220.127.116.11. Does it have to have another NIC in
> > the 18.104.22.168/24 net?
*Something* has to have a NIC in the second subnet. You can have a
second NIC on the server itself, attached to the second subnet, in which
case the server can listens directly for incoming requests.
Alternatively, you can put a DHCP relay on some other machine in the
second subnet, configured to forward DHCP requests to your DHCP server.
Obviously the "some other machine" can't be getting an address via DHCP!
If your subnets are on a commodity router, it is very likely that the
router has DHCP relay functionality built in, and you only need to turn
it on. If you are using a Ubuntu box or similar as a router, you will
most probably find DHCP relay software in the repositories.
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users