Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to configure Router as Switch

Hi,

In my scnario, I have take bandwidth from upstream provider and I have to distribute the bandwidth through DSLAM (Broadband).

I have a Cisco 2821 router between Upstream provider and DSLAM, but the service provider has given me 126 Public IPs which include the IPs of gateway and other equipment at service provider side. I have to give public IPs to my customers from the same subnet.

How to configure same subnet of IPs to both the sides of router or is there any method we can configure both the interface of the router as a switch? which solves my purpose.

Regards,

MSK

2 REPLIES
Community Member

Re: How to configure Router as Switch

Please check IRB feature and I hope this will help you.

Community Member

Re: How to configure Router as Switch

You need to bridge the interfaces as opposed to routing across them. Use the following;

*****

bridge irb

interface FastEthernet0/0

no ip address

bridge-group 1

exit

interface Dialer0

no ip address

bridge-group 1

exit

interface BVI1

ip address

exit

bridge 1 protocol ieee

bridge 1 route ip

*****

You can then use the public IP addresses on the inside of your router.

392
Views
0
Helpful
2
Replies
CreatePlease to create content