设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 846|回复: 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-1-21 13:16:02 回复 收起回复
回复

使用道具 举报

发表于 2018-6-6 13:44:00 | 显示全部楼层
接口没有宣告吧
板凳 2018-6-6 13:44:00 回复 收起回复
回复

使用道具 举报

发表于 2018-8-28 19:14:30 | 显示全部楼层
图片都没有
地板 2018-8-28 19:14:30 回复 收起回复
回复

使用道具 举报

发表于 2018-9-26 09:21:56 | 显示全部楼层
66666666666666666666
5# 2018-9-26 09:21:56 回复 收起回复
回复

使用道具 举报

发表于 2018-9-26 09:22:05 | 显示全部楼层
66666666666666666666666666666
6# 2018-9-26 09:22:05 回复 收起回复
回复

使用道具 举报

发表于 2018-10-9 13:29:21 | 显示全部楼层
好好琢磨一下vlan的三种接口方式(access、trunk、hybrid)下怎么通信的,就会自己想明白了
7# 2018-10-9 13:29:21 回复 收起回复
回复

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-18 12:33 , Processed in 0.066636 second(s), 7 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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