![](https://seccdn.libravatar.org/avatar/efdb230b05388ec2db03ff6264aa4443.jpg?s=120&d=mm&r=g)
Folks, I'm having a dhcp server problem, and I hope you can point in the direction of a solution, or where I can go to find one. My problem is that I cannot get an IP address from my server for any of the laptop or PC devices that I have. I have a small LAN that sits behind a Linksys router/switch that serves as a firewall and NAT router. I have a server running SUSE Pro 9.3 with three NICs. One NIC allows the server to face the Internet through the Linksys. The other two NICs run subnets off this server, and their devices must access the Net through this server. My dhcpd.conf file is added below, as a quotation. On one subnet, I have a Win2k PC, and on the other subnet, I have a laptop that is dual bootable under SUSE Pro 9.3 and WinXP. What happens is the following. When I hard wire IP addresses to these devices, with the IP addresses coming from within each interface's network (that is, the laptop on the .3.0 subnet gets hardwired to .3.2; each hard wired address, though, is excluded from each subnet's scope to avoid conflicts), then the devices get access to the Internet (although they do not get name resolution for LAN devices--I cannot ping the server, for instance, by name from the PC or the laptop. I know I have a DNS server problem, too, but unless these turn out to be related issues, I'd prefer to focus on the dhcp problem for now). With this setup, I can ping by IP address each of the three NICs from each device, but I cannot ping any device on the other subnet (i.e., my PC cannot ping my laptop), and neither can my server ping any subnet device. However, when I allow dynamic address assignment, no device (including the laptop as SUSE or as WinXP) can get an address--"dhcp server unavailable." When my wife boots up her laptop, which is not part of this LAN, but sits outside of it (i.e., cabled directly to the Linksys), with my dhcp server running on my SUSE server, she gets an IP address that is from the scope of my dhcp server (which is separate from the scope of the Linksys, which otherwise assigns addresses). However, when she has my server's assigned address, she has no Internet access. I believe that the only way she can get an address from my server is by coming in from the outside through the Linksys. I appreciate any help I can get. Eric Hines
# Test Accounting Inc default-lease-time 86400; max-lease-time 172800; default-lease-time 86400;
option ntp-servers 192.168.2.2; option domain-name "test.biz"; option domain-name-servers 192.168.1.2, 192.168.2.2, 192.168.3.1; option netbios-name-servers 192.168.1.2, 192.168.2.2, 192.168.3.1; ### NOTE ### # netbios-node-type=8 means set clients to Hybrid Mode # so they will use Unicast communications with the WINS # server and thus reduce the level of UDP broadcast # traffic by up to 90%. ############ option netbios-node-type 8; # Enable Dynamic DNS ddns-updates on; ddns-update-style interim;
subnet 192.168.3.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.3.3 192.168.3.9; option subnet-mask 255.255.255.0; option routers 192.168.3.1; allow unknown-clients; }
subnet 192.168.2.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.2.2 192.168.2.9; option subnet-mask 255.255.255.0; option routers 192.168.2.2; allow unknown-clients; }
subnet 127.0.0.0 netmask 255.0.0.0 { }
subnet 192.168.1.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.1.3 192.168.1.9; host ML1450 { hardware ethernet 00:C0:02:D6:C4:64; fixed-address 192.168.1.10; } }
There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. --Bertrand Russell
participants (1)
-
Eric Hines