
Network topology as above, H3CS3310 core switch, do the following configuration
Interface Vlan - interface1
IP address 192.168.0.254 255.255.255.0
Interface Vlan - interface2
IP address 192.168.5.254 255.255.255.0
Interface Vlan - interface3
IP address 192.168.10.254 255.255.255.0
Interface Ethernet1/0/1
The port link -type trunk
The port trunk permit vlan all
Interface Ethernet1/.two survivors
The port link -type trunk
The port trunk permit vlan all
IP route -static 0.0.0.0 0.0.0.0 192.168.0.1
Huawei S2700 two configuration is the same configuration as follows
Interface Vlanif2
IP address 192.168.5.52 255.255.255.0
#
Interface GigabitEthernet0/0/1
The port link -type trunk
The port trunk allow - pass vlan 2 to 4094
Interface Ethernet0/0/10//5.51
The port link -type access
The port default vlan 1
Interface Ethernet0/0/10//5.52
The port link -type access
The port default vlan 2
IP route -static 0.0.0.0 0.0.0.0 192.168.5.254
Problems come out, according to the configuration mode, no matter in which VLAN, can ping and gateway switch corresponds to the three VLAN IP,
But only 192.168.0. X segment of the PC, can on the network between different vlans PC cannot ping each other, please everyone a great god, where is my configuration is there a problem? Or have other solutions to the ah, I want to ensure that each segment of the PC can be Shared, in controlled circumstances, on a network segment to the network, or can be in the network ~
CodePudding user response:
Check the gateway switch routing table to generate? Generate, check whether the PC configuration corresponding vlan IP gateway switches for the gateway? The most beautiful ping other IP network segment, the echo is what? Normal impassability gateway exchange opportunity given icmp message,CodePudding user response:
It is as you say, ospf? Or other operations? Ospf this 3310 gateway switches I've tried, does not support this feature,CodePudding user response: