Home > other >  VLAN and routing experiment for help
VLAN and routing experiment for help

Time:11-26



Excuse me each expert, pictured above, then eNSP experiment, PC2ping impassability pc1 and PC3 can Ping pc1, by the same token, the PC5 can Ping pc1, but PC4ping impassability pc1, could you tell me what's the problem? (three layers is OSPF area, each vlanif2/3/5 can ping each other)

And I change the PVID trunk to 20, PC3 tong, also feel and PVID it doesn't matter ah ~ ~ please great god guide, thank you!

CodePudding user response:

We have TRUNK configuration of switches and access switches, whether this is a question of PVID, or PC2 and vlanif3 isn't in the same broadcast domain?
LSW1 - GigabitEthernet0/0/1 dis this
#
Interface GigabitEthernet0/0/1
The port link -type trunk
The port trunk pvid vlan 2
The port trunk allow - pass vlan 2 to 3
#


LSW3 - GigabitEthernet0/.two survivors dis this
#
Interface GigabitEthernet0/.two survivors
The port link -type trunk
The port trunk pvid vlan 2
The port trunk allow - pass vlan 2 to 4094
#

CodePudding user response:

If PC2 and vlanif3 caused not in the same broadcast domain, before I made such an experiment, vlanif10 and vlanif20 configuration on lsw1 and LSW2 respectively, in the middle is configured with a static routing, PC1-4 can be Shared, could you tell me how do you explain that?

CodePudding user response:

refer to the second floor qq_46049904 response:
if PC2 and vlanif3 caused not in the same broadcast domain, before I made such an experiment, vlanif10 and vlanif20 configuration on lsw1 and LSW2 respectively, in the middle is configured with a static routing, PC1-4 can be Shared, could you tell me how do you explain that?

Answer your question first. Because you are in SW1 and SW2 routing, namely VLANIF, so it can communicate.
SW1 and SW2 or direct... You can see in the routing table.

CodePudding user response:

reference 1st floor qq_46049904 response:
we have TRUNK configuration of switches and access switches, whether this is a question of PVID, or PC2 and vlanif3 isn't in the same broadcast domain?
LSW1 - GigabitEthernet0/0/1 dis this
#
Interface GigabitEthernet0/0/1
The port link -type trunk
The port trunk pvid vlan 2
The port trunk allow - pass vlan 2 to 3
#


LSW3 - GigabitEthernet0/.two survivors dis this
#
Interface GigabitEthernet0/.two survivors
The port link -type trunk
The port trunk pvid vlan 2
The port trunk allow - pass vlan 2 to 4094
#



Insufficient. All code analysis to 135 switch code.
General supervisor of switches, configuration of time to write directly in front of the
P l t
P a t a v
Undo a p t v 1

So, to ensure that all data can be forwarded.

You this is simpler, there is no complicated problem, take a closer look at each port configuration. Sometimes the IP may write wrong, check yourself in luo

CodePudding user response:

[LSW5] dis cu
#
Sysname LSW5
#
Vlan batch 5 to 35 45
#
Cluster enable
NTDP enable
NDP enable
#
Drop the illegal - MAC alarm
#
Diffserv domain default
#
Drop - profile default
#
Aaa
The authentication scheme - the default
Authorization - scheme default
Accounting - scheme default
Domain default
Domain default_admin
Local - user admin password simple admin
Local - user admin service -type HTTP
#
Interface Vlanif1
#
Interface Vlanif5
IP address 192.168.5.1 255.255.255.0
#
Interface Vlanif35
IP address 10.1.1.2 255.255.255.0
#
Interface Vlanif45
IP address 10.1.2.2 255.255.255.0
#
Interface MEth0/0/1
#
Interface GigabitEthernet0/0/1
The port link -type trunk
The port trunk pvid vlan 35
The port trunk allow - pass vlan 2 to 4094
#
Interface GigabitEthernet0/.two survivors
The port link -type trunk
The port trunk pvid vlan 45
The port trunk allow - pass vlan 2 to 4094
#
Interface GigabitEthernet0/0/3
The port link -type access
The port default vlan 5
#
Interface GigabitEthernet0/0/4
#
Interface GigabitEthernet0/0/5
#
Interface GigabitEthernet0/0/6
#
Interface GigabitEthernet0/0/7
#
Interface GigabitEthernet0/0/8
#
Interface GigabitEthernet0/0/9
#
Interface GigabitEthernet0/0/10
#
Interface GigabitEthernet0/0/11
#
Interface GigabitEthernet0/0/12
#
Interface GigabitEthernet0/0/13
#
Interface GigabitEthernet0/0/14
#
Interface GigabitEthernet0/0/15
#
Interface GigabitEthernet0/0/16
#
Interface GigabitEthernet0/0/17
#
Interface GigabitEthernet0/0/18
#
Interface GigabitEthernet0/0/19
#
Interface GigabitEthernet0/0/20
#
Interface GigabitEthernet0/0/21
#
Interface GigabitEthernet0/0/22
#
Interface GigabitEthernet0/0/23
#
Interface GigabitEthernet0/0/24
#
Interface NULL0
#
Ospf router 1 - id 5.5.5.5
Area 0.0.0.0
The network 192.168.5.0 0.0.0.255
The network 5.5.5.5 0.0.0.0
The network 10.1.1.0 0.0.0.255
The network 10.1.2.0 0.0.0.255
#
The user - interface con 0
The user - interface vty 0 4
#
Return

CodePudding user response:

Enter the system view, return the user view with Ctrl + z.
[LSW3] DIS CU
#
Sysname LSW3
#
Vlan batch 2 to 3 35
#
Cluster enable
NTDP enable
NDP enable
#
Drop the illegal - MAC alarm
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related