Skip navigation
Login   |   Register
Cisco Learning Home > Certifications > Routing & Switching (CCNP) > Discussions


3004 Views 3 Replies Latest reply: Jun 5, 2009 1:12 AM by Hari ktm RSS

Currently Being Moderated

static routing

Jun 4, 2009 4:13 AM

Hari ktm 11 posts since
Jun 4, 2009



please clarify the difference b/w

ip route s0/0


ip route so/o

  • Conwyn 9,674 posts since
    Sep 10, 2008
    Currently Being Moderated
    1. Jun 4, 2009 4:42 AM (in response to Hari ktm)
    Re: static routing

    Hi Hari


    ip route s0/0 is correct convention for a default route for a non-multi-access technology

    ip route fa0/0 1 is the correct syntax for a multi-access techology. The fa0/0 is optional generally but there are specific examples when to code it.



    Regards Conwyn

    Join this discussion now: Login / Register
  • Matt Kerry 283 posts since
    Jun 26, 2008
    Currently Being Moderated
    2. Jun 4, 2009 6:20 AM (in response to Hari ktm)
    Re: static routing



    The difference is that your second command is not a default route, whereas your first one is.


    The mask used in the command ip route specifies which bits of the address you're interested in.  When you use a zero in the mask, you're saying I don't care about the bits in this portion, match anything.  Using 255 is the total opposite.


    The only packets that would match your second route command are those with the destination address  This is a mistake.


    If you put those two routes into a router it looks like this.  Notice the deafult route is set and your candidate default is marked with the asterix.



    Router#sh ip ro
    *Mar  1 00:02:08.531: %SYS-5-CONFIG_I: Configured from console by consoleute
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route


    Gateway of last resort is to network


    C is directly connected, Serial0/0
    S is directly connected, Serial0/0
    S* is directly connected, Serial0/0

    Join this discussion now: Login / Register


More Like This

  • Retrieving data ...

Bookmarked By (0)