Three layer 3 switches interconnected, how to let the three is not an IP segment computer connected? Who is a great god will, please leave the order, I learn
CodePudding user response:
Well,,, dividing vlan set port?
CodePudding user response:
Don't set the IP, no gateway,,,, the PC can not access the
CodePudding user response:
refer to the second floor qq_45309500 response: don't set the IP, no gateway,,,, the PC can not access the Yes, that is to say, use what commands let him CodePudding user response:
One layer 3 switches, routing functions, the other two as a layer 2 switch is used, CodePudding user response:
reference 4 floor guan893314470 response: one layer 3 switches, routing functions, the other two as a layer 2 switch is used, The three switches is now a loop, there may be a broadcast storm, the need to build the STP, zha do? CodePudding user response:
reference 5 floor weixin_45031141 reply: Quote: refer to 4th floor guan893314470 response: one layer 3 switches, routing functions, the other two as a layer 2 switch is used, The three switches is now a loop, there may be a broadcast storm, the need to build the STP, zha do? STP is to switch the default CodePudding user response:
reference weixin_45031141 reply: 3/f Quote: refer to the second floor qq_45309500 response: didn't set the IP gateway,,,, PC can not access the Yes, that is to say, use what commands let him The configuration vlan and vlanif ah CodePudding user response:
There is no loop, three switch when routers use 1. The first configuration terminal equipment (PC) 2. To configure the routing exchange equipment 3. Verify SW1 Sys Sysname SW1 Vlan batch 10 20 30 Interface Vlanif1 IP address 172.16.1.254 255.255.255.0 Interface Vlanif10 IP address 172.16.10.1 255.255.255.0 Interface Vlanif30 IP address 172.16.30.1 255.255.255.0 Interface GigabitEthernet0/0/1 The port link -type access The port default vlan 10 Interface GigabitEthernet0/.two survivors The port link -type access The port default vlan 30 Ospf router 1 - id 1.1.1.1 Area 0.0.0.0 The network 172.16.1.0 0.0.0.255 The network 172.16.10.0 0.0.0.255 The network 172.16.30.0 0.0.0.255 SW2 Sys Sysname SW2 Vlan batch 10 20 30 Interface Vlanif1 IP address 172.16.2.254 255.255.255.0 Interface Vlanif10 IP address 172.16.10.2 255.255.255.0 Interface Vlanif20 IP address 172.16.20.2 255.255.255.0 Interface GigabitEthernet0/0/1 The port link -type access The port default vlan 10 Interface GigabitEthernet0/.two survivors The port link -type access The port default vlan 20 Ospf router 1 - id 2.2.2.2 Area 0.0.0.0 The network 172.16.2.0 0.0.0.255 The network 172.16.20.0 0.0.0.255 The network 172.16.10.0 0.0.0.255 SW3 Sys Sysname SW3 Vlan batch 10 20 30 Interface Vlanif1 IP address 172.16.3.254 255.255.255.0 Interface Vlanif20 IP address 172.16.20.3 255.255.255.0 Interface Vlanif30 IP address 172.16.30.3 255.255.255.0 Interface GigabitEthernet0/0/1 The port link -type access The port default vlan 20 Interface GigabitEthernet0/.two survivors The port link -type access The port default vlan 30 Ospf router 1 - id 3.3.3.3 Area 0.0.0.0 The network 172.16.3.0 0.0.0.255 The network 172.16.30.0 0.0.0.255 The network 172.16.20.0 0.0.0.255 CodePudding user response:
Switch is open the STP function by default, three switches interconnected also won't produce loop, One will have a switch port is blocked, This will affect the establishment of the OSPF neighbor, so the best turn off three switch function of STP, CodePudding user response:
refer to the second floor of the tomato, tomato reply: didn't set the IP gateway,,,, PC can not access the