struggling with dhcp3-server
t scytale
scytale at gmail.com
Mon Apr 18 01:31:52 UTC 2005
On 4/17/05, Matt Price <matt.price at utoronto.ca> wrote:
> 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!
you didn't describe your lan setup. judging from you post i'd say you
have only 1 subnet and have mistakenly used values from a different
subnet for some of your options.
if this is the case then making the changes noted below may help
>
> 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;
# your broadcast address needs to be in the same subnet as the
assigned ip address
option broadcast-address 192.168.2.255;
> option routers 192.168.1.254;
# this should probably be the same as the gateway on the dhcpd server
("routers" in dhcpd.conf == default gateway in interfaces file)
# and again, it needs to be on the same subnet
option routers 192.168.2.1;
> 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;
> }
t
>
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list