I have two routers that are connected with a DCE cable on Interface Se2/0(both sides).
The two routers have one computer each with ip addresses as:
1.1.1.1
with mask255.255.255.0
-> router1 IP on interfaceFa0/0
2.2.2.2
with mask255.255.255.0
-> router2 IP on interfaceFa0/0
The ip addresses on interfaces Se2/0 are set as:
11.11.11.11
with mask255.255.255.0
-> router1 IP on interfaceSe2/0
22.22.22.22
with mask255.255.255.0
-> router1 IP on interfaceSe2/0
Adding the routes should go as:
ip route 2.2.2.0 255.255.255.0 22.22.22.22
-> for router1.ip route 1.1.1.0 255.255.255.0 11.11.11.11
-> for router2.
However, these routes aren't established. If I use the show ip route
command, it shows(router1 inpute for example),without the route shown:
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, FastEthernet0/0
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, Serial2/0
What am I doing wrong? My initial thought is I'm messing up the masks? Because I tried another address(for example 10.0.0.1
with mask 255.255.255.252
) and it worked.
Networks and configuration(for only one router, symetric with the other router):
{}
) on it.