[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
Removes the TCP/IP configuration for a host machine.
rmtcpip
The rmtcpip command removes TCP/IP configuration on a host
machine. The basic functions of this command is:
- Removes the network interface configurations
- Restores /etc/rc.tcpip to the initial installed state
- Restores /etc/hosts to the initial installed state
- Removes the /etc/resolv.conf file
- Removes the default and static routes
- Sets the hostname to localhost
- Sets the hostid to 127.0.0.1
- Resets configuration database to the initial installed state
Notes:
- Any daemon which is commented out by default in
/etc/rc.tcpip, but running at the time this command is
issued, is stopped.
- Your version of the /etc/hosts file is saved as
/etc/hosts.save prior to the /etc/hosts file
being restored to the originally installed state.
- Your version of the /etc/resolv.conf file is saved as
/etc/resolv.conf.save prior to the removal of the
/etc/resolv.conf file.
This command can only be run by root.
The hostent command, hostname command, hostid
command, mktcpip command.
The /etc/resolv.conf file
format.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]