Routing

akashemakashem Member Posts: 2 ■□□□□□□□□□
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

Comments

  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    you need to select a routing protocol and then advertise the networks using the network x.x.x.x statement
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • DrakonblaydeDrakonblayde Member Posts: 542
    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
    = Marcus Drakonblayde
    ================
    CCNP-O-Meter:
    =[0%]==[25%]==[50%]==[75%]==[100%]
    ==[X]===[X]====[ ]=====[ ]====[ ]==
    =CCNA==BSCI==BCMSN==BCRAN==CIT=
  • akashemakashem Member Posts: 2 ■□□□□□□□□□
    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#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    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.
    the More I know, that is more and More I dont know.
Sign In or Register to comment.