Oracle Solaris System Administration (MOSC)

MOSC Banner

How to stop DHCP client updating hostname IP address in hosts table

edited Sep 13, 2012 5:28AM in Oracle Solaris System Administration (MOSC) 9 commentsAnswered
I have an x86 based server running Solaris 10.

The first network interface (e1000g0) is required to be statically configured and this is assigned the fixed IP address of this server, ie. the /etc/hostname.e1000g0  file contains the hostname and the IP address/hostname mapping is defined in the /etc/inet/hosts file.  

The second network interface (e1000g1) is configured as a DHCP client - have the two empty files /etc/hostname.e1000g1 and /etc/dhcp.e1000g1 defined.

The problem is that when the DHCP client interface is assigned an IP address, the DHCP agent updates the hostname definition in the

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center