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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Connecting 2 routers which have the same LAN subnet

I have 2 routers that I want to connect via ISDN. That works. The problem is that on both side, the subnet are the same: 172.17.0.0 and I can not change them. Is there a solution to make that possible?

Thanks

1 REPLY

Re: Connecting 2 routers which have the same LAN subnet

Yes. Use ip nat on one router.

int e0

ip nat inside

int bri0

ip nat outside

access-list 1 permit 172.17.0.0 0.0.255.255

ip nat pool net-192 192.168.1.0 192.168.1.254 prefix-length 24

ip nat pool net-10 10.0.1.0 10.0.1.255 prefix-length 24

ip nat inside source list 1 pool net-192

ip nat outside source list 1 pool net-10

This way packets from inside will get translated to 192.168.1.x and packets sourced from outside will get translated to 10.0.1.x.

Hope it helps.

Steve

88
Views
4
Helpful
1
Replies