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


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_____


Relevant Pages

  • Re: single Dhcp server on multiple networks
    ... server to give IP to different network. ... We have multiple networks here ... NICs with different IPs on each?... ... A DHCP server with multiple NICs hands out DHCP leases in the subnets ...
    (Debian-User)
  • Re: Win 2K3 Standard Server with multiple IPs
    ... website. ... The use of multiple IPīs ... >It is a Dell poweredge 2650, and the nics are Broadcom ... >> I am running a Windows 2003 Server, ...
    (microsoft.public.windows.server.networking)
  • Re: WINS and multiple IP addresses
    ... You don't put multiple addresses ... on a NIC unless they are the same subnet. ... subnets use separate Nics for each, it the IP#s are the same subnet then use ... There is a disabled NIC in the server so I ...
    (microsoft.public.win2000.networking)
  • Re: Can linux box have two host names / 2 ip addresses
    ... > I understand that one NIC can be configured to have multiple IP addresses. ... > hostnames should lead me to the linux box. ... For IP addresses, you can either have a couple of NICs in the one box, ... For your web server, you can configure it with 'virtual server' IDs, so ...
    (comp.os.linux.networking)
  • Re: Urgent! New router and big disaster
    ... NIC, you need to specify an external DNS server for DNS, instead of the ... Both NICs should point to his internal IP for DNS. ... forward ports to it reliably in the router. ...
    (microsoft.public.windows.server.sbs)