最近接到一个网通电信双线接入,看了网上好多帖子,案例,基本上实现起来都有问题,只能自己研究,好赖实施成功了,贴出来共享一下!大家帮我顶一下!绝对成功,o(∩_∩)o...
Router#show run
Building configuration...!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password ciscocisco
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
no ip dhcp use vrf connected
interface Ethernet0
description wt
ip address *.*.*.* 255.255.255.0
****设置网通ip地址****
ip nat outside
*****设置广域网口******
full-duplex
!
interface Ethernet1
description dx
ip address *.*.*.* 255.255.255.240
****设置电信ip地址****
ip nat outside
*****设置广域网口******
full-duplex
!
interface FastEthernet0
ip address 192.168.1.254 255.255.255.0
ip nat inside
*****设置内网口*********
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 *.*.*.*
*****将电信设置为出口默认路由********