ip address secondary and static routing

Discussion in 'Cisco' started by Mikhael47, Sep 21, 2004.

  1. Mikhael47

    Mikhael47 Guest

    I have 2 networks behind a cisco router (2621) that routes packets to a load
    balancer for two DSL links. My route statements look like this

    ip route 0.0.0.0 0.0.0.0 192.168.44.2 (load balancer)
    ip route 1xx.xx.xx6.0 255.255.255.0 FastEthernet0/1
    ip route 1xx.xx.xx7.0 255.255.255.0 FastEthernet0/1

    My 'internal' interface looks like this:

    ip address 1xx.xx.xx7.2 255.255.255.0 secondary
    ip address 1xx.xx.xx6.2 255.255.255.0

    Do the ip route statements happen sequentially? are any packets destined to
    the xx7 network attempting to go out of our network? How would I set it up
    to get it to route the xx7 packets into our network?

    Mike
     
    Mikhael47, Sep 21, 2004
    #1
    1. Advertisements

  2. Mikhael47

    mcaissie Guest

    "Mikhael47" <> wrote in message
    news:Gq%3d.13472$...
    >I have 2 networks behind a cisco router (2621) that routes packets to a
    >load
    > balancer for two DSL links. My route statements look like this
    >
    > ip route 0.0.0.0 0.0.0.0 192.168.44.2 (load balancer)
    > ip route 1xx.xx.xx6.0 255.255.255.0 FastEthernet0/1
    > ip route 1xx.xx.xx7.0 255.255.255.0 FastEthernet0/1
    >
    > My 'internal' interface looks like this:
    >
    > ip address 1xx.xx.xx7.2 255.255.255.0 secondary
    > ip address 1xx.xx.xx6.2 255.255.255.0
    >
    > Do the ip route statements happen sequentially? are any packets destined
    > to
    > the xx7 network attempting to go out of our network? How would I set it
    > up
    > to get it to route the xx7 packets into our network?
    >
    > Mike
    >



    > Do the ip route statements happen sequentially?


    No, the packet will take the more precise route .

    So assuming that PC1 on the 1xx.xx.xx6.0 subnet sends a packet addressed
    to
    PC2 on the 1xx.xx.xx7.0 subnet the router will resend the packet through
    the same
    interface .

    Make sure that both PC have the 2621 as the default gateway ( or a proper
    route )
    and that you don't have any access-list blocking the traffic on
    theFastEthernet0/1
    interface.
     
    mcaissie, Sep 21, 2004
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.