04-26-2021 12:09 PM
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?
04-26-2021 05:33 PM
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)
04-26-2021 10:56 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide