手头有一台cisco2600的路由器,昨天试试没有做成,不知怎么做。
我用的是两个快速以太网口,net地址转换。上网是adsl固定ip地址,不用拨号。猫是zte中兴的841。连猫的一段可以ping通电信的网关。网内机器不行。只是老是发现电信的交换机。
配置如下,请指导
ADSL#sh run
Building configuration...
Current configuration : 821 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!hostname ADSL
!enable password cisco
!!
ip subnet-zero
ip name-server 202.102.224.68 (dns地址)
!
interface FastEthernet0/0
ip address 61.*.*.* 255.255.255.0 (电信给外网固定地址)
ip nat outside
duplex auto
speed auto
!
interface Serial0/0
no ip address
!
interface FastEthernet0/1
ip address 161.*.*.* 255.255.255.0 (内网地址)
ip nat inside
duplex auto
speed auto
!
interface Serial0/1
no ip address
no keepalive
!
ip nat inside source list 1 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 61.*.*.*
ip http server
!