Help - Search - Members - Calendar
Full Version: RHEL hostname
Linuxhelp > Support > Technical Support
daresandy


Hi
I have a issue

I have two nic cards and have assigned one for public and one for private

i have assigned test01bl10 as the hostname for public
& test01bl10-priv to private.

when i reboot it is showing me test01bl10-priv as hostname
when as i want it as test01bl10.
when i disable the eth1 which is assigned the private ip. it shows the proper hostname.

how can i resovle this?



Robert83
Hi,

You can't have multiple hostnames for the same machine . In the way you mentioned.

Set ONE hostname for the machine.



You can use a DNS Server to have multiple hostnames for the machine example :

192.168.210.1 : internal.home.lan
91.xxx.xxx.1 : external.awesome.net


Greetings
Robert
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.