LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2003, 03:12 PM   #1
NVETHIS
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
DHCP Server for internal LAN and DMz


I am running shorewall for routing/firewall on my home network. I also have a dhcp server set up for this too. I have an internal LAN with IP subnet of 10.10.10.0/255 and a DMz with an IP subnet of 10.10.11.0/255. I have the internal LAN on eth1 connected to a cisco 2912XL Router. I have the DMz on eth2 connected to an officeconcect 10/100 Hub.
What I want is when a request is sent for an IP address on the internal lan, one to be assigned in the 10.10.10.0 range and when one is requested on the DMz one assigned in the 10.10.11.0 range is assigned.
What I tried to do was edit my /etc/dhcpd.conf like this:
DHCPARGS=eth1;
ddns-update-style ad-hoc;
default-lease-time 7000;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.10 10.10.10.100;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.10.255;
option routers 10.10.10.254;
option domain-name-servers 10.10.10.254;
option domain-name "computerxpress.d2g.com";
}
DHCPARGS=eth2;
ddns-update-style ad-hoc;
subnet 10.10.11.0 netmask 10.10.11.255 {
range 10.10.11.1 10.10.11.10;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.11.255;
option routers 10.10.11.254;
}

Anyone have any ideas why this isn't working or what I need to change to make this work? Thanks.

Bryan H
 
Old 07-11-2003, 10:16 AM   #2
NVETHIS
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
the 10.10.11.255 netmask is a type-o. It is set to 255.255.255.0 as it should be. Is there anything wrong with how I have this set up? Thanks.

Bryan H
NVETHIS Networks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My LAN can't "see" my DMZ server to chk my Apache website piratebiter Linux - Networking 3 05-08-2005 05:19 PM
Enforcing DHCP Server Usage on a LAN win32sux Linux - Networking 7 12-17-2004 04:24 AM
Contacting INTERNAL LAN server via domain name/full IP? STATIC ROUTES? Please Help!! Bungo2000 Linux - Networking 8 06-27-2003 10:27 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM
DHCP server on two LAN cards V.krishna kumar Linux - Networking 3 10-24-2002 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration