DHCP option 121 is working partially. But it working fine for XP and Mac OS X
Hello I've setup pptp server on cisco router today. The remote client IP addresses are assigned on this cisco router by DHCP. Also I set up option 249 and 121 to provide classless routing for my VPN clients. Option 249 and 121 used for two routes: 10.0.0.0/8 and 192.168.0.0/16. I've tested this configuration on my Windows XP and Mac OS X Snow Leopard. All working just fine. But my Windows 7 computer gets only the first address from the option 121 and ignores the next one. Why? How I can fix it or trace/debug it? Configuration of dhcp pool is: ip dhcp pool pptp-users network 10.255.241.0 255.255.255.0 default-router 10.255.241.1 dns-server 10.255.249.40 netbios-name-server 10.255.249.40 option 249 hex 080a.0aff.f101.10c0.a80a.fff1.01 option 121 hex 080a.0aff.f101.10c0.a80a.fff1.01
January 25th, 2011 12:56am

Hi, Based on my understanding, Windows 7 DHCP Client can accept Classless Static Routes in two options either in 121 or 249. If both the options are present in the packet, Option 121 will take precedence. Hope it helps. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 1st, 2011 5:08am

Alex, I know that. I'm just asking Why option 121 isn't working correctly on Windows 7?
February 1st, 2011 5:53pm

Today I ran Microsoft Network Monitor on XP and 7. So I found that Windows XP sends DHCP INFORM message with full network hardware address (HardwareAddressLength==6). But Windows 7 sends DHCP INFORM message without network hardware address (HardwareAddressLength==0). Cisco doesn't like such request and Cisco doesn't send back DHCP ACK messages with proper options (Output from Cisco: DHCPD: illegal hardware address; dropping DHCP message).
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2011 5:35pm

Hello I've setup pptp server on cisco router today. The remote client IP addresses are assigned on this cisco router by DHCP. Also I set up option 249 and 121 to provide classless routing for my VPN clients. Option 249 and 121 used for two routes: 10.0.0.0/8 and 192.168.0.0/16. I've tested this configuration on my Windows XP and Mac OS X Snow Leopard. All working just fine. But my Windows 7 computer gets only the first address from the option 121 and ignores the next one. Why? How I can fix it or trace/debug it? Configuration of dhcp pool is: ip dhcp pool pptp-users network 10.255.241.0 255.255.255.0 default-router 10.255.241.1 dns-server 10.255.249.40 netbios-name-server 10.255.249.40 option 249 hex 080a.0aff.f101.10c0.a80a.fff1.01 option 121 hex 080a.0aff.f101.10c0.a80a.fff1.01 There is sparse information about this on the internet, but I've found that when I enter in the hex values with periods every 4 number (as you have in your example), I sometimes get the same behavior you indicate - the first route works, and the rest do not. Change your routes to option 249 hex 08 0a 0a ff f1 01 10 c0 a8 0a ff f1 01 - with a space in between each decimal value, instead of a period every two, and it might fix your issue. The router will convert it, but for some reason it works for me.
May 2nd, 2012 6:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics