I've recently upgraded our Snapgear version to 3.4.0 (linux 2.6.19) but now I have a problem with DHCP.

Neither dnsmasq or dhcpd (ISC) responds to incoming DHCP requests! When I do a tcpdump I can see the incoming packets, but no responding ones.

I've checked the iptables rules, but they are identical to before the upgrade, so I doubt that's it.

The machine works fine otherwise, I can talk in both directions on all interfaces (http, telnet and such, haven't tried the DHCP port though).

tcpdump commands:
tcpdump -i eth0 -w /var/tcpdump -s 1000 &  (to capture)
tcpdump -len port bootps or port bootpc -r tcpdump  (to read)

tcpdump before upgrade:
01:00:19.421385 00:16:a6:00:0c:0e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:a6:00:0c:0e, length: 548 01:00:22.171409 00:02:b3:01:01:01 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 192.168.254.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length: 300 01:00:22.393456 00:16:a6:00:0c:0e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:a6:00:0c:0e, length: 548 01:00:22.395696 00:02:b3:01:01:01 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 192.168.254.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length: 300

tcpdump after upgrade:
01:00:24.475592 00:16:a6:00:0c:0e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:a6:00:0c:0e, length: 548 01:00:27.447274 00:16:a6:00:0c:0e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:a6:00:0c:0e, length: 548 01:00:31.409525 00:16:a6:00:0c:0e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:16:a6:00:0c:0e, length: 548

and so on forever, requests coming in, but no replies going out.

The dnsmasq/dhcpd is running, it's in the "ps" list and I can't start another ("Address already in use")
.


Any ideas?


/Jocke

This email was Anti Virus checked by Astaro Security Gateway.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to