Routing Question - Non-contiguous IP Blocks

Routing Question - Non-contiguous IP Blocks

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Routing Question - Non-contiguous IP Blocks Edumac 09-01-2005
Posted by Edumac on September 1, 2005, 10:40 am
If you were  Registered and logged in, you could reply and use other advanced thread options
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: 62.43.171.2 through 62.43.171.6 (255.255.255.248)

Additional subnet: 62.43.171.242 through 62.43.171.246 (255.255.255.248)

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

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

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

0.0.0.0 --> 62.43.171.1

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

Thanks.




Posted by Arnold Nipper on September 1, 2005, 6:41 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On 01.09.2005 17:40 Edumac wrote

> 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: 62.43.171.2 through 62.43.171.6 (255.255.255.248)
>

actually the subnet is 62.43.171.0/29, 62.43.171.0-62.43.171.7

> Additional subnet: 62.43.171.242 through 62.43.171.246 (255.255.255.248)
>

actually the subnet is 62.43.171.240/29, 62.43.171.240-62.43.171.247

> The way I envision this working is to put a secondary ip address on my
> router's outside interface:
>
> Router#(conf-int): ip address 62.43.171.242 255.255.255.248 secondary.
>
> But I'm not sure what the routing statement should be. Currently the
> default is set to:
>
> 0.0.0.0 --> 62.43.171.1
>
> If I add a route statement: 62.43.171.241 --> 62.43.171.242, will that work
> to route traffic to/from this new subnet?
>

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 62.43.171.240/29 dev eth0

on network1 system and

ip route add 62.43.171.0/29 dev eth0
ip route add default via 62.43.171.2

on network2 system (given 62.43.171.2 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
--
Arnold Nipper, AN45


Similar ThreadsPosted
two ip blocks May 29, 2008, 1:02 pm
BGP multihoming and PA blocks June 1, 2006, 5:40 am
BGP filtering PA and PI blocks June 12, 2006, 9:45 am
DHCP on 2 ip blocks October 11, 2007, 11:11 am
PIX 501 Intermittently blocks SIP November 3, 2007, 9:12 pm
Cisco 1601-R w/ 2 IP blocks? June 15, 2006, 10:21 am
gre tunnel blocks printers June 22, 2007, 7:19 pm
PIX or Router blocks wireless users? November 7, 2005, 6:59 pm
VPN Client blocks alla incoming connections. April 8, 2005, 5:48 pm
Routing question December 4, 2004, 10:59 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map