Cisco 850 无法配置路由

Cisco 850 无法配置路由

我正在尝试配置思科 850 路由器,但无法从 Vlan1 ping 通外部网络。 show running-config看起来像

Current configuration : 5563 bytes
!
! Last configuration change at 15:33:02 UTC Sat Aug 13 2016 by cisco
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname fw2.myfw.tld
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
wan mode ethernet
!
!
!
ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 129.x.x.5
!
ip dhcp pool ccp-pool
 import all
 network 192.168.1.0 255.255.255.0
 dns-server 8.8.8.8 8.8.4.4 
 default-router 192.168.1.1 
 lease 0 2
!         
!         
!         
ip domain name mydomain.tld
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip cef    
no ipv6 cef
!         
!         
!         
!         
crypto pki trustpoint TP-self-signed-1017650632
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-1017650632
 revocation-check none
 rsakeypair TP-self-signed-1017650632
!         
!         
crypto pki certificate chain TP-self-signed-1017650632
 certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 
  69666963 6174652D 31303137 36353036 3332301E 170D3135 30343037 31303536 
  30375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649 
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 30313736 
  35303633 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 
  81008B15 A50BCE53 C1A10611 78247737 97E31A5D 653AF401 024B244B F96B48E0 
  0A1B41EE 16FBFDD1 46F2E1E2 1329D2C6 EEFBCF5B 217DE650 7D2729B0 266008F3 
  AC4565EA 53D7FA5B 35761F14 6FBDCFAC 24994667 CB0311A9 7FE25580 7D9564C3 
  BFE10A4A F5F57C4F C4E18EC9 19874BCA 03127F56 252D04B8 9465A23F FBB9045B 
  D9EF0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603 
  551D2304 18301680 146EAE54 B0C95DC2 0561F596 BC47E94B EF80617E F9301D06 
  03551D0E 04160414 6EAE54B0 C95DC205 61F596BC 47E94BEF 80617EF9 300D0609 
  2A864886 F70D0101 05050003 81810014 F5B63E51 AD80D4A0 3230E94D 3D1BE457 
  5D7CF78D 3C911F32 C7238D24 4A8C84D5 D5D4F744 EA2FFD5C 4A40E7A1 A517BFE3 
  10CC6078 5F446A15 F60EA41E 08C688AF A7834485 0991C739 F3CA38FE CFAA31E2 
  C72031C1 BAEFA756 719E4903 705C98A7 E20CB004 6FC82D22 D4E62E0C DBA54481 
  F6A68B3D AA905352 DD76B19F CD4190
        quit
!         
!         
username cisco password 0 somepassword
username admin privilege 15 secret 5 $1$JJZR$kw8yTTHkjUGKIfB8sQiyJ0
!         
!         
controller VDSL 0
 shutdown 
!         
ip telnet source-interface Vlan1
ip ssh port 2222 rotary 1
ip ssh source-interface Vlan1
ip ssh rsa keypair-name 1024
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
interface ATM0
 no ip address
 shutdown 
 no atm ilmi-keepalive
!         
interface Ethernet0
 no ip address
 shutdown 
!         
interface FastEthernet0
 no ip address
!         
interface FastEthernet1
 no ip address
!         
interface FastEthernet2
 no ip address
!         
interface FastEthernet3
 no ip address
!         
interface GigabitEthernet0
 no ip address
!         
interface GigabitEthernet1
 description PrimaryWANDesc_WAN interface
 ip address 129.x.x.5 255.255.255.0
 duplex auto
 speed auto
!         
interface Vlan1
 description $ETH_LAN$
 ip address 192.168.1.1 255.255.255.0
 ip helper-address 192.168.1.254
 ip nat inside
 ip virtual-reassembly in
 ip tcp adjust-mss 1412
!         
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!         
!         
ip dns server
ip nat inside source list nat-list interface GigabitEthernet1 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet1
!         
mac-address-table aging-time 15
no cdp run
!         
!         
!         
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device 
and it provides the default username "cisco" for  one-time use. If you have 
already used the username "cisco" to login to the router and your IOS image 
supports the "one-time" user option, then this username has already expired. 
You will not be able to login to the router with this username after you exit 
this session.

It is strongly suggested that you create a new username with a privilege level 
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you 
want to use.

-----------------------------------------------------------------------
^C        
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device. 
This feature requires the one-time use of the username "cisco" with the 
password "cisco". These default credentials have a privilege level of 15.

YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE  
PUBLICLY-KNOWN CREDENTIALS


Here are the Cisco IOS commands.


username <myuser>  privilege 15 secret 0 <mypassword>
no username cisco


Replace <myuser> and <mypassword> with the username and password you want 
to use.   


IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL 
NOT BE ABLE TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.

For more information about Cisco CP please follow the instructions in the 
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp 
-----------------------------------------------------------------------
^C        
!         
line con 0
 no modem enable
line aux 0
line vty 0 4
 access-class 23 in
 privilege level 15
 transport input telnet ssh
!         
scheduler allocate 60000 1000
!         
end       

我通过路由器上的控制台进行连接,并且只能从具有 IP 地址的 GigaEthernet1 端口 ping 外部网络129.x.x.5

连接到 VLan1 的客户端将获得 范围内的 IP 地址192.168.1.0/24 ,并且这些客户端可以互相 ping 通网关,网关的 IP 地址为192.168.1.1,GigaEthernet1 的 IP 地址为129.x.x.5

这个案例出了什么问题?

更新

router# show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S*    0.0.0.0/0 is directly connected, GigabitEthernet1
      129.x.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        129.x.x.0/24 is directly connected, GigabitEthernet1
L        129.x.x.5/32 is directly connected, GigabitEthernet1

相关内容