Bluehost.com Web Hosting $6.95

IP Aliasing, 2 networks

This is a discussion on IP Aliasing, 2 networks within the Linux Networking forums, part of the Linux Forums category; Hi all, we are about to change the IPs of our servers. In order to avoid downtime until the new ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2003
Leland
 
Posts: n/a
Default IP Aliasing, 2 networks

Hi all,

we are about to change the IPs of our servers. In order to avoid downtime
until the new domain name records are propagated, we plan to provide all
services (web, ftp, mail, dns, several custom services) with both new and
old IP addresses.

Problem is that our old network (it was made of 3 subnets) was connected
through a router. Our new address range is one subnet and therefore doesn't
need the router, but instead directly accesses the ISP gateway.

Our original plan was to give aliases to the server's nics and connect them
to the router AND directly to the ISP (I hope the figure doesn't get
scrambled):


,--------------.
( Internet Cloud )
`--------------´
^ ^
| |
| |
+-------------+ +-------------+
| OLD GATEWAY | | NEW GATEWAY |
+-------------+ +-------------+
| _ |
`-----------( )----´ Provider
___________________|______________________
| Our Network
,----------(_)
| |
+------------+ |
| OLD ROUTER | |
+------------+ |
| |
`----------(_)
/|\
SERVER 1 ---´ | `--- SERVER n
|
SERVER 2


Well, it didn't work, probably because of the server's standard routes? If
we set the standard routes to the new gateway, then the new ip range could
be accessed, and the other way around. What can we do to achieve what we
need?

Thank you for your answers!

Kind regards,
Christoph







Reply With Quote
  #2 (permalink)  
Old 11-08-2003
Joe Dunning
 
Posts: n/a
Default Re: IP Aliasing, 2 networks

On Fri, 7 Nov 2003 21:10:47 +0100, Leland <leland-spamsucks-@gmx.net> wrote:
>Hi all,
>
>we are about to change the IPs of our servers. In order to avoid downtime
>until the new domain name records are propagated, we plan to provide all
>services (web, ftp, mail, dns, several custom services) with both new and
>old IP addresses.
>
>Problem is that our old network (it was made of 3 subnets) was connected
>through a router. Our new address range is one subnet and therefore doesn't
>need the router, but instead directly accesses the ISP gateway.
>
>Our original plan was to give aliases to the server's nics and connect them
>to the router AND directly to the ISP (I hope the figure doesn't get
>scrambled):
>

It's possible to do what you suggest, but the important thing is to make
sure that packets go out of the appropriate gateway according to their
source address.

This can be done with the iproute2 tools.
It's all documented here:
http://www.ssi.bg/~ja/
and:
http://www.ssi.bg/~ja/nano.txt

Reply With Quote
  #3 (permalink)  
Old 11-09-2003
Leland
 
Posts: n/a
Default Re: IP Aliasing, 2 networks

Hi Joe,

thanks for your answer!

> It's possible to do what you suggest, but the important thing is to make
> sure that packets go out of the appropriate gateway according to their
> source address.


What if I would also route the new IP's through the old router and take it
out afterwards (i.e. after the dns propagation)? This would do what I want,
without the need for source routing, right?

Best regards
Christoph


Reply With Quote
  #4 (permalink)  
Old 11-11-2003
Joe Dunning
 
Posts: n/a
Default Re: IP Aliasing, 2 networks

On Sun, 09 Nov 2003 18:40:46 GMT, Leland <leland-spamsucks-@gmx.net> wrote:
>Hi Joe,
>
>thanks for your answer!
>
>> It's possible to do what you suggest, but the important thing is to make
>> sure that packets go out of the appropriate gateway according to their
>> source address.

>
>What if I would also route the new IP's through the old router and take it
>out afterwards (i.e. after the dns propagation)? This would do what I want,
>without the need for source routing, right?


I'm not sure what you mean here, but if you mean:
What if I route all outgoing packets (irrespective of the SOURCE
IP address) through the old router?

In the above case, it might work BUT:
1. Some ISP's will drop outgoing packets that do not have a source IP
address that matches the ISP's address ranges.
2. Since some incoming packets will come back via the new gateway, you
have a greater chance of failure.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0