各位老师关于固定ip的设置问题请教!
各位老师我最近刚开始接触ros,我想问一下我思科路由的配置怎样才能应用到ros上,我的版本是2.96主要是外网的地址池和静态地址映射
hostname 2811
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$0TQZ$7gHB.DRI9JQ7YhTFiV7El.
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
ip flow-cache timeout active 1
!
!
!
!
interface FastEthernet0/0
ip address 172.30.30.6 255.255.255.0 seconda
ip address x.x.x.x 255.255.255.192
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.11.1 255.255.255.0
ip nat inside
ip route-cache flow
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.30.30.5
ip route 192.168.0.0 255.255.0.0 192.168.11.2
ip flow-export source FastEthernet0/1
ip flow-export version 5
ip flow-export destination 192.168.0.19 9996
!
ip http server
ip nat pool qtt x.x.x.66 x.x.x.67 netmask 255.255.255.192
ip nat inside source list 1 pool qtt overload
ip nat inside source static 192.168.0.9 x.x.x.x
ip nat inside source static 192.168.2.4 x.x.x.x
access-list 1 permit 192.168.0.0 0.0.255.255
snmp-server ifindex persist
!
control-plane
!
!
请各位老师帮忙!
页:
[1]