雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1793|回复: 5

哪里错了?????????

[复制链接]
发表于 2009-3-13 22:44:17 | 显示全部楼层 |阅读模式
interface Ethernet0/0
ip address 10.1.20.1 255.255.255.0
ip nat outside
ip virtual-reassembly
half-duplex
!
interface Ethernet0/0.10
ip nat inside
ip virtual-reassembly
!
interface Ethernet0/0.20
ip nat inside
ip virtual-reassembly
!
interface Ethernet0/0.30
ip nat inside
ip virtual-reassembly
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
!
interface FastEthernet1/0.10
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.255.0
!
interface FastEthernet1/0.20
encapsulation dot1Q 20
ip address 172.16.20.1 255.255.255.0
!
interface FastEthernet1/0.30
encapsulation dot1Q 30
ip address 172.16.30.1 255.255.255.0
!
ip http server
!
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
!
ip nat pool natpool 10.1.20.3 10.1.20.4 netmask 255.255.255.0
ip nat source list fornat pool natpool overload
!
!
ip access-list standard fornat
permit 172.16.10.0 0.0.0.255
permit 172.16.20.0 0.0.0.255
permit 172.16.30.0 0.0.0.255

石竹山的实验 做的nat为什么 内网不能访问外网? 连show ip nat translations 都没有内容 本人菜鸟啊 指教 不胜感激
发表于 2009-3-13 23:13:51 | 显示全部楼层
int f1/0.10
ip nat inside
内网的子接口才是nat inside
understand?
发表于 2009-3-14 00:09:57 | 显示全部楼层
E0/0 做OUTSIDE
F1/0.10-20-30 要INSIDE
内部和外部分错了啊 最好好好看下CCNA实验手册啊 呵呵
发表于 2009-3-14 09:25:53 | 显示全部楼层
 楼主| 发表于 2009-3-14 13:13:50 | 显示全部楼层
汗S我了 没仔细看!!!
发表于 2009-3-15 00:16:49 | 显示全部楼层
细节。。细节。。。

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-6-1 20:06 , Processed in 0.081550 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表