中兴路由器配置
用黄色显示的是配置过的命令,其他的都为系统默认。
ZXR10#sh run
Building configuration...
! ZXR10>en
!passward:zxr10
ZXR10#conf ter
ip dhcp enable #开启dhcp功能#
ip dhcp server dns #设置分配给客户的dns地址#
ip dhcp server leasetime 18000
ip dhcp server update arp
!
ip dhcp-client disable
!
urpf log off
!
ip local pool conflict-ip 10
ip local pool dhcp #配置地址池,地址池名字为dhcp,等下在接口下引用这个名字#
!
!
interface null1
!
interface fei_0/1 #连接公网的接口#
ip address #配置公网口ip地址#
negotiation auto
ip nat outside #做为nat的outside口#
ipv6 nat enable
!
interface fei_0/2 #连接内网的接口#
ip address #配置内网接口ip地址#
peer default ip pool dhcp #确定内网pc机使用哪个地址池,地址名字为dhcp#
negotiation auto
exit
ip dhcp mode server #在接口下使能dhcp功能#
ip dhcp server gateway #配置分配的默认网关地址#
ip nat inside #座位nat的insdie接口#
!
interface fei_0/3
negotiation auto
!
!
reference clock local
!
ip nat max-entry-number 64
ip nat start #启用nat功能#
ip nat inside source list 1 interface fei_0/1 #配置允许内网地址进行nat转换,并且转换后的地址为外网口接口fei_0/1地址#
ip nat translation timeout class a 20
ip nat translation timeout class b 60
ip nat translation timeout class c 150
ip nat translation timeout class d 300
ip nat translation timeout class e 1200
ip nat translation timeout protocol icmp a
ip nat translation timeout pr
中兴路由器一般配置 来自淘豆网m.daumloan.com转载请标明出处.