10-12-2024 12:40 AM
Hello Everyone,
Hope all of you are doing fine. Recently I'm trying to make router routed interface into bridge interface so that I can send packet from PC1 to PC2 via same broadcasting bridge domain. I used iox-xr router for the LAB. My configuration is also given below. But still can't send packet from PC1 to PC2.
Both switch router connected port configured as trunk port. And PC connected ports are configure as access port with vlan 10. Please check my configuration and let me know is there my mistake ?
>>>>>>>>>>>>>>>>>>>>>Router Configuration<<<<<<<<<<<<<<<<<<<<<<<<<
interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10
!
interface BVI1
ipv4 address 192.168.0.1 255.255.255.240
!
l2vpn
bridge group CustomerA
bridge-domain bridge-domain1
mtu 8000
interface GigabitEthernet0/0/0/0.10
!
interface GigabitEthernet0/0/0/1.10
!
routed interface BVI1
!
!
!
end
10-12-2024 04:04 AM - edited 10-12-2024 10:28 AM
check below
MHM
10-12-2024 05:06 AM - edited 10-12-2024 05:23 AM
I already added. But still not getting ping PC1 to PC2 or BVI1 interface IP.
Found 3 AC up. I'm confused about below message. Am I getting any mac from my sub-interfaces ?
10-12-2024 05:53 AM
can I see the config of trunk in SW
MHM
10-12-2024 06:29 AM
Here added both switches configuration.
10-12-2024 06:33 AM
Use trunk instead of using access port in SW
10-12-2024 06:54 AM - edited 10-12-2024 06:55 AM
Still now not solved. Now Router and PC both connected port configured as Trunk port. Below given configuration.
interface GigabitEthernet0/0
description Connected to Router
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1
description Connected to PC2
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto
10-12-2024 06:58 AM - edited 10-12-2024 10:28 AM
check below
MHM
10-12-2024 07:19 AM
As your instruction configuration done. In switch I found only PC mac, not getting mac from router side.
Similary from router I found only my own router BVI interface mac, not getting any mac from switch/PC.
RP/0/0/CPU0:R1#show l2vpn forwarding bridge-domain mac-address location 0/0/CP$
Sat Oct 12 14:11:02.055 UTC
Mac Address Type Learned from/Filtered on LC learned Age Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
02c2.175a.a401 routed BD id: 0 N/A N/A N/A
RP/0/0/CPU0:R1#
Interface configuration on router.
interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10
10-12-2024 10:33 AM
share below if above config not work
show l2vpn bridge-domain group MHM bd-name MHMdomain
show l2vpn forwarding bridge-domain
10-12-2024 08:12 PM
Here is given my current configuation and your asking report.
interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
!
interface BVI1
ipv4 address 192.168.0.1 255.255.255.240
!
l2vpn
bridge group CustomerA
bridge-domain bridge-domain1
flooding disable
mtu 8000
interface GigabitEthernet0/0/0/2
!
interface GigabitEthernet0/0/0/0.10
!
interface GigabitEthernet0/0/0/1.10
!
routed interface BVI1
!
10-14-2024 12:11 AM
Sorry why you use flood disable??
MHM
10-15-2024 09:48 AM
Sorry for the late reply. Now I removed flooding disable option. But issue still remain. My existing os was XRv. Now I decided to try this full configuration with XRv 9000 os. And will update you soon.