Cara mengkoneksikan LAN di Linux Ubuntu

interface ethernet (kabel lan)

  1. ifconfig
  2. ifconfig -a  lihat nama interfaces yg ingin dikoneksikan ke internet
  3. ifconfig eth1 up menghidupkan interfaces eth1
  4. ifconfig mengecek kembali interfaces yg hidup
  5. nano /etc/network/interface mensetting konfigurasi networknya
  6. tambahkan :

auto eth1
iface eth1 inet dhcp bila ingin dhcp ini sudah cukup

 auto eth1
iface eth1 inet static untuk mensetting ip static
address 192.168.22.111
netmask 255.255.255.0
gateway 192.168.22.1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s