How to bridge two or more network ports on Cisco routers

The objective of this lab is to bridge the two interfaces on the router and have the two connected PCs on the same subnet. We have learned that routers break up broadcast domains by default, this lab shows one of those scenarios where a router can be configured to not break up broadcast domains.

One would think that implementing a solution like this should be relatively easy. Well, on a platform like the Mikrotiky RouterOS, it is. Thanks to its graphical guser interface. Can the same thing be said of the Cisco IOS? In this article, we will find out.

From the network diagram below, we want to bundle the two interfaces on the router, connecting to the PCs, into one network and assign an IP to the bridge.

To do this, we create a bridge and make the two interfaces members of that bridge, and then, assign an IP to that bridge. The given IP will be associated with all members of the bridge known as the Bridg-group Virtual Interface (BVI). Here is how it is down.

bridging network ports

 

You may also like: how to bridge network ports on Mikrotik routers

For users running the Cisco ios on integrated services router, the commands below will guide you.

How to bridge ports on Cisco ISR

Router(config)#hostname timigate.com
timigate.com(config)#bridge irb
timigate.com(config)#bridge 1 protocol ieee
timigate.com(config)#bridge 1 route ip
timigate.com(config)#int f0/0
timigate.com(config-if)#bridge-group 1
timigate.com(config-if)#no shut
timigate.com(config-if)#int f0/1
timigate.com(config-if)#bridge-group 1
timigate.com(config-if)#no shut
timigate.com(config-if)#exit
timigate.com(config)#int bvi 1
timigate.com(config-if)#ip add 192.168.1.1 255.255.255.0
timigate.com(config-if)#exit
timigate.com(config)#exit
timigate.com#copy run start.

bridging network ports

For users on the XE platform designed for the Cisco ASR series, the commands below will suffice.

How to bridge ports on Cisco ASR

timigate(config)#int g0/0/1
timigate(config-if)#no ip add
timigate(config-if)#service instance 100 ethernet
timigate(config-if)#encapsulation untagged
timigate(config-if)#bridge-domain 100
timigate(config)#int g0/0/2
timigate(config-if)#no ip add
timigate(config-if)#service instance 100 ethernet
timigate(config-if)#encapsulation untagged
timigate(config-if)#bridge-domain 100

 

Assign IP addresses from the same network to PC1 and PC2 and test.

This lab was performed, using a Cisco integrated services router on gns3. That is how quick and easy it is to bridge ports on any Cisco router.

If you enjoyed this tutorial, please subscribe to this blog to receive my posts via email. Also subscribe to my YouTube channel, like my Facebook page and follow me on Twitter

Spread the love

4 thoughts on “How to bridge two or more network ports on Cisco routers”

Leave a Comment