Re: Can linux box support 2 host names / 2 ip addresses
From: ___cliff rayman___ (cliff_at_SPAMMER_GO_HOME_rayman.com)
Date: 10/01/04
- Next message: John Hasler: "Re: putting each tty # on virtual consoles"
- Previous message: Mark: "putting each tty # on virtual consoles"
- In reply to: Paul Lutus: "Re: Can linux box support 2 host names / 2 ip addresses"
- Next in thread: Lew Pitcher: "Re: Can linux box support 2 host names / 2 ip addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 01 Oct 2004 03:26:26 GMT
Paul Lutus wrote:
>Richard TU wrote:
>
>
>
>>If yes, could you guys advise how to do it?
>>
>>
>
>1. Install two NICs.
>
>
1) You can have multiple IP addresses bound to a single NIC. You only
need different NIC's if you are going to hook them physically to
different networks.
2) You can have multiple names for a machine, even when they point to
the same IP address. I do this all the time in order to call machines
by their roll name. This allows me to change what servers handle
various requests by just changing the IP address for the name in the
DNS. Here are some examples:
ns.domain.com -> main name server for the domain
mail.domain.com -> main mail exhanger for the domain
fileserver.domain.com -> main file server for the domain
etc..
Of courese, as others have stated, typing hostname will only give you
the primary hostname, and looking up the name via an IP address will
generally only return the primary hostname.
Cliff
-- _____cliff_rayman_____cliff_@_rayman_._com_____
- Next message: John Hasler: "Re: putting each tty # on virtual consoles"
- Previous message: Mark: "putting each tty # on virtual consoles"
- In reply to: Paul Lutus: "Re: Can linux box support 2 host names / 2 ip addresses"
- Next in thread: Lew Pitcher: "Re: Can linux box support 2 host names / 2 ip addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|