Difference between revisions of "Linux: Konfigurasi /etc/network/interfaces untuk IP address DHCP"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Edit # vi /etc/network/interfaces Ubah # The primary network interface auto eth0 iface eth0 inet static address 192.168.0.254 netmask 255.255.255.0 networ...")
 
 
Line 7: Line 7:
 
  # The primary network interface
 
  # The primary network interface
 
  auto eth0
 
  auto eth0
  iface eth0 inet static
+
  iface eth0 inet dhcp
    address 192.168.0.254
 
    netmask 255.255.255.0
 
    network 192.168.0.0
 
    broadcast 192.168.0.255
 
    gateway 192.168.0.1
 
    # dns-* options are implemented by the resolvconf package, if installed
 
    dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222
 
    dns-search sekolah.sch.id
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 04:09, 16 May 2017

Edit

#  vi /etc/network/interfaces 

Ubah

# The primary network interface
auto eth0
iface eth0 inet dhcp

Pranala Menarik