View previous topic :: View next topic |
Author |
Message |
Hivemind n00b

Joined: 15 Jul 2004 Posts: 22
|
Posted: Mon Sep 05, 2005 4:13 pm Post subject: DHCP for multiple networks |
|
|
Iam setting up a router. This particular box will manage connections from as many as THREE seperate networks (3 seperate NICs) onto one internet connection. The standard DHCP server (dhcpd and udhcpd) are only rigged to provide IP's for one network at a time, when I need at least 2, if not all 3 to have dhcp. The scheme is as follows:
eth1: offce 192.168.3.0/24 (a 8-computer fixen-node wired office LAN)
eth2: floor 192.168.4.0/24 (variable-client wireless setup)
eth3: wired 192.168.2.0/24 (variable-client wired setup)
I need dhcp services for all these... any suggestions on how to do about this? |
|
Back to top |
|
 |
sloof3 Tux's lil' helper


Joined: 09 Sep 2004 Posts: 75
|
Posted: Mon Sep 05, 2005 7:12 pm Post subject: |
|
|
I was always under the assumption that you had to configure each interface.
Gentoo-Wiki has info on this: http://gentoo-wiki.com/HOWTO_setup_DHCP
-sloof3 |
|
Back to top |
|
 |
Hivemind n00b

Joined: 15 Jul 2004 Posts: 22
|
Posted: Tue Sep 06, 2005 2:33 am Post subject: |
|
|
that wasn't very helpful, unfortunatly.
Now I'm thinking that i'll need to run different dhcp servers for each interface. |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue Sep 06, 2005 7:11 am Post subject: |
|
|
no
all you need to to is to have 3 different subnet statements inside your dhcpd.conf.
Additionally you can define >1 ranges per subnet statement - e.g. if you want to have in 192.168.4.x dhcp address from*.10-20 and *.80-253.
Each subnnet statement should have its own options set, especially gateway, broadcast address etc.
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
|