-
August 20th, 2005 03:05 AM
#1
Help setting up DHCP
Ok, I'm gonna try and explain this the best I can cause my set-up is a little harry. Don't ask we why I'm doing this, I'm just trying to learn!
Here's my setup... The DHCP server is the '***'
Internet
|
|
|
D-Link Rounter (192.168.0.1) ------ Downstairs XP Box (192.168.0.100)
|
|
Switch ------- Upstairs XP Box (192.168.0.101)
|
|
***Upstairs Ubuntu Linux Box (192.168.0.102) 3 NICS
|
L eth2 (connected to switch)
|
L eth1 (does nothing so far)
|
L eth0 ------ Windows XP Laptop
In this figure, I want to get the Windows Laptop to resolve an address from the DHCP Ubuntu Server. What I have done is installed dhcp3 (apt-get install dhcp3...) and then tried to do things the way they did on http://ubuntuguide.org/#installdhcpserver
, I used eth0 for the interface that will serve requests like they did, when it came to the second part of the dhcp.conf I commented everything like they did. However, on the second part I changed things to fit my situation, so it looks like this...
Code:
# A slightly different configuration for an internal subnet.
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.10 10.0.0.100;
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
#........
#........
then, I finally type 'sudo /etc/init.d/dhcp3-server restart' and get this...
Code:
Stopping DHCP Server: dhcpd3.
Starting DHCP Server: dhcpd3 failed to start - check syslog for diagnostics.
I have both eth0 and eth2 active on my Network Settings and am able to connect to the internet from the Linux Box, however (needless to say) my Windows XP Laptop behind my DHCP Server can't get an IP address
I appreciate any help greatly, I hope to get this running so I can get to the next phase of my little project!
The real question is not whether peace can be obtained, but whether or not mankind is mature enough for it...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks