Change IP Address of Ubuntu Server

To see current configuration :

# cat /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

eth0 need fixed ip address, so change it into :

auto eth0
iface eth0 inet static
address 192.168.12.103
netmask 255.255.255.0
network 192.168.12.0
broadcast 192.168.12.255
gateway 192.168.12.1

Save and restart networking.

/etc/init.d/networking restart

Incoming search terms for the article:

  • ganti ip ubuntu
  • ganti ip di ubuntu server
  • ganti ip ubuntu server
  • ganti ip di ubuntu
  • merubah ip ubuntu server
  • change ip ubuntu server
  • merubah ip di ubuntu server
  • mengganti ip di ubuntu
  • mengganti ip ubuntu server
  • merubah ip di ubuntu
  • Pages

  • Download Ubuntu

  • Download Fedora

  • Tags

  • Categories

    • Translate to: