cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
893
Views
0
Helpful
2
Replies

Why do these addresses overlap?

bkdeaton1004
Level 1
Level 1

I have a router (R1) connected to a switch via it's G0/0 interface and connected to another router (R2) via it's S0/1/0 interface. I set the address on G0/0 to 201.173.22.129/24, however when I attempt to set the address of S0/1/0 to 201.173.22.162/30, it gives the following error message: 201.173.22.160 overlaps with GigabitEthernet 0/0

 

Why is this happening?

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

If you configure an interface with 201.173.22.129/24 then it includes addresses beginning at 201.173.22.0 and extending to 201.173.22.255. When you attempt to configure another interface with 201.173.22.162 then it should be fairly clear that this address is included within the range of addresses of the first configuration. That is the overlap that the message mentions. If you want 201.173.22.162 to work  then you need to change the mask of the first interface from /24 to /27 (or something even smaller)

 

HTH

Rick

balaji.bandi
Hall of Fame
Hall of Fame

You need to do subnet, you can not allocate 1 Interface with /24 subnet mask another one with /30 - need IP address planning.

 

So first make the /24 subnet smaller and start using as per the requirement.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card