今天在做一个×××时有个关于虚拟私有网二层隧道协议的问题,搭建一个拨号连接网络。我是利用一个路由模拟器做的。
实验如下:
拓扑图:
这些都是路由器,我是利用路由R4、R5、R6做的。
具体配置如下:
客户机:
IP:192.168.10.10 GW:192.168.10.1
做一个拨号连接,指向主机IP:192.168.30.2
路由器配置如下:R4:
f0/0:192.168.10.1 s1/1:192.168.20.1 R5: s1/0:192.168.20.2 s1/1:192.168.30.1 R6: s1/0:192.168.30.2 F2/0:192.168.50.1R4:
ena
conf t hostname R4 int f0/0 ip add 192.168.10.1 255.255.255.0 ip nat inside no shut exit int s1/1 ip add 192.168.20.1 255.255.255.0 ip nat outside no shut exit access-list 1 permit 192.168.10.0 0.0.0.255 ip nat inside source list 1 int s1/1 overload ip route 0.0.0.0 0.0.0.0 s1/1 endR5:
ena
conf t hostname R5 int s1/0 ip add 192.168.20.2 255.255.255.0 no shut exit int s1/1 ip add 192.168.30.1 255.255.255.0 no shut end R6:ena
conf t hostname R6 username chensong password 123 ip local pool jintian 192.168.50.10 192.168.50.100 vpdn enable vpdn-group pptp accept-dialin protocol pptp virtual-template 1 exit int virtual-template 1 ip unnumbered s1/0 no shut enca ppp ppp authen ms-chap peer default ip add pool jintian exit int s1/0 ip add 192.168.30.2 255.255.255.0 ip nat outside no shut exit int f2/0 ip add 192.168.50.1 255.255.255.0 ip nat inside no shut exit access-list 1 permit 192.168.50.0 0.0.0.255 ip nat inside source list 1 int s1/0 overload ip route 0.0.0.0 0.0.0.0 s1/0 end配置如上,但是问题出在最后我拨号连接的时候,提示:远程主机无反应……
希望各位大大给我说说,我的问题出现在哪里?