Alcatel Switch VLAN: Ping Issue
Swark
-
semper -
semper -
Hello,
I need to set up 2 VLANs. I have two Alcatel 6850 switches.
Here is my config:
Switch 1: Vlan 2 -> 192.168.2.100 -> PC2 192.168.2.1
Vlan 10 -> 192.168.10.100 -> PC1 192.168.10.1
I can ping PC2 from PC1 and vice versa.
Switch 2: Vlan 2 -> 192.168.2.100 -> PC3 192.168.2.3
On this switch, in VLAN 2, I have PC3 and internet coming from my BOX (192.168.2.1)
With PC2, I can ping PC3.
To do this, I set up a trunk port on both switches: vlan 2 802.1q 1/22
But my problem is that from PC1, I can't ping PC3 ....
Looking online, I saw that I need to set a static route on my Switch2:
ip static-route 192.168.10.0 gateway 192.168.2.100
And I get an error message:
ERROR: static routes with gw same as local ip interface address not allowed
I'm stuck here for several days. I've tried setting up OSPF, adding a third switch, etc... But nothing works...
If anyone has a solution, I’m all ears!!
Thanks in advance! :)
I need to set up 2 VLANs. I have two Alcatel 6850 switches.
Here is my config:
Switch 1: Vlan 2 -> 192.168.2.100 -> PC2 192.168.2.1
Vlan 10 -> 192.168.10.100 -> PC1 192.168.10.1
I can ping PC2 from PC1 and vice versa.
Switch 2: Vlan 2 -> 192.168.2.100 -> PC3 192.168.2.3
On this switch, in VLAN 2, I have PC3 and internet coming from my BOX (192.168.2.1)
With PC2, I can ping PC3.
To do this, I set up a trunk port on both switches: vlan 2 802.1q 1/22
But my problem is that from PC1, I can't ping PC3 ....
Looking online, I saw that I need to set a static route on my Switch2:
ip static-route 192.168.10.0 gateway 192.168.2.100
And I get an error message:
ERROR: static routes with gw same as local ip interface address not allowed
I'm stuck here for several days. I've tried setting up OSPF, adding a third switch, etc... But nothing works...
If anyone has a solution, I’m all ears!!
Thanks in advance! :)
1 answer
Hello,
A small diagram would be welcome.
If you want to do inter-VLAN routing, take a look here.
http://www.it-connect.fr/mise-en-place-de-vlans-et-de-routage-inter-vlans/
The definition of trunk can vary from one manufacturer to another.
At Cisco, trunk = multiple VLANs
At HP, for example, trunk = port aggregation.
Best regards
A small diagram would be welcome.
If you want to do inter-VLAN routing, take a look here.
http://www.it-connect.fr/mise-en-place-de-vlans-et-de-routage-inter-vlans/
The definition of trunk can vary from one manufacturer to another.
At Cisco, trunk = multiple VLANs
At HP, for example, trunk = port aggregation.
Best regards