cisco2880路由器上网故障
我们公司是光纤10M介入,从光猫出来到路由器,再从路由到防火墙,再到核心交换机.但是我tracert一个外网IP时只能到路由器的进口
我的路由配置如下:interface GigabitEthernet0/0
ip address 61.50.146.130 255.255.255.252Invalid input detected at '^' marker.
ip nat outside
duplex fullconfig-if)#i
speed 102.168.1.0
!5
interface GigabitEthernet0/1
ip address 192.168.20.1 255.255.255.0er(config)#exit
Rou
ip nat insidey 29 14:03:51.
duplex fullONFIG_I: Con
speed auto console by
!o
ip classless
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
Router#write
Buil
ip route 192.168.1.0 255.255.255.0 192.168.254.OK]
Router#show run
ip nat pool abc 61.50.146.130 61.50.146.130 netmask 255.255.255.252no service password-encryption
!
hos
ip nat inside source list 1 pool abc overloader
boot-end-marker
ip nat inside source static tcp 192.168.1.16 80 60.50.146.130 80 extendable
!
resource policy
!
ip subnet-zero
ip nat inside source static tcp 192.168.1.5 25 61.50.146.130 25 extendable
interface GigabitEthernet0/0
ip address 61.
ip nat inside source static tcp 192.168.1.5 80 61.50.146.130 80 extendable outside
duplex full
speed 10
!
int
ip nat inside source static tcp 192.168.1.5 110 61.50.146.1dress 192.168.254.3 255.25
line aux 0endable
line vty 0 4
no login
scheduler allocate 20000 1000t inside source static tcp 19
!1
end.5
请问是我的配置有问题还是其他问题啊 ,我看了线路都没事?请各位大虾帮助 你发的这个配置怎么这么乱啊,叫别人怎么看哦?
还是重新发一遍吧 偶菜鸟 来学习的 无能为力哦 配置好些有問題吧
cisco2880路由器上网故障
Router#sh runBuilding configuration...
Current configuration : 1863 bytes
!
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 cisco
!
no aaa new-model
!
resource policy
!
ip subnet-zero
no ip source-route
!
!
ip cef
!
!
no ip domain lookup
!
!
!
!
interface GigabitEthernet0/0
ip address 61.50.146.130 255.255.255.252
ip access-group 1 in
ip nat outside
duplex full
speed 10
!
interface GigabitEthernet0/1
ip address 192.168.20.1 255.255.255.0
ip nat inside
duplex full
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 61.50.146.129
ip route 192.168.1.0 255.255.255.0 192.168.254.2
ip route 192.168.1.0 255.255.255.0 192.168.20.2
ip route 192.168.254.0 255.255.255.0 192.168.20.2
!
no ip http server
ip nat pool abc 61.50.146.130 61.50.146.130 netmask 255.255.255.252
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static tcp 192.168.1.16 80 60.50.146.130 80 extendable
ip nat inside source static tcp 192.168.1.5 25 61.50.146.130 25 extendable
ip nat inside source static tcp 192.168.1.5 80 61.50.146.130 80 extendable
ip nat inside source static tcp 192.168.1.5 110 61.50.146.130 110 extendable
ip nat inside source static tcp 192.168.1.5 6080 61.50.146.130 6080 extendable
!
access-list 1 permit any
access-list 10 deny 192.168.0.0 0.0.255.255
access-list 101 deny tcp any any range 6880 6890
access-list 101 deny tcp any range 6880 6890 any
access-list 101 permit ip any any
access-list 102 deny tcp any any range 1243 1243
access-list 102 deny tcp any range 1243 1243 any
access-list 102 permit ip any any
access-list 102 deny tcp any any range 31337 31337
access-list 102 deny tcp any range 31337 31337 any
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
scheduler allocate 20000 1000
!
end
cisco2880路由器上网故障
对不起啊 刚才发的 有点乱 又补了一个 暂时没看出问题来有很多外网路由器都屏蔽了tracert的,所以不能用这个命令来说明有错误
而要看你能不能ping通外网IP、能不能上网
页:
[1]
