Routing Question - Non-contiguous IP Blocks

Discussion in 'Cisco' started by Edumac, Sep 1, 2005.

  1. Edumac

    Edumac Guest

    Hi, I'm having a little trouble figuring out how to do this, or even if it
    can be done.

    When we originally got our t1 installed, we ordered 5 public IP addresses.
    At the time, this seemed like enough, all we needed was smtp, www, and a
    couple of other things.

    Now it turns out we need more public ip addresses for ftp, more www, etc.

    Our ISP could not expand our existing subnet. Instead, they offered us 5
    more ip addresses in a non-contiguous subnet.

    For example:

    Original subnet: through (

    Additional subnet: through (

    The way I envision this working is to put a secondary ip address on my
    router's outside interface:

    Router#(conf-int): ip address secondary.

    But I'm not sure what the routing statement should be. Currently the
    default is set to: -->

    If I add a route statement: -->, will that work
    to route traffic to/from this new subnet?

    Edumac, Sep 1, 2005
    1. Advertisements

  2. On 01.09.2005 17:40 Edumac wrote
    actually the subnet is,
    actually the subnet is,
    That of course will work. But observe that traffic from network1 to
    network2 always has to go via the router.

    You could also set

    ip route add dev eth0

    on network1 system and

    ip route add dev eth0
    ip route add default via

    on network2 system (given is your router's primary LAN address).

    That way traffic between network1 and network2 is directly exchanged.

    Another option might be to get a /28 (or even /27) from your provider
    and to return network1.

    I would go for that option.

    Arnold Nipper, Sep 1, 2005
    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.