DHCP: comportamento diverso windows/Linux client!!!!
Inviato: dom 29 ago , 2010 3:36 pm
Ciao,
sono un dilettante allo saraglio con i CISCO. Ho preso un 877 per imparare qualcosa su questi oggetti.
ho configurato un dhcp su mac (alcune macchine hanno il loro indirizzo in base al mac address) ma lo stesso portatile (chiamato europa) che ha a bordo sia vista che debian ha un comportamento diverso a seconda del sistema operativo.
Ho configurato
ip dhcp pool europa
host 10.10.10.5 255.255.248.0
hardware-address 1b.24b4.ba12
client-name europa
client-identifier europa
e su linux tutto funziona regolarmente (allego etratto di debug ip dhcp
server packet)
*Mar 2 12:33:19.735: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet2, changed state to up
*Mar 2 12:33:52.575: DHCPD: DHCPDISCOVER received from client
001b.24b4.ba12 on interface Vlan1.
*Mar 2 12:33:52.575: DHCPD: Sending DHCPOFFER to client 001b.24b4.ba12
(10.10.10.5).
*Mar 2 12:33:52.575: DHCPD: creating ARP entry (10.10.10.5,
001b.24b4.ba12).
*Mar 2 12:33:52.575: DHCPD: unicasting BOOTREPLY to client
001b.24b4.ba12 (10.10.10.5).
*Mar 2 12:33:52.579: DHCPD: DHCPREQUEST received from client
001b.24b4.ba12.
*Mar 2 12:33:52.579: DHCPD: Can't find any hostname to update
*Mar 2 12:33:52.579: DHCPD: Sending DHCPACK to client 001b.24b4.ba12
(10.10.10.5).
*Mar 2 12:33:52.579: DHCPD: creating ARP entry (10.10.10.5,
001b.24b4.ba12).
*Mar 2 12:33:52.579: DHCPD: unicasting BOOTREPLY to client
001b.24b4.ba12 (10.10.10.5).
mentre su windows no (allego etratto di debug ip dhcp server packet)
*Mar 2 12:36:29.227: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet2, changed state to up
*Mar 2 12:37:20.531: DHCPD: DHCPREQUEST received from client
0100.1b24.b4bf.c6.
*Mar 2 12:37:20.531: DHCPD: Appending system default domain
*Mar 2 12:37:20.531: DHCPD: Using hostname 'europa.yourdomain.com.' for
dynamic update (from FQDN option)
*Mar 2 12:37:20.531: DHCPD: Sending DHCPACK to client 0100.1b24.b4bf.c6
(10.10.10.2).
*Mar 2 12:37:20.531: DHCPD: Including FQDN option name
'europa.yourdomain.com.' rcode1=0, rcode2=0 flags=0x0
*Mar 2 12:37:20.531: DHCPD: broadcasting BOOTREPLY to client
001b.24b4.ba12.
Non so se ho dimenticato qualche istruzione oppure ho trovato un bug
(dubito, questio IOS penso sia ben testato per queste cose...)
Grazie
Marco
sono un dilettante allo saraglio con i CISCO. Ho preso un 877 per imparare qualcosa su questi oggetti.
ho configurato un dhcp su mac (alcune macchine hanno il loro indirizzo in base al mac address) ma lo stesso portatile (chiamato europa) che ha a bordo sia vista che debian ha un comportamento diverso a seconda del sistema operativo.
Ho configurato
ip dhcp pool europa
host 10.10.10.5 255.255.248.0
hardware-address 1b.24b4.ba12
client-name europa
client-identifier europa
e su linux tutto funziona regolarmente (allego etratto di debug ip dhcp
server packet)
*Mar 2 12:33:19.735: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet2, changed state to up
*Mar 2 12:33:52.575: DHCPD: DHCPDISCOVER received from client
001b.24b4.ba12 on interface Vlan1.
*Mar 2 12:33:52.575: DHCPD: Sending DHCPOFFER to client 001b.24b4.ba12
(10.10.10.5).
*Mar 2 12:33:52.575: DHCPD: creating ARP entry (10.10.10.5,
001b.24b4.ba12).
*Mar 2 12:33:52.575: DHCPD: unicasting BOOTREPLY to client
001b.24b4.ba12 (10.10.10.5).
*Mar 2 12:33:52.579: DHCPD: DHCPREQUEST received from client
001b.24b4.ba12.
*Mar 2 12:33:52.579: DHCPD: Can't find any hostname to update
*Mar 2 12:33:52.579: DHCPD: Sending DHCPACK to client 001b.24b4.ba12
(10.10.10.5).
*Mar 2 12:33:52.579: DHCPD: creating ARP entry (10.10.10.5,
001b.24b4.ba12).
*Mar 2 12:33:52.579: DHCPD: unicasting BOOTREPLY to client
001b.24b4.ba12 (10.10.10.5).
mentre su windows no (allego etratto di debug ip dhcp server packet)
*Mar 2 12:36:29.227: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet2, changed state to up
*Mar 2 12:37:20.531: DHCPD: DHCPREQUEST received from client
0100.1b24.b4bf.c6.
*Mar 2 12:37:20.531: DHCPD: Appending system default domain
*Mar 2 12:37:20.531: DHCPD: Using hostname 'europa.yourdomain.com.' for
dynamic update (from FQDN option)
*Mar 2 12:37:20.531: DHCPD: Sending DHCPACK to client 0100.1b24.b4bf.c6
(10.10.10.2).
*Mar 2 12:37:20.531: DHCPD: Including FQDN option name
'europa.yourdomain.com.' rcode1=0, rcode2=0 flags=0x0
*Mar 2 12:37:20.531: DHCPD: broadcasting BOOTREPLY to client
001b.24b4.ba12.
Non so se ho dimenticato qualche istruzione oppure ho trovato un bug
(dubito, questio IOS penso sia ben testato per queste cose...)
Grazie
Marco