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

[求助] 为什么vlan间无法互通?

[复制链接]
发表于 2018-1-19 10:04:33 | 显示全部楼层 |阅读模式
3鸿鹄币

[ACG]dis cu
#
vlan batch 10 30
#
interface Vlanif10
ip address 192.168.1.1 255.255.255.0
#
interface Vlanif30
ip address 192.168.3.1 255.255.255.0
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
ip route-static 192.168.2.0 255.255.255.0 192.168.3.2
#
return

<CORE>dis cu
#
vlan batch 20 30
#
interface Vlanif20
ip address 192.168.2.1 255.255.255.0
#
interface Vlanif30
ip address 192.168.3.2 255.255.255.0
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 20
#
ip route-static 192.168.1.0 255.255.255.0 192.168.3.1
#
return

<ACC1>display current-configuration
#
vlan batch 10
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
interface Ethernet0/0/4
port link-type access
port default vlan 10
#

[ACC2]dis cu
#
vlan batch 20
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 20
#
interface Ethernet0/0/4
port link-type access
port default vlan 20
#




哪位大佬知道为什么没有192.168.3.0和192.168.2.0的路由?


发表于 2018-1-21 13:16:02 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2018-6-6 13:44:00 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2018-8-28 19:14:30 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2018-9-26 09:21:56 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2018-9-26 09:22:05 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2018-10-9 13:29:21 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

头像被屏蔽
发表于 2018-10-20 08:41:00 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-18 07:10 , Processed in 0.053156 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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