关于GRE隧道配置说明 点击:1067 | 回复:0



云飘渺

    
  • 精华:1帖
  • 求助:0帖
  • 帖子:5帖 | 46回
  • 年度积分:0
  • 历史总积分:338
  • 注册:2003年10月17日
发表于:2007-04-21 09:22:00
楼主
本文是一个实际应用案例中关于APN-GRE隧道建立的说明,该配置基于Cisco 12012路由器完成,采用TFTP。
 
Using 990 out of 29688 bytes 

version 12.2 
service timestamps debug uptime 
service timestamps log uptime 
no service password-encryption 

hostname 2600 

enable secret 5 $1$NHEY$zALY8Kvp8r7tbcj/ 
enable password ×××× /APN号/ 

ip subnet-zero 






interface Tunnel1            /创建隧道1/ 

ip address 10.10.10.46 255.255.255.252     /隧道IP/(GPRS DTU访问的) 
tunnel source 218.*.*.*          /源地址/ 
tunnel destination 211.*.*.41     /目标地址/ 

interface FastEthernet0/0          /内部私网IP/ 
ip address 192.1.3.100 255.255.255.0 
no ip mroute-cache 
speed auto 
full-duplex 

interface FastEthernet0/1      /ISP光纤 IP/ 
ip address 218.*.*.* 255.255.255.0 
ip access-group 101 in 
ip access-group 101 out 
no ip mroute-cache 
duplex auto 
speed auto 

ip classless 
ip route 0.0.0.0 0.0.0.0 218.*.*.69     /访问internet 
网段通过ISP的网关过去/ 
ip route 10.1.12.0 255.255.254.0 Tunnel1     /默认路由通过 
隧道1出去/ 
no ip http server 
ip pim bidir-enable 


access-list 101 permit tcp any any 
access-list 101 permit ip any any 
access-list 101 permit icmp any any 
tftp-server no 

line con 0 
line aux 0 
line vty 0 4 
password ×××× /APN号/ 
login 


end  

[color=#FF0000]厦门蓝斯通信有限公司 
Http://www.xmlenz.com 
联系人:陈承伟 
E-mail:toccw@126.com 
MSN:ccwhero@msn.com 
QQ:348422447 
电话:0592-5799658 13599545119 [/color]


热门招聘
相关主题

官方公众号

智造工程师