AR28/AR46系列路由器用地址池方式做nat的典型配置方法
更新時間:2007年04月10日 00:00:00 作者:
內(nèi)網(wǎng)用戶通過路由器的NAT地址池轉(zhuǎn)換來訪問Internet
需要的兄弟,自己看吧,其實很簡單的配置就完成了一個nat!
#
sysname RouterA
#
nat address-group 0 202.1.1.3 202.1.1.6 /用戶NAT的地址池/
#
radius scheme system
#
domain system
#
acl number 2000 /配置允許進行NAT轉(zhuǎn)換的內(nèi)網(wǎng)地址段/
rule 0 permit source 192.168.0.0 0.0.0.255
rule 1 deny
#
interface Ethernet0/0
ip address 202.1.1.2 255.255.255.248
nat outbound 2000 address-group 0 /在出接口上進行NAT轉(zhuǎn)換/
#
interface Ethernet0/1
ip address 192.168.0.1 255.255.255.0 /內(nèi)網(wǎng)網(wǎng)關(guān)/
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 202.1.1.1 preference 60 /配置默認(rèn)路由/
#
user-interface con 0
user-interface vty 0 4
#
return
需要的兄弟,自己看吧,其實很簡單的配置就完成了一個nat!
#
sysname RouterA
#
nat address-group 0 202.1.1.3 202.1.1.6 /用戶NAT的地址池/
#
radius scheme system
#
domain system
#
acl number 2000 /配置允許進行NAT轉(zhuǎn)換的內(nèi)網(wǎng)地址段/
rule 0 permit source 192.168.0.0 0.0.0.255
rule 1 deny
#
interface Ethernet0/0
ip address 202.1.1.2 255.255.255.248
nat outbound 2000 address-group 0 /在出接口上進行NAT轉(zhuǎn)換/
#
interface Ethernet0/1
ip address 192.168.0.1 255.255.255.0 /內(nèi)網(wǎng)網(wǎng)關(guān)/
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 202.1.1.1 preference 60 /配置默認(rèn)路由/
#
user-interface con 0
user-interface vty 0 4
#
return
相關(guān)文章
AR28/AR46系列路由器用地址池方式做nat的典型配置方法
AR28/AR46系列路由器用地址池方式做nat的典型配置方法...2007-04-04
AR系列路由器對網(wǎng)絡(luò)病毒的應(yīng)對辦法
AR系列路由器對網(wǎng)絡(luò)病毒的應(yīng)對辦法...2007-04-04
AR系列路由器使用SSH用戶驗證方式為password登錄路由器的典型配置
AR系列路由器使用SSH用戶驗證方式為password登錄路由器的典型配置...2007-04-04
分析對比華為虛擬化CSS與H3C虛擬化IRF2技術(shù)
這篇文章主要介紹了了華為虛擬化CSS與H3C虛擬化IRF2技術(shù),并對這兩種技術(shù)作了詳細(xì)的對比,有需要的朋友可以借鑒參考下,希望可以幫助廣大讀者對虛擬化集群管理有更深一步的了解2021-08-08

