NAT的配置
int s0 ip add 220.113.14.40 255.255.255.224 no sh int e0 ip add 192.168.1.0 255.255.255.0 no sh access-list 1 permit 192.168.1.0 0.0.0.255 ip nat pool test 220.113.14.40 220.113.14.50 netmask 255.255.255.224 ip nat inside source list 1 pool test overload int s0 ip nat outside int e0 ip nat inside 驗證
sh ip nat translations sh ip nat statistics no debug all debug ip nat PAT的配置 int s0 ip add 61.159.62.129 255.255.255.248 int e0 ip add 10.1.1.1 255.255.255.0 access-list 1 permit 10.1.1.0 0.0.0.255 ip nat pool onlyone 61.159.62.130 61.159.62.130 netmask 255.255.255.248 ip nat inside source list 1 pool onlyone overload ip route 0.0.0.0 0.0.0.0 61.159.62.130(網關) int s0 ip nat outside int e0 ip nat inside |
cisco的pat,nat配置
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.