Switching between one router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 08:43 AM - edited 09-16-2019 08:44 AM
Trying to route between two networks using ONE Cisco 1951 router. 192.168.0.x on G 0/0, and 192.168.1.x on G 0/1.
config t
int g 0/0
ip address 192.168.0.1 255.255.255.0
ip route 192.168.1.0 255.255.255.0 g 0/1
no shutdown
exit
config t
int g 0/1
ip address 192.168.1.1 255.255.255.0
ip route 192.168.0.0 255.255.255.0 g 0/0
no shutdown
exit
Static route does not show up in ip route
I can ping 1.1 and 0.1 from either side
Can't ping anything else on 0.x side from 1.x and visa-versa.
What am I missing? I don't have any other other routers, nor an Internet connection. This is a lab.
Help!
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 09:00 AM
Hell
You dont say where your trying to connect to these subnets from?
However the reason why they don't show up in the route table as static routes is that those two subnets are connected routes>
sh ip route connected
int g 0/0
ip address 192.168.0.1 255.255.255.0
int g 0/1
ip address 192.168.1.1 255.255.255.0
ip route 192.168.0.0 255.255.255.0 g 0/0
ip route 192.168.1.0 255.255.255.0 g 0/1
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 11:06 AM
Connected interfaces have routing "priority" over static route statements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 11:30 AM
These are different networks.
The show ip route connected list both a C and L connection for each. Two networks both variably subnetted and directly connected.
I would think that Cisco would automatically route between these two as they are both connected to same router.
I'm pretty sure all my routing stuff isn't being used as it seemingly has no effect on my ip route connections.
It's a brand new router with no script to speak of.
All I'm really trying to do is to connect one host on 192.168.0.x to another on 192.168.1.x and visa-versa.
Any suggestions are worth trying.
Thanks in advance for your help.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 12:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2019 04:27 AM
Hmm. Maybe. I might have this wrong.
Right now, if my host is on the 192.168.0 network, they point to 192.168.0.1 (the ip address of G 0/0)
Should the point to 192.168.1.1, the ip address of g 0/1? and visa-versa?
g 0/0 ip address 192.168.0.1
g 0/1 ip address 192.168.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2019 08:38 AM
What kind of hosts (as some hosts, like Windows, might have a firewall blocking traffic)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2019 05:08 PM
Yep. Same thought came to me last night.
Sure enough, that's what is was.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019 08:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019 08:01 AM
Yes. Thank you so much.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 10:10 AM
Hello,
I might have missed that one, but I have never heard of a 1951 model ? 1941 and 2951, yes, but not 1951. Is that a typo ? Can you post the output of 'sh ver' ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 11:20 AM
Sorry Georg - typo.
Cisco 1941
Bob
