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

Overlapping

I had taken two PC and one Router 

PC 1 IP - 192.168.40.2

GATE 1 - 192.168.40.1

PC 2 IP - 192.168.40.130

GATE - 192.168.40.129

When I am trying to link these using IOS interface ..I can able to link PC 1 with the Router but when I try to link the PC 2 with it...it shows error writing " 192.168.40.0 overlaps with FastEthernet0/0 .Can please anyone solve this issue .I will be grateful.

2 Replies 2

Hello 

You need to make sure the networks dont overlapp, in your case looking at the addressing a possible solution would be.

RTR
interface 1 
192.168.40.1 255.255.255.128

PC1 
IP 192.160.40.2
SM 255.255.255.128
GW 192.168.40.1

 

RTR
interface 2 
192.168.40.129 255.255.255.128

PC2   
IP 192.160.40.130
SM 255.255.255.128
GW 192.168.40.129


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

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @subhamstripathy20707 ,

a router can have only one interface connected to an IP subnet, because its job is  to perform routing also called interworking between different IP subnets.

As already suggested you need to use on you fastethernet interfaces subnet masks that do not cause the overlapping error.

int fas0/0

ip address 192.168.40.1 255.255.255.128

 

int fas0/1

ip address 192.168.40.129 255.255.255.128

 

in this way network 192.168.40.0/24 has been subnetted in 192.168.40.0/25 and 192.168.40.128/25.

 

to be noted even more specific subnet masks would work from /25 to /30 and all of them avoid the overlapping  error.

 

Hope to help

Giuseppe

 

Review Cisco Networking for a $25 gift card