IGOS Nusantara dan ifcfg-eth0: Perbedaan revisi
Dari IGNwiki
(→skrip salin tempel) |
(→ifcfg-eth0) |
||
(Satu revisi antara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 3: | Baris 3: | ||
== ifcfg-eth0 == | == ifcfg-eth0 == | ||
Berkas ada di: /etc/sysconfig/network-scripts/ifcfg-eth0 | Berkas ada di: /etc/sysconfig/network-scripts/ifcfg-eth0 | ||
+ | Misal: | ||
+ | * IP=192.168.0.10 | ||
+ | * Gateway=192.168.0.1 | ||
+ | Konfigurasi: | ||
DEVICE=eth0 | DEVICE=eth0 | ||
ONBOOT=yes | ONBOOT=yes | ||
− | IPADDR=192.168. | + | IPADDR=192.168.0.10 |
BOOTPROTO=none | BOOTPROTO=none | ||
NETMASK=255.255.255.0 | NETMASK=255.255.255.0 | ||
TYPE=Ethernet | TYPE=Ethernet | ||
− | GATEWAY=192.168. | + | GATEWAY=192.168.0.1 |
DNS1=8.8.8.8 | DNS1=8.8.8.8 | ||
DNS2=8.8.4.4 | DNS2=8.8.4.4 | ||
Baris 17: | Baris 21: | ||
PREFIX=24 | PREFIX=24 | ||
NAME="eth0" | NAME="eth0" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revisi terkini pada 10 Desember 2012 09.55
IGOS Nusantara
ifcfg-eth0
Berkas ada di: /etc/sysconfig/network-scripts/ifcfg-eth0 Misal:
- IP=192.168.0.10
- Gateway=192.168.0.1
Konfigurasi:
DEVICE=eth0 ONBOOT=yes IPADDR=192.168.0.10 BOOTPROTO=none NETMASK=255.255.255.0 TYPE=Ethernet GATEWAY=192.168.0.1 DNS1=8.8.8.8 DNS2=8.8.4.4 IPV6INIT=no USERCTL=no PREFIX=24 NAME="eth0"