struggling with dhcp3-server

Matt Price matt.price at utoronto.ca
Sun Apr 17 04:09:23 UTC 2005


hey ubuntu,

I'm having a terrible time getting dhcp3-server to work.  

Hoary is installed on the server, which has only one funcitoning
ethernet device, eth0.  Tha'ts fine for now because internet is down
anyway -- all I've got is LAN!  

In /etc/network/interfaces I put this:
iface eth0 inet static
      address 192.168.2.30
#      address 192.168.1.0 (have tried various with no succcess; if I
			   use this particular address eth0 won't even
			   come up)
      netmask 255.255.255.0
      broadcast 192.168.2.255
      gateway 192.168.2.1

in /etc/dhcp3/dhcpd.conf I put this: 
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.2.1;
option domain-name "mydomain.org";

subnet 192.168.2.0 netmask 255.255.255.0 {
   range 192.168.2.10 192.168.2.100;
   range 192.168.2.150 192.168.2.200;
      }

In neither case do I really truly know what I am doing.  After much
trouble dhcp now starts, but when I try to connect using my laptop
(routed through a hub that I know works well) the connection is not
made successfully.  

is there a failsafe configuration I could try that would help mew ith
troubleshooting?

thanks much,

matt

-------------------------------------------
Matt Price	    matt.price at utoronto.ca
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
zeus at derailleur.org aardvark at derailleur.org




More information about the ubuntu-users mailing list