summerb17 发表于 2013-9-10 10:16:34

如何删除动态NAT

学习到ip nat了然后试着按照教科书试了一下动态nat,如图设置的

结果输入show ip nat static也有反应,问题是我试着no ip nat pool todd时说pool todd is used cannot destory.
我进入faste 0/1 no inside,和serial 1/0 no outside了
再试还是pool todd is used cannot destory.
最后我把网线全断了还是不行总不能关路由器吧特附上2ge ptk
nat是之前我做这个作业用的,nat2就是我删除了别的东西试着删除这个动态nat用的,请各位大神帮忙看下谢谢啦






cuizhiliang 发表于 2013-9-10 10:31:58

clear ip nat translation *

唯有努力 发表于 2013-9-10 16:05:03

你清下路由表nat的信息,你在什么模式下NO 的?   你想说什么?就是删除那条命令吗?

summerb17 发表于 2013-9-10 16:56:13

cuizhiliang 发表于 2013-9-10 10:31 static/image/common/back.gif
clear ip nat translation *

试过了删不掉,这是动态nat不是重载,我用的是show ip nat statices 而不是show ip nat translation
是不是这个原因?

summerb17 发表于 2013-9-10 16:58:07

唯有努力 发表于 2013-9-10 16:05 static/image/common/back.gif
你清下路由表nat的信息,你在什么模式下NO 的?   你想说什么?就是删除那条命令吗?

是的就是想删除,就是interface到当前接口下no ip nat inside outside。
在config下no ip nat pool todd就会显示todd在使用无法摧毁。
1楼的clear ip nat translation *也无效,我在Nat.ptk里试过了。

唯有努力 发表于 2013-9-10 17:27:27

summerb17 发表于 2013-9-10 16:58 static/image/common/back.gif
是的就是想删除,就是interface到当前接口下no ip nat inside outside。
在config下no ip nat pool todd ...

你用的GNS模拟器吗?删除在全局模式下

summerb17 发表于 2013-9-11 10:08:21

唯有努力 发表于 2013-9-10 17:27 static/image/common/back.gif
你用的GNS模拟器吗?删除在全局模式下

用的是Cisco packet tracer

chenx1242 发表于 2015-11-14 00:47:48

这个要先 no ip nat source list 1 pool 池名
然后才能 no ip nat pool 池名起始IP终结IPnetmask网关

因为你的acl在动态nat里启用,必须要先关闭了这一个,才可以删除掉整个动态的nat 。
但是这样没有删掉acl哦,要注意。
页: [1]
查看完整版本: 如何删除动态NAT