Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCP server config for two networks

Reply
Thread Tools Display Modes

DHCP server config for two networks

 
 
Peter Ashford
Guest
Posts: n/a

 
      09-25-2003, 11:11 PM
Hi there,

I have a server running which provides DHCP for a network serving
addresses in the 192.168.0.5-200 range. This works fine, but we have
added several other ethernet cards and we want the server to provide
DHCP for a DMZ network, numbered 10.0.0.5-200 and only accessible over a
different ethernet card to the first network.

How do I configure dhcpd to serve 192.168.0.5-200 numbers over eth0 and
10.0.0.5-200 numbers over eth2?

I've read the manpage and googled for info, but I'm still confused -
most examples seem to deal with just one interface.

I'm using Redhat 8.0.

TIA!

Peter.

 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      09-26-2003, 12:15 AM
In article <XCKcb.159069$(E-Mail Removed)>,
Peter Ashford wrote:
> How do I configure dhcpd to serve 192.168.0.5-200 numbers over eth0 and
> 10.0.0.5-200 numbers over eth2?


Add another subnet definition block with the range and any specific
directives for that subnet. If necessary move directives out of the
global section and into each subnet block.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Peter Ashford
Guest
Posts: n/a

 
      09-26-2003, 12:38 AM
/dev/rob0 wrote:

> In article <XCKcb.159069$(E-Mail Removed)>,
> Peter Ashford wrote:
>
>>How do I configure dhcpd to serve 192.168.0.5-200 numbers over eth0 and
>>10.0.0.5-200 numbers over eth2?

>
>
> Add another subnet definition block with the range and any specific
> directives for that subnet. If necessary move directives out of the
> global section and into each subnet block.


This is what I have now - a shared network with two subnets inside it.
Trouble is that connections over eth2 (which has an address 10.0.0.1)
get mapped into 192.168.0.***



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP server config export to text file Mel K. Windows Networking 0 10-07-2009 04:19 PM
DHCP Failover config darren5972 Windows Networking 2 04-26-2009 05:10 PM
How to config router for 2 networks antiw Linux Networking 3 12-20-2006 11:35 PM
Config DHCP/DNS Bernard Windows Networking 2 11-18-2005 07:48 AM
MS 2003 Dhcp server and option 82 config ifabrizio Windows Networking 0 10-22-2005 10:15 AM



1 2 3 4 5 6 7 8 9 10 11