» 楼主困成球了,会配置思科的请进,多谢!-------------已经搞定,多谢提供我思路的基友们!
no aaa new-model
!
ip cef
!
!
!
!
ip dhcp pool HJ
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 202.106.196.115 202.106.0.20
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2911/K9 sn FGL172211DF
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 123.234.1.226 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 123.234.1.233 255.255.255.248 secondary
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool sshnet 123.234.1.226 123.234.1.226 netmask 255.255.255.240
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 123.234.1.225
!
ip access-list standard login
!
access-list 1 permit any
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
login
transport input all
!
scheduler allocate 20000 1000
!
end
no aaa new-model
!
ip cef
!
!
!
!
ip dhcp pool HJ
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 202.106.196.115 202.106.0.20
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2911/K9 sn FGL172211DF
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 127.234.1.226 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 123.234.1.233 255.255.255.248 secondary
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool sshnet 123.234.1.226 123.234.1.226 netmask 255.255.255.240
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 127.234.1.225
!
ip access-list standard login
!
access-list 1 permit any
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
login
transport input all
!
scheduler allocate 2000 100
!
end