Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP Aliasing, 2 networks

Reply
Thread Tools Display Modes

IP Aliasing, 2 networks

 
 
Leland
Guest
Posts: n/a

 
      11-07-2003, 07:10 PM
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
 
 
 
 
Joe Dunning
Guest
Posts: n/a

 
      11-07-2003, 11:48 PM
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
 
Leland
Guest
Posts: n/a

 
      11-09-2003, 05:40 PM
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
 
Joe Dunning
Guest
Posts: n/a

 
      11-10-2003, 11:08 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IP aliasing in Linux Red Hat 2.4.20-8 Prabhu Linux Networking 2 06-28-2006 03:19 PM
Need some help with multi-netting/IP aliasing wisptech@gmail.com Linux Networking 1 02-03-2006 05:21 PM
lo aliasing problem krsyoung Linux Networking 1 10-01-2005 12:10 AM
Aliasing the loopback. William D. Tallman Linux Networking 14 01-07-2004 01:50 PM
Aliasing different IP blocks to same NIC Lane Vance Linux Networking 1 08-29-2003 01:09 PM



1 2 3 4 5 6 7 8 9 10 11