Teknik Mengkonfigurasi IP address: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
New page: Edit file /etc/network/interfaces # vi /etc/network/interfaces Contoh isi IP Dynamic iface eth0 inet dhcp IP Static iface eth0 inet static address 192.168.0.2 netmask 255.255.255...
 
Onnowpurbo (talk | contribs)
No edit summary
Line 5: Line 5:
Contoh isi
Contoh isi


 
'''IP Dynamic'''
IP Dynamic
  iface eth0 inet dhcp
  iface eth0 inet dhcp


IP Static
'''IP Static'''
  iface eth0 inet static
  iface eth0 inet static
  address 192.168.0.2
  address 192.168.0.2
  netmask 255.255.255.0
  netmask 255.255.255.0
  gateway 192.168.0.1
  gateway 192.168.0.1

Revision as of 03:28, 2 April 2008

Edit file /etc/network/interfaces

# vi /etc/network/interfaces

Contoh isi

IP Dynamic

iface eth0 inet dhcp

IP Static

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1