cisco 2911/k9路由器配置,gi0/2外网使用公司局域网的静态ip、gi0/1内网可以正常获取到ip信息但是不能上网
Building configuration...
Current configuration : 1314 bytes
!
! Last configuration change at 08:29:03 UTC Thu May 7 2020
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Makerfire
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
!
!
no ipv6 cef
ip source-route
ip cef
!
!
!
ip dhcp pool Makerfire-dhcp
network 192.168.0.0 255.255.252.0
default-router 192.168.0.1
dns-server 202.96.134.133 202.96.134.86
lease 7
!
!
!
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2911/K9 sn FHK1437F041
license boot module c2900 technology-package securityk9
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 222.222.222.222 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
!
interface GigabitEthernet0/1
ip address 192.168.0.1 255.255.252.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
!
interface GigabitEthernet0/2
ip address 10.10.2.199 255.255.252.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.10.2.0
ip route 0.0.0.0 0.0.0.0 192.168.0.0
!
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end