Hi everybody

Kiril suspected the ISP not to give a lease, unfortunately it does not seem 
to be that easy.
My setup is a laptop with 2 pcmcia cards, one a Xircom card, the other a 
D-Link de-660+.
I use dhclient from the dhclient.lrp package.
It works correctly with a lease obtained from my internal dhcp server.
A test with another bering box (Desktop, no pcmcia) shows a correct dhcp 
exchange with the ISP.

I changed the iptables policy to ACCEPT to no avail.
I swapped the pcmcia cards to see if the error changes, no difference.
The thing that puzzles me is the syslog recording of wrong packet size. Is 
this a driver problem?
Some googling showed that this frequently happens with dhclient 2.x and 
certain etwork cards.
Pump shows apparently the same problem.

here is my setup

ip addr show

# ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
     link/ether 00:80:c7:62:2a:8e brd ff:ff:ff:ff:ff:ff
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
     link/ether 00:50:ba:8d:18:3d brd ff:ff:ff:ff:ff:ff
     inet 194.124.158.99/24 brd 194.124.158.255 scope global eth1

a tcpdump recorded at the net side

tcpdump

15:55:46.850719 0:80:c7:62:2a:8e Broadcast ip 342: 0.0.0.0.bootpc > 
255.255.255.255.bootps:
xid:0xee767b4b [|bootp] [tos 0x10]
15:55:51.849784 0:80:c7:62:2a:8e Broadcast ip 342: 0.0.0.0.bootpc > 
255.255.255.255.bootps:
xid:0xee767b4b secs:8 [|bootp] [tos 0x10]
15:55:52.422460 0:30:19:3b:65:54 Broadcast ip 360: 10.208.128.1.bootps > 
255.255.255.255.bootpc:
xid:0x2b03df63 Y:217.162.141.156 G:217.162.140.1 ether 0:e0:98:9c:da:37 
[|bootp]
15:56:04.419736 0:80:c7:62:2a:8e Broadcast ip 342: 0.0.0.0.bootpc > 
255.255.255.255.bootps:
xid:0xee767b4b secs:21 [|bootp] [tos 0x10]
15:56:06.654650 0:30:19:3b:65:54 Broadcast ip 357: 10.208.128.1.bootps > 
255.255.255.255.bootpc:
xid:0xae1f115 Y:217.162.140.168 G:217.162.140.1 ether 0:10:db:7:e2:61 [|bootp]
15:56:08.417986 0:30:19:3b:65:54 Broadcast ip 360: 10.208.128.1.bootps > 
255.255.255.255.bootpc:
xid:0x2b03df63 Y:217.162.141.156 G:217.162.140.1 ether 0:e0:98:9c:da:37 
[|bootp]
15:56:17.426611 0:30:19:3b:65:54 Broadcast ip 357: 10.208.128.1.bootps > 
255.255.255.255.bootpc:
xid:0xd75aba9 Y:217.162.141.215 G:217.162.140.1 ether 0:10:db:14:51:b1 [|bootp]

and here is the syslog output

Sep  1 15:55:43 firewall dhclient: Internet Software Consortium DHCP Client 
2.0pl5
Sep  1 15:55:43 firewall dhclient: Copyright 1995, 1996, 1997, 1998, 1999 
The Internet Software Con
Sep  1 15:55:43 firewall dhclient: All rights reserved.
Sep  1 15:55:43 firewall dhclient:
Sep  1 15:55:43 firewall dhclient: Please contribute if you find this 
software useful.
Sep  1 15:55:43 firewall dhclient: For info, please visit 
http://www.isc.org/dhcp-contrib.html
Sep  1 15:55:43 firewall dhclient:
Sep  1 15:55:45 firewall root: Shorewall Stopped
Sep  1 15:55:46 firewall dhclient: Listening on LPF/eth0/00:80:c7:62:2a:8e
Sep  1 15:55:46 firewall dhclient: Sending on   LPF/eth0/00:80:c7:62:2a:8e
Sep  1 15:55:46 firewall dhclient: Sending on   Socket/fallback/fallback-net
Sep  1 15:55:46 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 5
Sep  1 15:55:51 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 13
Sep  1 15:55:52 firewall dhclient: ip length 346 disagrees with bytes 
received 350.
Sep  1 15:55:52 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:04 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 20
Sep  1 15:56:06 firewall dhclient: ip length 343 disagrees with bytes 
received 347.
Sep  1 15:56:06 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:08 firewall dhclient: ip length 346 disagrees with bytes 
received 350.
Sep  1 15:56:08 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:17 firewall dhclient: ip length 343 disagrees with bytes 
received 347.
Sep  1 15:56:17 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:24 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 14
Sep  1 15:56:26 firewall dhclient: ip length 346 disagrees with bytes 
received 350.
Sep  1 15:56:26 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:26 firewall dhclient: ip length 346 disagrees with bytes 
received 350.
Sep  1 15:56:26 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:29 firewall dhclient: ip length 416 disagrees with bytes 
received 420.
Sep  1 15:56:29 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:29 firewall dhclient: ip length 416 disagrees with bytes 
received 420.
Sep  1 15:56:29 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:38 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 6
Sep  1 15:56:41 firewall dhclient: ip length 346 disagrees with bytes 
received 350.
Sep  1 15:56:41 firewall dhclient: accepting packet with data after udp 
payload.
Sep  1 15:56:44 firewall dhclient: No DHCPOFFERS received.
Sep  1 15:56:44 firewall dhclient: No working leases in persistent database 
- sleeping.

Thanks for hints.

Erich

THINK
P�ntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to