08-21-2020 05:03 PM
Hello folks-
Let's say I have VLANs 100, 200. And I want to route between these 2 VLANs.
VLAN 100 - Default Gateway 100.100.100.1/24 - MAC address - MAC100
VLAN 200 - Default Gateway 200.200.200.1/24 - MAC address - MAC200
Host on VLAN-A = 100.100.100.10/24 - MAC address - MACA
Host on VLAN-B = 200.200.200.20/24 - MAC address - MACB
Traffic is from HOST-A to HOST-B
SMAC: MACA
DMAC: MAC100
SIP: 100.100.100.10
DIP: 200.200.200.20
The packet will be routed, and the nexthop will point to VLAN interface 100.
Now, the packet that HOST-B receives, what will be the SMAC? Will this be MAC200 (the MAC address of vlan200 interface)?
Thanks for your time.
Solved! Go to Solution.
08-21-2020 10:33 PM
Hello
The L2 header towards HostB will be
SMAC=mac200
DMAC=macb
08-22-2020 08:14 AM
08-21-2020 10:33 PM
Hello
The L2 header towards HostB will be
SMAC=mac200
DMAC=macb
08-22-2020 08:14 AM
08-22-2020 09:24 AM
Is there a way to use the system Mac or a router Mac as the MAC address of all the IRB interfaces ?
08-22-2020 10:51 AM
08-22-2020 07:23 PM
Thanks Joseph. What is the difference between an IRB interface and an SVI interface? I believe the “interface vlan <vlan-Id>” is an SVI interface.
Thanks for your time.
08-23-2020 07:38 AM
08-24-2020 01:36 AM
Hello @s.ram ,
in most multlayer switch cisco platforms all the SVI interfaces use the same MAC address by default.
In some special cases you may need to change the MAC address of an SVI and you can use the mac command in SVI interface configuration mode.
These special cases include communication between SVIs in different VRFs via a trasparent FW for example.
Lilkely IRB interfaces should use the same MAC address but I'm not sure.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide