basic load-sharing question?

Discussion in 'Cisco' started by Captain, Sep 10, 2004.

  1. Captain

    Captain Guest

    I'm trying to load share on a Cisco3640.

    I tried the following, but all the packets
    want to use the z.z.z.z connection only.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !
    ip route x.x.x.0 255.255.255.0 z.z.z.z
    ip route x.x.x.0 255.255.255.0 y.y.y.y
    !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Is there not an easy way of telling the
    packets to use BOTH gateways?
     
    Captain, Sep 10, 2004
    #1
    1. Advertising

  2. Captain

    Doan Guest

    I don't think you can do load-sharing with static routes. You need to
    use a routing protocol that support load sharing.

    Doan

    On Fri, 10 Sep 2004, Captain wrote:

    > I'm trying to load share on a Cisco3640.
    >
    > I tried the following, but all the packets
    > want to use the z.z.z.z connection only.
    >
    > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > !
    > ip route x.x.x.0 255.255.255.0 z.z.z.z
    > ip route x.x.x.0 255.255.255.0 y.y.y.y
    > !
    > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >
    > Is there not an easy way of telling the
    > packets to use BOTH gateways?
    >
    >
     
    Doan, Sep 11, 2004
    #2
    1. Advertising

  3. Captain wrote:

    > I'm trying to load share on a Cisco3640.
    >
    > I tried the following, but all the packets
    > want to use the z.z.z.z connection only.
    >
    > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > !
    > ip route x.x.x.0 255.255.255.0 z.z.z.z
    > ip route x.x.x.0 255.255.255.0 y.y.y.y
    > !
    > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >
    > Is there not an easy way of telling the
    > packets to use BOTH gateways?


    It should do so by default, unless all your packets have the *exact*
    same destination. IOS does per-destination loadsharing by default when
    fast switching is enabled, so all packets for the same host will always
    take the same path.

    Two ways around this:

    Disable fast switching ('no ip route-cache'). And watch your router go
    into meltdown if you have serious traffic...

    Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.

    But the answer might be simpler than that. is the y.y.y.y route *in the
    routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    isn't reachable for some reason, and the z.z.z.z route is the only one
    that actually works.

    Regards,

    Marco.
     
    M.C. van den Bovenkamp, Sep 11, 2004
    #3
  4. Doan wrote:

    > I don't think you can do load-sharing with static routes. You need to
    > use a routing protocol that support load sharing.


    Nope. Statics will load-share just fine.

    Regards,

    Marco.
     
    M.C. van den Bovenkamp, Sep 11, 2004
    #4
  5. Captain

    Ben Guest

    Also many people forget this will only result in OUTBOUND traffic being
    load-shared, unless you have same setup on the connected routers.


    "M.C. van den Bovenkamp" <> wrote in message
    news:41424195$0$92786$4all.nl...
    > Captain wrote:
    >
    > > I'm trying to load share on a Cisco3640.
    > >
    > > I tried the following, but all the packets
    > > want to use the z.z.z.z connection only.
    > >
    > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > > !
    > > ip route x.x.x.0 255.255.255.0 z.z.z.z
    > > ip route x.x.x.0 255.255.255.0 y.y.y.y
    > > !
    > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > >
    > > Is there not an easy way of telling the
    > > packets to use BOTH gateways?

    >
    > It should do so by default, unless all your packets have the *exact*
    > same destination. IOS does per-destination loadsharing by default when
    > fast switching is enabled, so all packets for the same host will always
    > take the same path.
    >
    > Two ways around this:
    >
    > Disable fast switching ('no ip route-cache'). And watch your router go
    > into meltdown if you have serious traffic...
    >
    > Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    >
    > But the answer might be simpler than that. is the y.y.y.y route *in the
    > routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    > isn't reachable for some reason, and the z.z.z.z route is the only one
    > that actually works.
    >
    > Regards,
    >
    > Marco.
    >
     
    Ben, Sep 11, 2004
    #5
  6. Ben wrote:

    > Also many people forget this will only result in OUTBOUND traffic being
    > load-shared, unless you have same setup on the connected routers.


    Very true. But that wasn't how I read his problem, although it might be;
    depends on what he means by 'all the packets want to use the z.z.z.z
    connection only'.

    Regards,

    Marco.
     
    M.C. van den Bovenkamp, Sep 11, 2004
    #6
  7. Captain

    Captain Guest

    On Sat, 11 Sep 2004 02:06:42 +0200, "M.C. van den Bovenkamp"
    <> wrote:

    >Captain wrote:
    >
    >> I'm trying to load share on a Cisco3640.
    >>
    >> I tried the following, but all the packets
    >> want to use the z.z.z.z connection only.
    >>
    >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> !
    >> ip route x.x.x.0 255.255.255.0 z.z.z.z
    >> ip route x.x.x.0 255.255.255.0 y.y.y.y
    >> !
    >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >>
    >> Is there not an easy way of telling the
    >> packets to use BOTH gateways?

    >
    >It should do so by default, unless all your packets have the *exact*
    >same destination. IOS does per-destination loadsharing by default when
    >fast switching is enabled, so all packets for the same host will always
    >take the same path.
    >

    ==================================================

    Yes, the exact same destination.

    ==================================================
    >
    >Two ways around this:
    >
    >Disable fast switching ('no ip route-cache'). And watch your router go
    >into meltdown if you have serious traffic...
    >

    ==================================================

    I'm not sure what "serious traffic" is, but I would say YES, this
    production router has a LOT of traffic on it!!

    ==================================================
    >
    >Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    >

    ==================================================

    Do to the other configuration on this router,(which I'm trying not
    to mess up), I can't seem to get 'ip load-sharing per-packet' to
    do anything?

    ==================================================
    >
    >But the answer might be simpler than that. is the y.y.y.y route *in the
    >routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    >isn't reachable for some reason, and the z.z.z.z route is the only one
    >that actually works.
    >

    ==================================================

    Yes, both the yyyy and zzzz are there,(and working fine when
    left on their own)....

    ==================================================
    >
    > Regards,
    >
    > Marco.
     
    Captain, Sep 11, 2004
    #7
  8. Captain

    Captain Guest

    On Sat, 11 Sep 2004 12:11:27 GMT, "Ben" <> wrote:

    >Also many people forget this will only result in OUTBOUND traffic being
    >load-shared, unless you have same setup on the connected routers.
    >

    =======================================================

    Yes, I have the load-sharing working from the other end...

    =======================================================
    >
    >"M.C. van den Bovenkamp" <> wrote in message
    >news:41424195$0$92786$4all.nl...
    >> Captain wrote:
    >>
    >> > I'm trying to load share on a Cisco3640.
    >> >
    >> > I tried the following, but all the packets
    >> > want to use the z.z.z.z connection only.
    >> >
    >> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> > !
    >> > ip route x.x.x.0 255.255.255.0 z.z.z.z
    >> > ip route x.x.x.0 255.255.255.0 y.y.y.y
    >> > !
    >> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> >
    >> > Is there not an easy way of telling the
    >> > packets to use BOTH gateways?

    >>
    >> It should do so by default, unless all your packets have the *exact*
    >> same destination. IOS does per-destination loadsharing by default when
    >> fast switching is enabled, so all packets for the same host will always
    >> take the same path.
    >>
    >> Two ways around this:
    >>
    >> Disable fast switching ('no ip route-cache'). And watch your router go
    >> into meltdown if you have serious traffic...
    >>
    >> Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    >>
    >> But the answer might be simpler than that. is the y.y.y.y route *in the
    >> routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    >> isn't reachable for some reason, and the z.z.z.z route is the only one
    >> that actually works.
    >>
    >> Regards,
    >>
    >> Marco.
    >>

    >
     
    Captain, Sep 11, 2004
    #8
  9. Captain

    Captain Guest

    On Sat, 11 Sep 2004 15:10:04 +0200, "M.C. van den Bovenkamp"
    <> wrote:

    >Ben wrote:
    >
    >> Also many people forget this will only result in OUTBOUND traffic being
    >> load-shared, unless you have same setup on the connected routers.

    >
    >Very true. But that wasn't how I read his problem, although it might be;
    >depends on what he means by 'all the packets want to use the z.z.z.z
    >connection only'.
    >



    Load-sharing seems to work from the other end, because when I
    do a traceroute, packets go route1 the first time, route2 the second
    time, route1 the third time,...., etc.....

    But when I do a traceroute from the problem end, the first hop is
    always the z.z.z.z route.

    Also, every second ping,(on the traceroute after the z.z.z.z hop),
    times out?!?!?! I assume it's because having load-sharing working
    on one end and not on the other is causing this,(if that makes sense)?
     
    Captain, Sep 11, 2004
    #9
  10. Captain

    Ben Guest

    Hmmm...I am not aware of any configuration that will not work with CEF.
    Usually CEF is a requirement to get a lot of features to work.
    Maybe you could provide a config so we can look at this closer?

    By the way since per-destination load-sharing is the default, why not
    configure four /25 static routes instead of two /24s? That might give the
    desired effect...


    "Captain" <> wrote in message
    news:...
    > On Sat, 11 Sep 2004 02:06:42 +0200, "M.C. van den Bovenkamp"
    > <> wrote:
    >
    > >Captain wrote:
    > >
    > >> I'm trying to load share on a Cisco3640.
    > >>
    > >> I tried the following, but all the packets
    > >> want to use the z.z.z.z connection only.
    > >>
    > >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > >> !
    > >> ip route x.x.x.0 255.255.255.0 z.z.z.z
    > >> ip route x.x.x.0 255.255.255.0 y.y.y.y
    > >> !
    > >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > >>
    > >> Is there not an easy way of telling the
    > >> packets to use BOTH gateways?

    > >
    > >It should do so by default, unless all your packets have the *exact*
    > >same destination. IOS does per-destination loadsharing by default when
    > >fast switching is enabled, so all packets for the same host will always
    > >take the same path.
    > >

    > ==================================================
    >
    > Yes, the exact same destination.
    >
    > ==================================================
    > >
    > >Two ways around this:
    > >
    > >Disable fast switching ('no ip route-cache'). And watch your router go
    > >into meltdown if you have serious traffic...
    > >

    > ==================================================
    >
    > I'm not sure what "serious traffic" is, but I would say YES, this
    > production router has a LOT of traffic on it!!
    >
    > ==================================================
    > >
    > >Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    > >

    > ==================================================
    >
    > Do to the other configuration on this router,(which I'm trying not
    > to mess up), I can't seem to get 'ip load-sharing per-packet' to
    > do anything?
    >
    > ==================================================
    > >
    > >But the answer might be simpler than that. is the y.y.y.y route *in the
    > >routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    > >isn't reachable for some reason, and the z.z.z.z route is the only one
    > >that actually works.
    > >

    > ==================================================
    >
    > Yes, both the yyyy and zzzz are there,(and working fine when
    > left on their own)....
    >
    > ==================================================
    > >
    > > Regards,
    > >
    > > Marco.

    >
     
    Ben, Sep 12, 2004
    #10
  11. Captain

    Doan Guest

    Ok, thanks! I did not know that.

    Doan

    On Sat, 11 Sep 2004, M.C. van den Bovenkamp wrote:

    > Doan wrote:
    >
    > > I don't think you can do load-sharing with static routes. You need to
    > > use a routing protocol that support load sharing.

    >
    > Nope. Statics will load-share just fine.
    >
    > Regards,
    >
    > Marco.
    >
    >
     
    Doan, Sep 12, 2004
    #11
  12. Captain

    Patrick Guest

    On Sun, 12 Sep 2004 00:03:03 GMT, "Ben" <> wrote:

    >Hmmm...I am not aware of any configuration that will not work with CEF.
    >Usually CEF is a requirement to get a lot of features to work.
    >Maybe you could provide a config so we can look at this closer?
    >
    >By the way since per-destination load-sharing is the default, why not
    >configure four /25 static routes instead of two /24s? That might give the
    >desired effect...


    It is possible that the router doesn't recognize the "ip cef" command.
    It happend to me with image c1700-k9sy7-mz.122-15.T11.

    Check out the Bug navigator and see what you can find.


    Good luck.


    Patrick


    >"Captain" <> wrote in message
    >news:...
    >> On Sat, 11 Sep 2004 02:06:42 +0200, "M.C. van den Bovenkamp"
    >> <> wrote:
    >>
    >> >Captain wrote:
    >> >
    >> >> I'm trying to load share on a Cisco3640.
    >> >>
    >> >> I tried the following, but all the packets
    >> >> want to use the z.z.z.z connection only.
    >> >>
    >> >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> >> !
    >> >> ip route x.x.x.0 255.255.255.0 z.z.z.z
    >> >> ip route x.x.x.0 255.255.255.0 y.y.y.y
    >> >> !
    >> >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> >>
    >> >> Is there not an easy way of telling the
    >> >> packets to use BOTH gateways?
    >> >
    >> >It should do so by default, unless all your packets have the *exact*
    >> >same destination. IOS does per-destination loadsharing by default when
    >> >fast switching is enabled, so all packets for the same host will always
    >> >take the same path.
    >> >

    >> ==================================================
    >>
    >> Yes, the exact same destination.
    >>
    >> ==================================================
    >> >
    >> >Two ways around this:
    >> >
    >> >Disable fast switching ('no ip route-cache'). And watch your router go
    >> >into meltdown if you have serious traffic...
    >> >

    >> ==================================================
    >>
    >> I'm not sure what "serious traffic" is, but I would say YES, this
    >> production router has a LOT of traffic on it!!
    >>
    >> ==================================================
    >> >
    >> >Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    >> >

    >> ==================================================
    >>
    >> Do to the other configuration on this router,(which I'm trying not
    >> to mess up), I can't seem to get 'ip load-sharing per-packet' to
    >> do anything?
    >>
    >> ==================================================
    >> >
    >> >But the answer might be simpler than that. is the y.y.y.y route *in the
    >> >routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    >> >isn't reachable for some reason, and the z.z.z.z route is the only one
    >> >that actually works.
    >> >

    >> ==================================================
    >>
    >> Yes, both the yyyy and zzzz are there,(and working fine when
    >> left on their own)....
    >>
    >> ==================================================
    >> >
    >> > Regards,
    >> >
    >> > Marco.

    >>

    >
     
    Patrick, Sep 12, 2004
    #12
  13. Captain

    Captain Guest

    On Sat, 11 Sep 2004 15:10:04 +0200, "M.C. van den Bovenkamp"
    <> wrote:

    >Ben wrote:
    >
    >> Also many people forget this will only result in OUTBOUND traffic being
    >> load-shared, unless you have same setup on the connected routers.

    >
    >Very true. But that wasn't how I read his problem, although it might be;
    >depends on what he means by 'all the packets want to use the z.z.z.z
    >connection only'.
    >



    Load-sharing seems to work from the other end, because when I
    do a traceroute, packets go route1 the first time, route2 the second
    time, route1 the third time,...., etc.....

    But when I do a traceroute from the problem end, the first hop is
    always the z.z.z.z route.

    Also, every second ping,(on the traceroute after the z.z.z.z hop),
    times out?!?!?! I assume it's because having load-sharing working
    on one end and not on the other is causing this,(if that makes sense)?




    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
     
    Captain, Sep 14, 2004
    #13
  14. In article <>,
    (Captain) wrote:

    > Load-sharing seems to work from the other end, because when I
    > do a traceroute, packets go route1 the first time, route2 the second
    > time, route1 the third time,...., etc.....


    If you do a traceroute from your end, you'll see the outbound path, not
    the inbound path.

    --
    Barry Margolin,
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
     
    Barry Margolin, Sep 15, 2004
    #14
  15. Captain

    Dale Francis Guest

    Barry Margolin <> wrote in message news:<>...
    > In article <>,
    > (Captain) wrote:
    >
    > > Load-sharing seems to work from the other end, because when I
    > > do a traceroute, packets go route1 the first time, route2 the second
    > > time, route1 the third time,...., etc.....

    >
    > If you do a traceroute from your end, you'll see the outbound path, not
    > the inbound path.



    Are you issuing the trace route from the cisco device.?? If so Cisco will
    send 3 UDP trace packets by default, also keep in mind that a packet
    generated from the router is processed switched and does not use the CEF
    path.

    If you can post your routing table and also a sh ip cef sum and sh ip cef
    z.z.z.z internal, do this for all path you wanna use.

    D
     
    Dale Francis, Sep 18, 2004
    #15
  16. Captain

    Captain Guest

    On Wed, 15 Sep 2004 06:53:16 -0400, Barry Margolin
    <> wrote:

    >In article <>,
    > (Captain) wrote:
    >
    >> Load-sharing seems to work from the other end, because when I
    >> do a traceroute, packets go route1 the first time, route2 the second
    >> time, route1 the third time,...., etc.....

    >
    >If you do a traceroute from your end, you'll see the outbound path, not
    >the inbound path.



    I have access to both ends,(and have just rechecked it), load-sharing
    going one way is working the way it should, but going the other way
    no loadsharing!
     
    Captain, Sep 27, 2004
    #16
  17. Captain

    Captain Guest

    On Sat, 11 Sep 2004 02:06:42 +0200, "M.C. van den Bovenkamp"
    <> wrote:

    >Captain wrote:
    >
    >> I'm trying to load share on a Cisco3640.
    >>
    >> I tried the following, but all the packets
    >> want to use the z.z.z.z connection only.
    >>
    >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >> !
    >> ip route x.x.x.0 255.255.255.0 z.z.z.z
    >> ip route x.x.x.0 255.255.255.0 y.y.y.y
    >> !
    >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    >>
    >> Is there not an easy way of telling the
    >> packets to use BOTH gateways?

    >
    >It should do so by default, unless all your packets have the *exact*
    >same destination. IOS does per-destination loadsharing by default when
    >fast switching is enabled, so all packets for the same host will always
    >take the same path.
    >
    >Two ways around this:
    >
    >Disable fast switching ('no ip route-cache'). And watch your router go
    >into meltdown if you have serious traffic...
    >
    >Run CEF ('ip cef') and run with 'ip load-sharing per-packet'.
    >
    >But the answer might be simpler than that. is the y.y.y.y route *in the
    >routing table*? I.e. does it show up in 'show ip route'? Perhaps y.y.y.y
    >isn't reachable for some reason, and the z.z.z.z route is the only one
    >that actually works.
    >
    > Regards,
    >
    > Marco.



    Ok, I "sort" of have it working, that is, it works for a few
    moments, then the router appears to FORGET the routing,
    (ie. no pings for a few moments), then full pings again?

    What did I forget to set?
     
    Captain, Sep 27, 2004
    #17
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    2,383
    Vincent C Jones
    Nov 21, 2005
  2. Jaime
    Replies:
    2
    Views:
    584
    Jaime
    Sep 20, 2003
  3. Jimmy Dean
    Replies:
    3
    Views:
    1,199
    Duane Arnold
    Jul 25, 2005
  4. Sharp Dressed Man

    TurboTax Basic vs. Taxcut Basic?

    Sharp Dressed Man, Jan 10, 2009, in forum: Computer Support
    Replies:
    1
    Views:
    691
    Sharp Dressed Man
    Jan 12, 2009
  5. palas_123
    Replies:
    1
    Views:
    2,176
    donjohnston
    Dec 28, 2009
Loading...

Share This Page