The Cavitand Site
Free Resources for a Free Internet
Home -> Documentation Projects | Tools | Docs | About

How To Remove DHCP in Solaris


Background

A Solaris machine has been configured to start some DHCP interfaces. Later on you decide to switch DHCP off and configure the interfaces manually.

Solution

Remove all /etc/dhcp.<interface> files. For your hme0 interface, issue a:

# rm -f /etc/dhcp.hme0

as root to remove the file.

Explanation

DHCP is only started if at least one interface is configured to use DHCP. The system looks for /etc/dhcp.<interface> files to check whether such network interface is using Dinamic Host Configuration Protocol.


cavitand.com © 2002
Contact WebMaster
All rights reserved