关于GPRS APN-GRE隧道配置摘要

  关于GPRS APN-GRE隧道配置摘要
本文是一个实际应用案例中关于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  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值