Click to See Complete Forum and Search --> : it failed!!


gundamfool
01-05-2001, 11:21 PM
After I finish following directions for home networking I typed tail -f /var/log/messages to see my windows 2000 computer ask for the ip from my dhcp server (eth1), from the windows box. It says:
===========================================
aznfoolz dhcpd: if IN A doesn't exist add 43200 IN A 192.168.1.60: resolver failed
aznfoolz dhcpd: DHCPREQUEST for 192.168.1.60 from 00:50:da:c5:5d:db (aznfoolz) via eth1
aznfoolz dhcpd: options.c(735): negative refcnt!
aznfoolz dhcpd: DHCPACK on 192.168.1.60 to 00:50:da:c5:5d:db (aznfoolz) via eth1
aznfoolz CROND[1350]: (root) CMD ( /sbin/rmmod -as)
===========================================

Could this problem be relating to the windows and the linux card (eth0) having same hardware address? I had to set the linux one to have same hardware address so I can get on the internet, mediaone was picky. Second is I set both computers to have same hostname (aznfoolz), Should I change the windows box to have a different one? Also one more thing is there a command to run in windows 2000 to change the hardware address of the ethernet card...Thanks

gundamfool
01-05-2001, 11:50 PM
The netmask for my eth0 is 255.255.248.0, thought I mentioned this cause when I was looking at examples on the internet they had 255.255.255.0 instead, maybe this has an effect?

Strike
01-06-2001, 02:09 AM
Any netmask that is as restrictive or more restrictive than 255.255.0.0 is fine for the 192.168.x.x private subnet.

So, what exactly is your setup? You have a Linux box connecting to your ISP's DHCP server on eth0, and hosting a DHCP server which listens on eth1, is that right?

Well, here's what I would put in your /etc/dhcpd.conf:


option domain-name "mediaone.net"; # If this is correct... otherwise change it
option domain-name-servers <put MediaOne's DNS servers here, separated by commas and ending with a semicolon>

#example:
#option domain-name-servers 24.28.99.64,
# 24.28.99.65;

option routers 192.168.0.1;

default-lease-time 86400;
max-lease-time 172800;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.254;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
}


Of course, this assumes eth1 is 192.168.0.1, but that's what I would recommend, as it allows the nice big contiguous block of IPs from 192.168.0.2 to 192.168.0.254 to be assignable.

And you really shouldn't use two hosts with the same name on a network, but I don't know if that would cause problems or not.

hndpaul
01-07-2001, 07:31 AM
Yep- you can't use two hosts with the same name on the same network as this *may* cause problems, and also if you are using a ClassC network address, then you need the mask:

255.255.255.0

ClassC addresses start at 192. ClassB addresses start at 128 and go to 191. 127 is unusable as this is the set loopback address (127.0.0.1).

Also, you ask about changing a hardware address in Win2K: it can be done, but only if your NIC supports the changing of its MAC address, which they normally don't since these are hardcoded onto the NIc by the manufacturer.

As an aside, you put the netmask for your eth0 as 255.255.248.0. If you want to use this convention, you will be subnetting an ClassB address using 5 bits of subnetting, allowing 2(5)-2=30 subnets and a lot of hosts; in this case, you normally would not use the 192.x.x.x range, since this is a ClassC address. ClassB addresses are commonly used from 128-191 address ranges.

If you want to use Class C, use the netmask 255.255.255.0.

Anyway, enough of my ranting :-) Hope this helps a little!

Paul, UK

gundamfool
01-07-2001, 08:26 AM
255.255.248.0 i got that from dhcp from mediaone...well i quitted on the dhcp thing and just assigned an ip manually to my win box and it works!! =) Thanks for the help