Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 7167
Howto: Ubuntu Linux convert DHCP network configuration to static IP configuration
Your main network configuration file is /etc/network/interfaces

Desired new sample settings:
=> Host IP address 192.168.1.100
=> Netmask: 255.255.255.0
=> Network ID: 192.168.1.0
=> Broadcast IP: 192.168.1.255
=> Gateway/Router IP: 192.168.1.254
=> DNS Server: 192.168.1.254

Open network configuration file
Code:
sudo vi /etc/network/interfaces

OR
Code:
sudo nano /etc/network/interfaces

Find and remove dhcp entry:
Code:
iface eth0 inet dhcp

Append new