cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5798
Views
0
Helpful
3
Replies

Two routers with same gateway

I am configuring Router R1 and R2 with same default gateway IP 10.10.10.1 (/24) to make PCs reachable which have different host IP. What needs to be done ?
Please refer to the attachment.

3 Replies 3

Sergey Lisitsin
VIP Alumni
VIP Alumni

SumanBhandari6135,

 

Your entire topology and configuration is incorrect. You have split layer 2 domain. Also, routers can't just have the same IP address configured on them. That will cause an IP address conflict. What you need to do is to make sure your routers' LAN interfaces are in the same VLAN and then you can configure HSRP or VRRP to do first hop resiliency. Read this article:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swhsrp.html

 

Hello

As @Sergey Lisitsin stated, you will need at least the switchs to be interconnected via a trunk so to have resiliency when using FHRP such are HRSP or VRRP


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

you use same subnet (10.10.10.0/24)  both left and right in this diagram.

this topology is not incorrect as stated in other posts, 

It is not very common for a new design, but it could occur when merging two networks that both are using 10.10.10.0/24

 

-> both routers need to know which 10.10.10.1 is left and which is right, that needs an extra trick.

 

some solution is to use NAT on the interconnecting link

NAT left 10.10.10.0/24 to 10.10.100.0/24 on the interconnect

NAT right 10.10.10.0/24 to 10.10.101.0/24 on the interconnect

create routes so that routers know where to find these new subnets

from left use 10.10.101.1 to access the right 10.10.10.1 address

from right use 10.10.100.1 to access left 10.10.10.1 address

 

other solution is to use DMVPN in hub-and-spoke configuration

for this you need an extra router in the middle as hub