[Ask] cara nambahin virtual network interface
#1
om, cara nambah network interface di kali gmna sih?? ane mau nambahin eth1 kira bisa ga ?? kalo bisa minta pencerahan nya. thanks :-bd

#2
yg gw tahu itu nambahin virtual network, contohnya:
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,

#3
(05-30-2014, 06:02 AM)iKONspirasi Wrote: yg gw tahu itu nambahin virtual network, contohnya:
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,

makasih banyak om, , , helpfull :-bd






Users browsing this thread: 1 Guest(s)