05-30-2014, 06:02 AM
yg gw tahu itu nambahin virtual network, contohnya:
buka file berikut,
isinya seperti ini jika menggunakan DHCP IP:
tambahkan auto eth0:0 seperti contoh berikut::
setelah itu simpan dan jalankan perintah berikut:
semoga bermanfaat,
buka file berikut,
Code:
sudo vim /etc/network/interfaces
isinya seperti ini jika menggunakan DHCP IP:
Quote:# 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
tambahkan auto eth0:0 seperti contoh berikut::
Quote:auto eth0:0
iface eth0:0 inet static
address 10.1.1.101
gateway 10.1.1.1
netmask 255.255.255.0
broadcast 10.1.1.255
setelah itu simpan dan jalankan perintah berikut:
Code:
sudo ifup eth0:0
semoga bermanfaat,
I'm @ikonspirasi - Facebook
Personal blog: http://ikonspirasi.net
Personal blog: http://ikonspirasi.net