5.0
default-router 192.168.10.1
!
line con 0
line vty 0 4
login
!
!
end
3.nat 重载pat
Router#sh run
Building configuration…
Current configuration : 644 bytes
!
version 12.4
no service password-encryption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 202.115.100.1 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip nat inside source list 1 interface FastEthernet0/1 overload
ip classless
!
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool abc
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
!
line con 0
line vty 0 4
login
!
!
?
上一页 [1] [2]