Re: Can linux box have two host names / 2 ip addresses
From: James Knott (james.knott_at_rogers.com)
Date: 10/02/04
- Next message: Moe Trin: "Re: identd problem on IRC"
- Previous message: Drew Leske: "Changing source address of packets"
- In reply to: Bill Unruh: "Re: Can linux box have two host names / 2 ip addresses"
- Next in thread: Bernhard Kastner: "Re: Can linux box have two host names / 2 ip addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 01 Oct 2004 22:47:50 -0400
Bill Unruh wrote:
>
> Well, actually IP addresses refer to interfaces. If that one box has only
> one interface, then the remote system will get confused-- it will send a
> request to IP address 1 and receive a response from IP address 2.
It shouldn't. Linux supports alias addresses, where one NIC can have more
than one IP. No confusion.
>
> Names are easy. Just have both names point to the same IP address in the
> DNS tables of your DNS server (AFAIK they must be on the same subnet for
> this to work. Ie you cannot have string.physics.ubc.ca and
> organ.phys.mcmaster.ca point tothe same IP since the mcmaster.ca domain is
> a different subnet than ubc.ca) If you want the same interface (ie that
> one ethernet card) to have different IP address, that is I believe more
> difficult. You could use proxyarp I guess to have the one machine be the
> proxyarp to the other IP. But you would still have trouble on the ip of
> the outbound packets.
Two names, to IPs, no problem. Also note, that there doesn't have to be any
relationship between domain names and subnets, so long as the DNS returns
the correct IP for the name.
-- (This space intentionally left blank)
- Next message: Moe Trin: "Re: identd problem on IRC"
- Previous message: Drew Leske: "Changing source address of packets"
- In reply to: Bill Unruh: "Re: Can linux box have two host names / 2 ip addresses"
- Next in thread: Bernhard Kastner: "Re: Can linux box have two host names / 2 ip addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|