cancel
Showing results for 
Search instead for 
Did you mean: 

Routing between two vlans not working for the same client MAC address

Routing between two vlans not working for the same client MAC address

difan
New Contributor II

Hi team,

I am running into this issue while studying the VOSS in the EVE-NG environment. I am using this virtual 5520 running on 8.10.1.0 VOSS. I have a Cisco router connected to its Gi 1/1 interface to simulate client traffic. The Gi 1/1 is configured as a trunk port with V100 as the default vlan and V200 as the tagged. I have 10.0.45.1/24 and 10.0.54.1/24 configured on the V100 and V200 interfaces.

On the Cisco side, I have G0/0 with 10.0.45.4/24 configured in the Global VRF and 10.0.54.4/24 on the G0/0.200 sub-interface in the v200 VRF. I have default route in both VRF with GW of the 5520 IPs. 

Here is my config:

--- Extreme 5520 ---

vlan create 100 type port-mstprstp 0
vlan members 100 1/1-1/2 portmember
interface Vlan 100
ip address 10.0.45.1 255.255.255.0 1
exit
vlan create 200 type port-mstprstp 0
vlan members 200 1/1-1/2 portmember
interface Vlan 200
ip address 10.0.54.1 255.255.255.0 2

interface GigabitEthernet 1/1
default-vlan-id 100
untag-port-default-vlan enable
no shutdown
spanning-tree mstp edge-port true
exit

--- Cisco ---

interface GigabitEthernet0/0
ip address 10.0.45.4 255.255.255.0
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/0.200
encapsulation dot1Q 200
vrf forwarding v200
ip address 10.0.54.4 255.255.255.0
!

ip route 0.0.0.0 0.0.0.0 10.0.45.1
ip route vrf v200 0.0.0.0 0.0.0.0 10.0.54.1

The problem is that on the Cisco, I can't ping the IP (10.0.54.4) in the v200 VRF. I have checked ARP entries and they all look good. 

#show IP arp
10.0.45.4 50:00:00:10:00:00 100 1/1 DYNAMIC 1611
10.0.54.4 50:00:00:10:00:00 200 1/1 DYNAMIC 1617

The only thing is that it is the same MAC address for both IPs. However, it should be perfectly valid, correct? I did spun up another Cisco and connect on the G1/2 interface and I can ping between the routers fine. Am I missing something here? Thanks!

PS - I am able to ping the Extreme IPs (served as the gateway) on both VLANs from the Cisco. 

h4#ping 10.0.45.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.45.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
h4#ping vrf v200 10.0.54.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.54.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms

 

2 REPLIES 2

Brian_Anderson1
Contributor

I believe you are missing the 'encapsulation dot1q' command on your VOSS interface.  Here is an article, will have to scroll down for VOSS commands on how to do tagging on an interface. 

https://extreme-networks.my.site.com/ExtrArticleDetail?an=000086923&q=000086923%20

 

Hi Brian, this is not the case... I can ping both VLAN interfaces and see the correct ARP entries on the Cisco router... Here is the VLAN membership for the port

r7:1#show ports vlans 1/1
************************************************************************************
Command Execution Time: Tue Jun 04 15:20:49 2024 UTC
************************************************************************************

====================================================================================================
Port Vlans
====================================================================================================
PORT DISCARD DISCARD DEFAULT VLAN PORT UNTAG DYNAMIC UNTAG
NUM TAGGING TAGFRAM UNTAGFRAM VLANID IDS TYPE DEFVLAN VLANS VLANS
-----------------------------------------------------------------------------------------------------------
1/1 enable false false 100 100,200 normal enable P 100
----------------------------------------------------------------------------------------------------
DYNAMIC VLAN Legend:
P=Protocol enabled.
r7:1#

The routing also works fine between two different routers... Thanks

GTM-P2G8KFN