interface GigabitEthernet0/2
ip address 162.122.68.1 255.255.255.252
ip nat inside
!
ip nat pool 1 162.122.12.10 162.122.12.10 netmask 255.255.255.0
ip nat inside source list 101 pool 1 overload
ip nat inside source static 19.8.245.15 162.122.6.100
!
access-list 101 permit ip 10.0.0.0 0.255.255.255 163.0.0.0 0.255.255.255
access-list 101 permit ip 192.0.0.0 0.255.255.255 163.0.0.0 0.255.255.255
access-list 101 permit ip 10.0.0.0 0.255.255.255 100.0.0.0 0.255.255.255
access-list 101 permit ip 19.20.222.168 0.0.0.7 163.0.0.0 0.255.255.255
access-list 101 permit ip 10.0.0.0 0.255.255.255 10.96.0.0 0.0.255.255
access-list 101 permit ip 10.0.0.0 0.255.255.255 10.32.0.0 0.0.255.255
!
#
interface GigabitEthernet0/2
port link-mode route
ip address 162.122.68.1 255.255.255.252
nat inbound 3101 address-group 1
nat static enable
#
nat static inbound 162.122.6.100 19.8.245.15
#
nat address-group 1
address 162.122.12.10 162.122.12.10
#
acl advanced 3101
rule 0 permit ip source 10.0.0.0 0.255.255.255 destination 163.0.0.0 0.255.255.255
rule 5 permit ip source 192.0.0.0 0.255.255.255 destination 163.0.0.0 0.255.255.255
rule 10 permit ip source 10.0.0.0 0.255.255.255 destination 100.0.0.0 0.255.255.255
rule 15 permit ip source 19.20.222.168 0.0.0.7 destination 163.0.0.0 0.255.255.255
rule 20 permit ip source 10.0.0.0 0.255.255.255 destination 10.96.0.0 0.0.255.255
rule 25 permit ip source 10.0.0.0 0.255.255.255 destination 10.32.0.0 0.0.255.255
#
(0)
最佳答案
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论