Home > other >  Different network segment on the same VLAN, different VLAN PC can communicate in the same network se
Different network segment on the same VLAN, different VLAN PC can communicate in the same network se

Time:10-04

Two PCS, on the second floor switches in different network segment on the same vlan can not communication, in different vlan to the same network segment can communicate, according to?
Made routing layer 3 switches, two PCS in different network segment on the same vlan, different vlan to the same network segment can communicate, according to?

CodePudding user response:

Don't know where your results measured,

With in a layer 2 switch
Different network segment on the same VLAN: need to determine whether two IP behind in the segment, if it is, even if different network segment can also communication, if not, it will not be able to communicate,
Different VLAN: it must can't direct communication, this one, please review the role of VLAN, in addition, if the trunk, eigen VLAN without TAG, as the case also can appear different VLAN can exchange situation,

Layer 3 switches, under the same vlan and layer as judgment; Different vlan to the same network segment, even not up vlans address,

CodePudding user response:

Have a look at some professional technical data, the paper expounds the IP, what a VLAN

CodePudding user response:

CodePudding user response:

The building Lord question good disorderly, paradoxically, VLAN and address how can it be classified?

CodePudding user response:

The building Lord, you can draw a topology, and then describes the IP address of the corresponding vlan, so look at, easy to analyze

CodePudding user response:

reference 1st floor Runnerchin response:
don't know where your results measured,

With in a layer 2 switch
Different network segment on the same VLAN: need to determine whether two IP behind in the segment, if it is, even if different network segment can also communication, if not, it will not be able to communicate,
Different VLAN: it must can't direct communication, this one, please review the role of VLAN, in addition, if the trunk, eigen VLAN without TAG, as the case also can appear different VLAN can exchange situation,

Layer 3 switches, under the same vlan and layer as judgment; Different vlan to the same network segment, even not up, vlan address
positive solutions

CodePudding user response:

1, on the second floor switches in different network segment on the same vlan can not communicate, because of different network segments need \ gateway to communication, in different vlan can't communicate,
2, layer 3 switches do routing, two PCS in different network segment on the same vlan, different vlan to the same network segment can communicate, because of a gateway routing,

CodePudding user response:

CodePudding user response:

Only need to change at a draught network cannot communicate,

CodePudding user response:

[Huawei] dis IP routing table -
The Route Flags: R - relay, D - the download to fib
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Routing Tables: Public
Destinations: 6 Routes:

Destination/Mask Proto Pre Cost Flags NextHop Interface

127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
192.168.1.0/24 Direct 0 0 D 192.168.1.254 Vlanif1
192.168.1.254/32 Direct 0 0 D 127.0.0.1 Vlanif1
192.168.10.0/24 Direct 0 0 D 192.168.10.254 Vlanif10
192.168.10.254/32 Direct 0 0 D 127.0.0.1 Vlanif10

Interface Vlanif1
IP address 192.168.1.254 255.255.255.0
#
Interface Vlanif10
IP address 192.168.10.254 255.255.255.0
#
Interface MEth0/0/1
#
Interface Ethernet0/0/1
The port link -type access
#
Interface Ethernet0/.two survivors
#
Interface Ethernet0/0/3
#
Interface Ethernet0/0/4
#
Interface Ethernet0/0/5
#
Interface Ethernet0/0/6
#
Interface Ethernet0/0/7
#
Interface Ethernet0/0/8
#
Interface Ethernet0/0/9
#
Interface Ethernet0/0/10
#
Interface Ethernet0/0/11
The port link -type access
The port default vlan 10
#
Interface Ethernet0/0/12
#
Interface Ethernet0/0/13
#
Interface Ethernet0/0/14
#
Interface Ethernet0/0/15
#
Interface Ethernet0/0/16
#
Interface Ethernet0/0/17
#
Interface Ethernet0/0/18
#
Interface Ethernet0/0/19
#
Interface Ethernet0/0/20
#
Interface Ethernet0/0/21
#
Interface Ethernet0/0/22
#
Interface GigabitEthernet0/0/1
#
Interface GigabitEthernet0/.two survivors
#
Interface NULL0
#
The user - interface con 0
The user - interface vty 0 4
#
Return
[Huawei]
[Huawei]
[Huawei]


CodePudding user response:

Must first understand the role of the vlan, and reduce the broadcast domain,,, the same network segment, and different vlan is unable to access, and should be quarantined,,,
The same vlan, also not be able to access different network segments,,, because the radio host, other host can't respond,,,
  • Related