01-17-2017 04:26 PM - edited 03-08-2019 08:56 AM
Hi guys,
Little stuck with a router config, can't get the networks to speak to each other - new to this but can't see why this shouldn't work!
Router1
Fa0/0 connected to a switch and advertising 10.1.1.0/24 (10.1.1.1 assigned)
Fa0/1 connected to Router2 via 10.9.9.8/31 (10.9.9.9 assigned)
Router2
Fa0/0 connected to a switch and advertising 192.168.1.0/24 (192.168.1.1 assigned)
Fa0/1 connected to Router1 via 10.9.9.8/31 (10.9.9.10 assigned)
All ports are configured and up, and I can ping from hosts to routers on both sides and between routers but the traffic won't cross routers from 192.168.1.0/24 into 10.1.1.0/24 over the 10.9.9.8/31, what am I missing?
Regards,
Matt
01-17-2017 04:36 PM
Hi Matt,
Have you actually added the static routing you require to route accross the network
Router 1
!
ip route 192.168.1.0 255.255.255.0 10.9.9.10 name route-to-router2
!
Router 2
!
ip route 10.1.1.0 255.255.255.0 10.9.9.9 name route-to-router1
!
Also will you change the mask on subnet 10.9.9.8/31 tp 10.9.9.8/30 (255.255.255.252)
if you want to use .9 & .10
Regards
Alex
01-17-2017 05:03 PM
Says "invalid next hop (it's the router)
Please see attached topology
I can ping;
From PC1 to 10.1.1.1 + 10.9.9.9
From PC0 tp 192.168.1.1 + 10.9.9.10
From Router0 to Router1
From Router 1 to Router0
I Cannot ping;
From PC1 to 10.9.9.10
From PC0 to 10.9.9.9
Basically whenever the connection passes between routers
01-17-2017 05:21 PM
Hi Matt,
Looking at your diagram
You need to get the masks sorted out on both routers
Your router configs should be:-
Router 0
!
host router0
!
int fas0/0
desc *** *** ROUTER 0 PC LAN *** ***
ip add 10.1.1.1 255.255.255.0
no shut
!
int fas0/1
desc *** ROUTER 0 to ROUTER 1 WAN ***
ip add 10.9.9.9 255.255.255.252
no shut
!
!
ip route 192.168.1.0 255.255.255.0 10.9.9.10 name route-to-router1
!
Router 1
!
host router1
!
int fas0/0
desc *** *** ROUTER 1 PC LAN *** ***
ip add 192.168.1.1 255.255.255.0
no shut
!
int fas0/1
desc *** ROUTER 1 to ROUTER 9 WAN ***
ip add 10.9.9.10 255.255.255.252
no shut
!
!
ip route 10.1.1.0 255.255.255.0 10.9.9.9 name route-to-router1
!
Make sure that the PCs have the local router address as their default gateways
Regards
Alex
01-18-2017 01:17 AM
Hi Alex,
Thanks for getting back to me, the subnets look correct to me?
10.9.9.8/30 =
10.9.9.8 Network
10.9.9.9-10 hosts (assigned)
10.9.9.9.11 Broadcast
Doesn't it?
/30 = 255.255.255.252
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