How to make static IP configuration in an ubuntu vm?
How to make static IP configuration in an ubuntu vm?
1. Edit the configuration file.
vi /etc/network/interfaces
2. Put the Networking information for Interface "enp0s8".
auto enp0s8
iface enp0s8 inet static
address 192.168.1.102
netmask 255.255.255.0
broadcast 192.168.1.255
3. Restart the networking Service.
service networking restart
4. Check the Status.
service networking status
1. Edit the configuration file.
vi /etc/network/interfaces
2. Put the Networking information for Interface "enp0s8".
auto enp0s8
iface enp0s8 inet static
address 192.168.1.102
netmask 255.255.255.0
broadcast 192.168.1.255
3. Restart the networking Service.
service networking restart
4. Check the Status.
service networking status
No comments