View Single Post

   
  #7 (permalink)  
Old 01-18-2008, 05:12 AM
Lew Pitcher
 
Posts: n/a
Default Re: Can linux box support 2 host names / 2 ip addresses

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ratiu Petru wrote:
> Lew Pitcher wrote:
>
>
>>Yes, a linux system can have two host names and two IP addresses.

>
> Most already do.
>
>>For hostnames, you have to determine what sort of hostname you are

>
> interested in.
>
>
>>- - If it is the name returned by the hostname(1) utility, then you

>
> only get one
>
>> name. Sorry.

>
> At least with the stock kernel. There is the vserver patch which, among
> others, can assign different hostnames for every context. I doubt the
> original poster is interested in it, but there IS a way.


I did not know that. Thanks for the info.

>
>>- - If it is the name used by Samba as your systemname within a

>
> workgroup or
>
>> domain, then again, you only get one. Sorry.

>
> That is a lot simpler, you can have multiple Samba installs, bound to
> different network interfaces. Each one can have their own hostname.


Aha! That's the key; they have to be bound to different interfaces.
Again, I did not know that. Thanks again

> There ARE some things you can't do in Linux, but these are not among
> them
>


The thing I find with Linux is that there's always more to learn. I
/love/ this OS. <grin>

- --

Lew Pitcher, IT Consultant, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBXU6/agVFX4UWr64RAvk7AKDjEGBVTBua5pPXGNMXOX7o1xadVQCggV Z7
257XqjmBjIcsD3dafXTDhHU=
=6Jgp
-----END PGP SIGNATURE-----
Reply With Quote