I can't really understand why I'm getting overlapping addresses in subnets when they're between the allowed range.
I have the network 192.168.1.0/24, and I have to create 3 subnets:
A - 58 Hosts B - 28 Hosts C - 12 Hosts
Subnet A must be assigned to my R1 E0/0.10 sub interface, while B must be E0/0.20 and C to R2 E0/0
So I first created the subinterface .10 and .20 in R1 with
config t int e0/0.10 encapsulation dot1q 10 int e0/0.20 encapsulation dot1q 20
Then I calculated the subnet A. If I need 58 hosts, then a 255.255.255.192/26 should be good. The ranges would be from 192.168.1.1 to 192.168.1.62
So I went ahead and added the address to my .10 subint
config t int e0/0.10 ip add 192.168.1.1 255.255.255.192
And now I'm moving on to subnet B. 28 hosts, so the closest mask would be 255.255.255.224/27, with ranges 192.168.1.1 to 192.168.1.30
But if I try to add the address 192.168.1.2 255.255.255.224, I get the message "192.168.1.0 overlaps with Ethernet 0/0.10"
Why is it mentioning the original network address? How can I avoid this overlap then?