Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Thursday, June 23, 2016

How to Configure Static IP Address and Set DNS in Ubuntu 16.04 Desktop and Server

$sudo vim /etc/network/interfaces

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet static
address 10.0.2.11
netmask 255.255.255.0
gateway 10.0.2.2

auto enp0s8
iface enp0s8 inet static
address 192.168.56.5
netmask 255.255.255.0


1 comment:

  1. BlueHost is definitely one of the best hosting provider with plans for all of your hosting needs.

    ReplyDelete