Eu configurei o servidor pptp no roteador cisco hoje. Os endereços IP do cliente remoto são atribuídos neste roteador Cisco pelo DHCP. Também configurei as opções 249 e 121 para fornecer roteamento classless para meus clientes VPN.
Opção 249 e 121 usada para duas rotas: 10.0.0.0/8 e 192.168.0.0/16.
Eu testei essa configuração no meu Windows XP e no Mac OS X Snow Leopard. Tudo funcionando muito bem.
Mas meu computador com Windows 7 obtém apenas o primeiro endereço da opção 121 e ignora o próximo. Por quê?
Como posso consertar ou rastrear / depurar?
A configuração do pool dhcp é:
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
Se eu mudar de rota na opção, tudo funciona da mesma maneira. O Windows XP e o MacOS X funcionam. O Windows 7 acaba de obter a segunda rota 10.0.0.0/8
Tabela de roteamento antes da conexão pptp
===========================================================================
Interface List
14...00 ff 52 b7 58 e0 ......TAP-Win32 Adapter V9
13...90 4c e5 e0 f9 a6 ......11b/g/n Wireless LAN Mini-PCI Express Adapter II
11...00 26 2d f1 3d cd ......Intel(R) 82577LM Gigabit Network Connection
1...........................Software Loopback Interface 1
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
34...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.16.1.1 172.16.1.105 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
172.16.1.0 255.255.255.0 On-link 172.16.1.105 281
172.16.1.105 255.255.255.255 On-link 172.16.1.105 281
172.16.1.255 255.255.255.255 On-link 172.16.1.105 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 172.16.1.105 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 172.16.1.105 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 184.191.32.135 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
12 58 ::/0 On-link
12 58 2001::/32 On-link
12 306 2001:0:4137:9e76:1c98:1713:b83a:3ffc/128
On-link
12 306 fe80::/64 On-link
19 286 fe80::5efe:172.16.1.105/128
On-link
12 306 fe80::1c98:1713:b83a:3ffc/128
On-link
===========================================================================
Persistent Routes:
None
Tabela de roteamento após conexão pptp
===========================================================================
Interface List
21...........................VPN Connection
14...00 ff 52 b7 58 e0 ......TAP-Win32 Adapter V9
13...90 4c e5 e0 f9 a6 ......11b/g/n Wireless LAN Mini-PCI Express Adapter II
11...00 26 2d f1 3d cd ......Intel(R) 82577LM Gigabit Network Connection
1...........................Software Loopback Interface 1
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
34...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.16.1.1 172.16.1.105 25
10.0.0.0 255.0.0.0 10.255.241.1 10.255.241.57 26
10.255.241.57 255.255.255.255 On-link 10.255.241.57 281
96.31.168.206 255.255.255.255 172.16.1.1 172.16.1.105 26
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
172.16.1.0 255.255.255.0 On-link 172.16.1.105 281
172.16.1.105 255.255.255.255 On-link 172.16.1.105 281
172.16.1.255 255.255.255.255 On-link 172.16.1.105 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 172.16.1.105 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 172.16.1.105 281
255.255.255.255 255.255.255.255 On-link 10.255.241.57 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 184.191.32.135 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
19 286 fe80::5efe:172.16.1.105/128
On-link
===========================================================================
Persistent Routes:
None