hmm.. interesting. it's possible that your udp packets are getting dropped because your 10.0.0.x and 192.168.1.x networks have different subnet masks. how about this:
on your linux box, - turn off dhcpd - set up your box to automatically configure it's ethernet device via dhcp ("auto eth0" and "iface eth0 inet dhcp" in /etc/network/interfaces) # /etc/init.d/networking restart and see if your linux box sees this dhcp server as well. also, do you have some kind of fancy d-link or linksys router? sometimes they run dhcp daemons as well. hth sean On Tue, Dec 17, 2002 at 11:37:42AM -0600, Charles Lewis wrote: > 'nmap -sU -p 67 192.168.1.*' produces the following results. > > Starting nmap V. 3.10ALPHA4 ( www.insecure.org/nmap/ ) > Nmap run completed -- 256 IP addresses (0 hosts up) scanned in 46.453 > seconds > > 'nmap -sU -p 67 10.0.0.*' produces the following results: > > Starting nmap V. 3.10ALPHA4 ( www.insecure.org/nmap/ ) > Interesting ports on lewisc (10.0.0.1): > Port State Service > 67/udp open dhcpserver > > The 1 scanned port on lewisc2 (10.0.0.2) is: closed > > Nmap run completed -- 256 IP addresses (2 hosts up) scanned in 36.155 > seconds > > This is somewhat expected. 10.0.0.1 is the proper dhcp server. 10.0.0.2 > is the Win2000 client machine (apparently it is successfully getting its > lease). What is NOT showing up is the printer (10.0.0.5) and the Win98 > machine (10.0.0.4) > > Apparently they are on the 192.168.1.* subnet, but why did a scan of > that subnet not produce anything? > > chas > > p.s. I just had my wife reboot the Win98 machine (I'm working remotely > using the dynamic IP that my ISP provides), and it apparently got the > correct lease. I've also had her reset the externel jet direct print > server using several methods, but without success. It still is getting > from 192.168.1.101 from a dhcp server at 192.168.1.1?! > > sean finney wrote: > > >hey charles, are you sure another machine isn't running a dhcpd? i > >sure don't see 192 addresses in your config... try installing nmap > >and then doing > > > ># nmap -sU -p 67 host > > > >for all the suspect hosts. > > > >hth > > sean > > > >On Mon, Dec 16, 2002 at 11:53:00PM -0600, Charles Lewis wrote: > > > > > >>I have dhcp set up on my linux box to serve a Win2000 box, a Win98 box, > >>a WinXP box, and networked HP LJ1200. It works fine, until I try to > >>upgrade the kernel from 2.4.18 to 2.4.20 (from an earlier thread). The > >>machine locks up after a few minutes, so I go back to 2.4.18, and all my > >> machines are getting 198.168.1.x numbers when my dhcp server is > >>supposed to be providing 10.0.0.x numbers. It's very frustrating to > >>everyone in the house because suddenly none of them can use the > >>internet, print, or save files to their samba shares. Now I am not a > >>network guru, so maybe someone can help me spot some problems in my setup. > >> > >>Here is my dhcpd.conf: > >> > >>#option domain-name ""; > >>#option domain-name-servers 205.165.192.254,205.165.193.254; > >> > >>server-identifier lewisc; > >>authoritative; > >>option subnet-mask 255.255.255.0; > >>default-lease-time 600; > >>max-lease-time 7200; > >>subnet 10.0.0.0 netmask 255.255.255.0 { > >> range 10.0.0.6 10.0.0.254; > >> option broadcast-address 10.0.0.255; > >> option routers 10.0.0.1; > >> option netbios-name-servers 10.0.0.1; > >>} > >> > >>host lewisc2 { > >> hardware ethernet 00:01:03:E7:48:1F; > >> fixed-address 10.0.0.2; > >>} > >> > >>host lewisc3 { > >> hardware ethernet 00:00:39:F0:9A:C5; > >> fixed-address 10.0.0.3; > >>} > >> > >>host caleb { > >> hardware ethernet 00:A0:CC:D2:A0:73; > >> fixed-address 10.0.0.4; > >>} > >> > >>host officelj { > >> hardware ethernet 00:01:E6:48:69:A2; > >> fixed-address 10.0.0.5; > >>} > >> > >>When I run dhcpd in debug mode, I get: > >> > >>Listening on LPF/eth0/00:01:03:dd:22:e0/10.0.0.0 > >>Sending on LPF/eth0/00:01:03:dd:22:e0/10.0.0.0 > >>Sending on Socket/fallback/fallback-net > >> > >>And it just sits there with no feedback. > >> > >>When I do a tcpdump -i eth0, I get the following junk: > >>23:46:04.324753 192.168.1.102.netbios-dgm > 192.168.1.255.netbios-dgm: > >>NBT UDP PACKET(138) > >>23:46:33.933645 192.168.1.1.bootps > 255.255.255.255.bootpc: > >>xid:0xbee8b113 C:192.168.1.101 Y:192.168.1.101 ether 0:1:e6:48:69:a2 > >>file ""[|bootp] > >>23:46:36.287786 arp who-has 192.168.1.1 tell 192.168.1.102 > >>23:46:36.289146 192.168.1.1.bootps > 255.255.255.255.bootpc: > >>xid:0xf220e34f C:192.168.1.102 Y:192.168.1.102 ether 0:a0:cc:d2:a0:73 > >>file ""[|bootp] > >>23:49:04.314952 192.168.1.1.bootps > 255.255.255.255.bootpc: > >>xid:0x28e8b113 C:192.168.1.101 Y:192.168.1.101 ether 0:1:e6:48:69:a2 > >>file ""[|bootp] > >>23:49:06.268378 arp who-has 192.168.1.1 tell 192.168.1.102 > >>23:49:06.269729 192.168.1.1.bootps > 255.255.255.255.bootpc: > >>xid:0xdd3f9a45 C:192.168.1.102 Y:192.168.1.102 ether 0:a0:cc:d2:a0:73 > >>file ""[|bootp] > >> > >>The last time this happened, it eventually started working, but I think > >>it may have been because the lease ran out on all the machines. *shrug* > >>I don't know but I'm ready to pull what little hair I have left out. Any > >>ideas would be GREATLY appreciated. > >> > >>Charles Lewis > >> > >> > >> > >>-- > >>To UNSUBSCRIBE, email to [EMAIL PROTECTED] > >>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >> > >> > > > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
msg19780/pgp00000.pgp
Description: PGP signature