Re: Networking question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, the other question then is, do you just need the hostname to work
locally for the computer?

Cause if it needs to work externally as well, you can add it to DNS.

name1           A       10.10.10.28
name2            A        10.10.10.29

Also, for local, you can add two entries to the /etc/hosts file.

This will allow you to resolve the name.

----- Original Message ----- 
From: "Tony Gogoi" <tgogoi@xxxxxxxxxxxxxxx>
To: "Adam Lang" <aalang@xxxxxxxxxxxxxxxxxxxx>
Cc: <linux-admin@xxxxxxxxxxxxxxx>
Sent: Thursday, April 01, 2004 1:24 PM
Subject: Re: Networking question


>
> Hi Adam,
>
> Sorry for any confusion.
> Its: 1 host with 2 hostnames. Each hostname has its own ipaddress.
>
> Tony
>
>
> On Thu, 1 Apr 2004, Adam Lang wrote:
>
> > Your question and example don't seem to match.  You are asking to have
two
> > different ip addresses with the same host name, but your example is two
ip
> > addresses with two different host names (buzz and bumble).
> >
> > Which are you trying to do?
> >
> > ----- Original Message -----
> > From: "Tony Gogoi" <tgogoi@xxxxxxxxxxxxxxx>
> > To: <linux-admin@xxxxxxxxxxxxxxx>
> > Sent: Thursday, April 01, 2004 12:15 PM
> > Subject: Networking question
> >
> >
> > >
> > > Hello,
> > >
> > > Is it possible to configure a host to have 2 different IP addresses
each
> > > associated with its own unique fully qualified domain name.
> > >
> > > To be a little more precise,
> > > let's say I have
> > > /etc/sysconfig/network-scripts/ifc-eth0
> > > configured for IP address 192.168.111.4 (say)
> > >
> > > and I also have
> > >
> > > /etc/sysconfig/network-scripts/ifc-eth0:0
> > > configured for IP address 192.168.111.5 (say)
> > >
> > > However, /etc/sysconfig/network allows (or seems to allow) only a
common
> > > hostname associated with the IP addresses defined in
> > > /etc/sysconfig/network-scripts/ifc*
> > >
> > > But what if I want 192.168.111.4 associated with hostname "buzz" and
> > > 192.168.111.5 associated with "bumble" on a host with a single
ethernet
> > > card eth0 ???
> > >
> > > Thanks,
> > > Tony
> >
> > -
> > : send the line "unsubscribe linux-admin"
in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
>
> Tony Gogoi

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux