锐捷思科NAT内网上互联网配置

R#show run

Building configuration...

 

Current configuration : 864 bytes

!

version 15.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R

!

!

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO2911/K9 sn FTX1524K9A0

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface GigabitEthernet0/0

  ip address 192.168.0.1 255.255.255.0

  ip nat inside

duplex auto

speed auto

!

interface GigabitEthernet0/1

  ip address 10.10.10.1 255.0.0.0

  ip nat outside

duplex auto

speed auto

!

interface GigabitEthernet0/2

no ip address

duplex auto

speed auto

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip nat inside source list 1 interface GigabitEthernet0/1 overload

ip classless

ip route 0.0.0.0 0.0.0.0 10.10.10.10

!

ip flow-export version 9

!

!

access-list 1 permit any

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

 

R#

 

posted @ 2024-10-15 10:44  techNote  阅读(101)  评论(0)    收藏  举报