设为首页收藏本站language 语言切换
查看: 2005|回复: 3
收起左侧

新人求教

[复制链接]
匿名  发表于 2016-1-2 10:48:24 |阅读模式
如题:一、 从交换机A下发路由数据到交换机B,电信和联通分开端口。IP段一:121.10.140.0/24、58.253.71.64/26,vlan10
  IP段二:125.90.93.128/25、221.5.43.192/27,vlan20
SW1:interface Vlanif10
ip address 121.10.140.1 255.255.255.0
ip address 58.253.71.65 255.255.255.192 sub
#
interface Vlanif20
ip address 125.90.93.129 255.255.255.128
ip address 221.5.43.193 255.255.255.224 sub
#
interface Vlanif30
ip address 192.168.1.1 255.255.255.252
#
interface Vlanif40
ip address 192.168.2.1 255.255.255.252
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 20

interface GigabitEthernet0/0/1
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 40
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.2


SW2:
interface Vlanif10
ip address 121.10.140.1 255.255.255.0
ip address 58.253.71.65 255.255.255.192 sub
#
interface Vlanif20
ip address 125.90.93.129 255.255.255.128
ip address 221.5.43.193 255.255.255.224 sub
#
interface Vlanif30
ip address 192.168.1.2 255.255.255.252
#
interface Vlanif40
ip address 192.168.2.2 255.255.255.252
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 20

interface GigabitEthernet0/0/1
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 40
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
现在 我在 左侧 CL1设置IP121.10.140.3 右侧 CL2设置58.253.71.66 不管是指定路由还是静态 都无法使他们通信 麻烦各位大神查看

拓扑图

拓扑图
发表于 2016-1-2 16:00:51 | 显示全部楼层
本帖最后由 slsl 于 2016-1-2 16:02 编辑

把 SW2:
interface Vlanif10
ip address 121.10.140.1 255.255.255.0
ip address 58.253.71.65 255.255.255.192 sub   删掉
sw2 的 interface GigabitEthernet0/0/1和 sw1的 interface GigabitEthernet0/0/1
port link-type access
port default vlan 10


我觉得这样是最简单的,把SW2直接当成2层交换机用。
沙发 2016-1-2 16:00:51 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-1-3 10:04:30 | 显示全部楼层
抓包看看是在哪中断通信的
板凳 2016-1-3 10:04:30 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-1-7 14:10:58 | 显示全部楼层
两边不能用同样的地址段吧,这样规划不行。
地板 2016-1-7 14:10:58 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-11 21:42 , Processed in 0.068540 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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