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



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?




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

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

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)