Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ RHEL hostname

Posted by: daresandy Jan 9 2013, 05:55 AM

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?

Posted by: Robert83 Aug 23 2014, 07:32 AM


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 : : internal.home.lan :


Powered by Invision Power Board (
© Invision Power Services (