Categories
Welcome Center
Education & Development
Cyber Security
Virtualization
General
Certification Preparation
Project Management
Posts
Groups
Training Resources
Infosec
IT & Security Bootcamps
Practice Exams
Security Awareness Training
About Us
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
Routing
akashem
Hi,
I have Cisco 1720 router with two interfaces. I am trying to route between two networks 192.168.1.0 and 10.0.0.0. How do I setup if traffic for one network e.g. 10.0.0.0 to go one route and any other traffic to default route.
(for example)
I have setup
ip route 0.0.0.0 0.0.0.0 172.16.1.1
ip route 10.0.0.0 255.255.255.0 10.0.0.1
Would appreciate if you could help,,
Thanks,
Akash
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
keenon
you need to select a routing protocol and then advertise the networks using the network x.x.x.x statement
Drakonblayde
Well, he doesn't have to, he *can* use static routes, though it'd probably be easier to use RIP. But he really shouldn't be using a default route if he just wants to go between two interfaces. He just needs to setup a route for the other network, the router will know where to send the inbound
akashem
Thanks both for replying, all I am trying to do is any traffic for network 10.0.0.0 should go via 10.0.0.1 next hop, and all other traffic should go through next hop 172.16.1.1. So I can access any host from each subnet.
question - do I need an access list for this, my route is
ip route 0.0.0.0 0.0.0.0 172.16.1.1
ip route 10.0.0.0 255.255.255.0 10.0.0.1
Would appreciate if you guys could help please.
Thanks.
akash
rossonieri#1
i'm a little bit confuse about the Q.
how many router involve?
if i understand correctly, 2 static route will do that, while using routing prot will automatically choose the best path to reach your dest - not allowing us to pick one unless you configure the metric.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS