Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP Aliasing: Route Statement Necessary?

Reply
Thread Tools Display Modes

IP Aliasing: Route Statement Necessary?

 
 
Bob Simon
Guest
Posts: n/a

 
      02-12-2004, 08:53 PM
I have a dns server that I'm getting ready to move to a different
public network. (I already contacted the Registrar.) In order to
allow customers who are not ready to convert IPs to continue to reach
this server, I aliased its eth0 interface and plan to connect the two
Ethernet switches together this weekend. Does anyone see any problem
with this so far?

Some say to add a route statement when setting up aliasing. On a
machine with only one interface and a default route out it, is there
any reason to add another route?

Finally, a question about terminology: is IP aliasing the same thing
as multinetting?

--
Bob Simon
remove x from domain for private replies
 
Reply With Quote
 
 
 
 
David Cutting
Guest
Posts: n/a

 
      02-12-2004, 09:14 PM
"Bob Simon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a dns server that I'm getting ready to move to a different
> public network. (I already contacted the Registrar.) In order to
> allow customers who are not ready to convert IPs to continue to reach
> this server, I aliased its eth0 interface and plan to connect the two
> Ethernet switches together this weekend. Does anyone see any problem
> with this so far?


I did something similar when migrating DNS ranges of an internal
network from 192.168.0 to 10. allowing more hosts. Key servers
just aliases eth0:1 to their old address and those clients with static
addresses continued to work once DHCP was pumping out addys
in the new range.

> Some say to add a route statement when setting up aliasing. On a
> machine with only one interface and a default route out it, is there
> any reason to add another route?


AFAIR an ifconfig eth0:1 192.168.0.X did it all for us. If there was
a routing table line it was put in automatically.

Cheers,

Dave.


 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      02-13-2004, 01:25 AM
On Thu, 12 Feb 2004 15:53:31 -0600, Bob Simon <(E-Mail Removed)> wrote:
> I have a dns server that I'm getting ready to move to a different
> public network. (I already contacted the Registrar.) In order to
> allow customers who are not ready to convert IPs to continue to reach
> this server, I aliased its eth0 interface and plan to connect the two
> Ethernet switches together this weekend. Does anyone see any problem
> with this so far?


Not sure exactly what you are doing, but if connecting to 2 ISPs at the
same time, replies to traffic coming in from non-default route may go out
the other default route, and the question is whether that ISP would accept
traffic that to them appears to have a spoofed source IP (not on their
network).

> Some say to add a route statement when setting up aliasing. On a
> machine with only one interface and a default route out it, is there
> any reason to add another route?


In the 2 ISP scenario, you may need more advanced routing so replies go
out the route they came in (per Adv-Routing HOWTO).

> Finally, a question about terminology: is IP aliasing the same thing
> as multinetting?


Not necessarily, aliasing could be used for more than 1 subnet on the same
wire, but can also be used for multiple IPs on same subnet.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Bob Simon
Guest
Posts: n/a

 
      02-13-2004, 03:11 AM
On Fri, 13 Feb 2004 02:25:38 +0000 (UTC), (E-Mail Removed) (David
Efflandt) wrote:

>On Thu, 12 Feb 2004 15:53:31 -0600, Bob Simon <(E-Mail Removed)> wrote:
>> I have a dns server that I'm getting ready to move to a different
>> public network. (I already contacted the Registrar.) In order to
>> allow customers who are not ready to convert IPs to continue to reach
>> this server, I aliased its eth0 interface and plan to connect the two
>> Ethernet switches together this weekend. Does anyone see any problem
>> with this so far?

>
>Not sure exactly what you are doing, but if connecting to 2 ISPs at the
>same time, replies to traffic coming in from non-default route may go out
>the other default route, and the question is whether that ISP would accept
>traffic that to them appears to have a spoofed source IP (not on their
>network).


Actually, my ISP gave me a new /23 block of addresses over a new ATM
PVC and they want back the original /23 from Sprint that they assigned
us three years ago. Apparently, the Sprint DS3 is just too expensive
for them to justify keeping.

>> Some say to add a route statement when setting up aliasing. On a
>> machine with only one interface and a default route out it, is there
>> any reason to add another route?

>
>In the 2 ISP scenario, you may need more advanced routing so replies go
>out the route they came in (per Adv-Routing HOWTO).


This sounds interesting. I'll check this out.

--
Bob Simon
remove x from domain for private replies
 
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
DHCPd with Option 82 and fixed-host statement Alexander Nesterov Linux Networking 0 12-24-2007 08:51 PM
NEWS: Netservices statement on E7Even Limited Who me? Broadband 0 07-05-2006 08:07 PM
BT statement on LLU pricing Sunil Sood Broadband 0 09-23-2004 02:46 AM
Expected end of statement Eric Lommatsch Windows Networking 3 11-28-2003 06:22 PM
Net Use Statement will not run on win98 in a 2000 Domain -Leotta- Windows Networking 4 11-12-2003 08:20 PM



1 2 3 4 5 6 7 8 9 10 11