我有以下网络:
所以想连接两个子网:
VLAN10-程序员-网络155.55.3.0 / 26 -左侧
VLAN10-程序员-网络155.55.0.0 / 23 -右侧
主机在每个路由器上都有来自DHCP的地址
路由方法是EIGRP
我使用NAT进行VLAN翻译
问题是存在奇怪的连接问题:
从Router0到PC1
从PC0我可以点击乐。致Router1 (10.0.0.2)
从Router1到Router0 (10.0.0.1)
从PC1到Router0 (10.0.0.1)
开关x2 -配置:
启用配置terminal vlan 10 名称programmer end接口范围fastEthernet 0/1-17 交换端口访问vlan 10 exit接口范围gigabitEthernet 0/1-2 交换端口模式trunk交换端口中继允许vlan添加10 终端
Router0配置:
启用配置终端 接口FastEthernet0 0/0.10 封装dot1Q 10 ip地址155.55.3.1 255.255.192 ip nat在内部无sh exit 接口FastEthernet0 1/0 ip地址10.0.0.1 255.0.0.0 ip nat无sh exit 路由器eigrp 10堆栈网络155.55.3.0 255.255.192堆栈网络155.55.255.254.0堆栈网络10.0.0.0 255.0.0.0无自动堆栈访问列表101允许ip在源列表101接口FastEthernet1 1/0 overload ip dhcp池programmer网络155.55.3.0 255.255.192StackNewLine默认-路由器155.55.3.1堆栈ip除外-地址155.55.3.1堆栈
路由器1配置:
启用配置终端 接口FastEthernet0 0/0.10 封装dot1Q 10 ip地址155.55.0.1 255.255.254.0 ip nat在无sh exit 接口FastEthernet0 1/0 ip地址10.0.0.2 255.0.0.0 ip nat无sh exit 路由器eigrp 10 网络155.55.3.0 255.255.192 网络155.55.0。0 255.255.254.0网络10.0.0.0 255.0.0.0无自动-概述访问列表101允许任何any ip nat在源列表101接口FastEthernet1 1/0 overload ip dhcp池programmer网络155.55.0.0 255.255.254.0 默认-路由器155.55.0.1stackNewlineIPdhcp排除-地址155.55.0.1
我做了一些配置错误吗?这能做我想做的事吗?
发布于 2017-06-23 23:06:23
好吧,我解决问题。这实在是没有必要用在这里的NAT交易。我删除它,并完美地工作:)
https://serverfault.com/questions/857598
复制相似问题