Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP for multiple networks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Mon Sep 05, 2005 4:13 pm    Post subject: DHCP for multiple networks Reply with quote

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
View user's profile Send private message
sloof3
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 75

PostPosted: Mon Sep 05, 2005 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Tue Sep 06, 2005 2:33 am    Post subject: Reply with quote

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
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Sep 06, 2005 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum