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

IP Overlapping in Sub Interfaces

samcturner6
Level 1
Level 1

I am in the middle of planning a Small Enterprise Network in Cisco Packet Tracer. I am trying to get my sub interfaces working so my VLANs can communicate. When I try and apply some of my IP Addresses. I says that some are overlapping. Could somebody help me with what this is? I understand subnets and how they work, but I cannot see how they are overlapping. If you need anymore information, please please ask. I need help! 

The ones I have highlighted yellow are the ones which say there are overlapping

Also, this is a general appearance of my network. I'm setting up my sub interfaces on DIST_ROUTER using the following CLI:

int fa0/0.101

encap dot1q 101

ip address X.X.X.X X.X.X.X

Then repeat

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

You cannot just go from where your last subnet left off if you use a different subnet mask ie.

172.16.0.12/29 is not a subnet. The actual subnet is 172.16.0.8/29 but you can see you have already used that subnet.

If you are unsure how that works /29 = 255.255.255.248. Take the first non 255 octet and subtract from 256 ie.-

 256 - 248 = 8 so with that subnet mask your networks go up in 8.

And 12 is not a multiple of 8 so that cannot be the subnet. The router will work it out as 172.16.0.8/29 because 172.16.0.12 falls within that range.

To split up a class C into variable length subnets always start with the largest subnet first and then work your way down ie.. your /26 should be first, then your /27s, /29's and then 30's eg.

172.16.0.0/26
172.16.0.64/27
172.16.0.96/27
172.16.0.128/29
172.16.0.136/29
etc..

If you work them out in that order it will work properly. If you try and do it your way and mix up the subnet masks it doesn't work as well and you end up wasting IPs.

Jon

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

You cannot just go from where your last subnet left off if you use a different subnet mask ie.

172.16.0.12/29 is not a subnet. The actual subnet is 172.16.0.8/29 but you can see you have already used that subnet.

If you are unsure how that works /29 = 255.255.255.248. Take the first non 255 octet and subtract from 256 ie.-

 256 - 248 = 8 so with that subnet mask your networks go up in 8.

And 12 is not a multiple of 8 so that cannot be the subnet. The router will work it out as 172.16.0.8/29 because 172.16.0.12 falls within that range.

To split up a class C into variable length subnets always start with the largest subnet first and then work your way down ie.. your /26 should be first, then your /27s, /29's and then 30's eg.

172.16.0.0/26
172.16.0.64/27
172.16.0.96/27
172.16.0.128/29
172.16.0.136/29
etc..

If you work them out in that order it will work properly. If you try and do it your way and mix up the subnet masks it doesn't work as well and you end up wasting IPs.

Jon

That's great. Thanks for the information! So would you recommend me placing my interfaces last in the list? Or should I still keep those in the region of 172.16.0.0-35 and then start from there with my main subnets? Once again, thank you for the information regarding the network address needing to be a multiple of the amount of addresses. I did not know this before.
Review Cisco Networking for a $25 gift card