[CentOS] DHCP problem with virtual interfaces

2010-08-11 Thread Simone Caldana
000:  4510 015e   1011 2d84 0ac0 3215  E..^..-...2.
0x0010:  0ac0 3467 0043 0044 014a a1f7 0201 0600  ..4g.C.D.J..
0x0020:  043e 3322     0ac0 3467  .>3"..4g
0x0030:      0050 5600 3700   .PV.7...
0x0040:           
0x0050:   ..
16:39:52.902950 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request 
from 00:50:56:00:37:00, length: 300
0x:  4510 0148   1011 a996    E..H
0x0010:    0044 0043 0134 f9b0 0101 0600  .D.C.4..
0x0020:  043e 3322        .>3"
0x0030:      0050 5600 3700   .PV.7...
0x0040:           
0x0050:   ..
16:39:52.903093 IP 10.192.50.21.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, 
Reply, length: 300
0x:  4510 0148   1011 6cc1 0ac0 3215  E..H..l...2.
0x0010:    0043 0044 0134 8114 0201 0600  .C.D.4..
0x0020:  043e 3322  8000      .>3"
    0x0030:  0ac0 3215   0050 5600 3700   ..2..PV.7...
0x0040:           
0x0050:   ..
-- 
Simone Caldana
Senior Consultant
Critical Path
via Cuniberti 58, 10100 Torino, Italia
+39 011 4513811 (Direct)
+39 011 4513825 (Fax)
simone.cald...@criticalpath.net
http://www.cp.net/

Critical Path
A global leader in digital communications


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP problem with virtual interfaces

2010-08-11 Thread Simone Caldana
John, 
thanks for the feedback. 

Il giorno 11/ago/2010, alle ore 19.46, JohnS ha scritto:
> That was my solution to use static IPs. on the Linux Machines only.  You
> do not see this under Windows.

this reinforces my idea this is a dhclient bug rather than dhcpd's.

>> Attached a txt with the tcpdump of the above log extraction.
> 
> That dump is not long enough to tell anything funny going on.

I know. I reported it to pair it with the the above messages log. It doesn't 
seem to me these packets contain the dhcp-client-identifier..

I am collecting port 67 traffic on the dhcp server since this afternoon. I hope 
to be able to find out more.

-- 
Simone Caldana
Senior Consultant
Critical Path
via Cuniberti 58, 10100 Torino, Italia
+39 011 4513811 (Direct)
+39 011 4513825 (Fax)
simone.cald...@criticalpath.net
http://www.cp.net/

Critical Path
A global leader in digital communications


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP problem with virtual interfaces

2010-08-12 Thread Simone Caldana
Il giorno 11/ago/2010, alle ore 20.31, Simone Caldana ha scritto:
> 
> I am collecting port 67 traffic on the dhcp server since this afternoon. I 
> hope to be able to find out more.

further testing revealed that dhclient really asks for the wrong ip (but always 
sends the client-identifier), and this is due to the poisoned leases file. I am 
now using /dev/null as leases file for all the virtual dhclients, but I wonder 
if this disables the entire "keep the old lease" system (which I don't really 
need) or it simply stays only in memory, which won't really solve the problem.


-- 
Simone Caldana
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP problem with virtual interfaces

2010-08-13 Thread Simone Caldana
Il giorno 12/ago/2010, alle ore 10.51, Simone Caldana ha scritto:

> Il giorno 11/ago/2010, alle ore 20.31, Simone Caldana ha scritto:
>> 
>> I am collecting port 67 traffic on the dhcp server since this afternoon. I 
>> hope to be able to find out more.
> 
> further testing revealed that dhclient really asks for the wrong ip (but 
> always sends the client-identifier), and this is due to the poisoned leases 
> file. I am now using /dev/null as leases file for all the virtual dhclients, 
> but I wonder if this disables the entire "keep the old lease" system (which I 
> don't really need) or it simply stays only in memory, which won't really 
> solve the problem.

bug has been filed, patch has been proposed:
https://bugzilla.redhat.com/show_bug.cgi?id=623953

Jeremiah Jinno discovered the problem and proposed a patch upstream to ISC:

https://lists.isc.org/mailman/htdig/dhcp-users/2010-June/011521.html

-- 
Simone Caldana

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos