设置了2个VLAN,两个VLAN分属于不同的网段,也配置vlanif,但是两个网段不能互通。
这是为啥啊?
(0)
最佳答案
您好,请知:
网络不通,以下是排查要点,请参考:
1、检查是否正确配置了VLAN和VLAN IP
2、检查是否有将VLAN划分到了正确的端口,且端口是否UP
3、检查终端是否正确配置了IP地址、子网掩码、默认网关
4、检查终端的系统防火墙是否已关闭。
(0)
太感谢你了!!
把你的相关配置贴出来。
正常时不可能不通的。检查终端的子网掩码、网关、接口属性、所属vlan。
无非这几个属性
(0)
看了配置,交换机这块没问题。你上面说的“不通”,是指vlan10和20分别接了电脑吗?电脑的IP、掩码、网关写了吗?两台时Windows的话,其防火墙关闭了嘛?检查一下
配置我贴出来了
看了配置,交换机这块没问题。你上面说的“不通”,是指vlan10和20分别接了电脑吗?电脑的IP、掩码、网关写了吗?两台时Windows的话,其防火墙关闭了嘛?检查一下
检查网关是否在设备上,vlan if接口是否up?
(0)
非常感谢!我再看看
非常感谢!我再看看
[H3C]dis cu
#
version 5.20.99, Release 1109
#
sysname H3C
#
domain default enable system
#
ipv6
#
telnet server enable
#
port-group-vlan 1
#
password-recovery enable
#
vlan 1
description SERVER-FIRE
#
vlan 10
#
vlan 20
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$EkhzOhFEh59+WPOOlD32QaWsr0DwDZyU
authorization-attribute level 3
service-type telnet
service-type web
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.233 255.255.255.0
#
interface Vlan-interface10
ip address 192.168.2.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 10
#
interface GigabitEthernet1/0/2
port access vlan 10
#
interface GigabitEthernet1/0/3
port access vlan 20
#
interface GigabitEthernet1/0/4
port access vlan 20
#
interface GigabitEthernet1/0/5
port access vlan 20
#
interface GigabitEthernet1/0/6
port access vlan 20
#
interface GigabitEthernet1/0/7
port access vlan 20
#
interface GigabitEthernet1/0/8
port access vlan 20
#
interface GigabitEthernet1/0/9
port access vlan 20
#
interface GigabitEthernet1/0/10
port access vlan 20
#
interface GigabitEthernet1/0/11
port access vlan 20
#
interface GigabitEthernet1/0/12
port access vlan 20
#
interface GigabitEthernet1/0/13
port access vlan 20
#
interface GigabitEthernet1/0/14
port access vlan 20
#
interface GigabitEthernet1/0/15
port access vlan 20
#
interface GigabitEthernet1/0/16
port access vlan 20
#
interface GigabitEthernet1/0/17
port access vlan 20
#
interface GigabitEthernet1/0/18
port access vlan 20
#
interface GigabitEthernet1/0/19
port access vlan 20
#
interface GigabitEthernet1/0/20
port access vlan 20
#
interface GigabitEthernet1/0/21
port access vlan 20
#
interface GigabitEthernet1/0/22
port access vlan 20
#
interface GigabitEthernet1/0/23
port access vlan 20
#
interface GigabitEthernet1/0/24
port access vlan 20
#
interface GigabitEthernet1/0/25
#
interface GigabitEthernet1/0/26
#
interface GigabitEthernet1/0/27
#
interface GigabitEthernet1/0/28
#
undo info-center logfile enable
#
load xml-configuration
#
user-interface aux 0
user-interface vty 0 15
authentication-mode scheme
#
return
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
太感谢你了!!