Académique Documents
Professionnel Documents
Culture Documents
Mengaktifkan Ethernet
ifup eth0
atau
ifconfig eth0 up
Menonaktifkan Ethernet
ifdown eth0
atau
ifconfig eth0 down
Permanen
sudo nano /etc/network/interfaces
# 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
# The local network interface
auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
gateway 192.168.10.254
dns-nameservers 119.2.40.21
# The local alias network interface
auto eth0:0
iface eth0:0 inet static
address 10.10.10.1
netmask 255.255.255.0
Restart Networking
sudo service networking restart
atau
Menambahkan DNS
sudo nano /etc/resolv.conf
search debian.edu
nameserver 192.168.10.1
nameserver 119.2.40.21
Restart Hostname
sudo /bin/hostname F /etc/hostname
DNS Server
- Install Bind9
sudo apt-get install bind9
Konfigurasi Bind9
o Membuat Zone Domain
sudo nano /etc/bind/named.conf
#. . .
zone "debian.edu" {
type master;
file "db.debian";
};
zone "192.in-addr.arpa" {
type master;
file "db.192"; };
include "/etc/bind/named.conf.local";
604800
IN
SOA
@
@
www
ftp
sub-domain
mail
streaming
604800
IN
SOA
@
IN
1.10.168
IN
IN
IN
IN
IN
IN
IN
debian.edu. root.debian.edu. (
2
604800
86400
2419200
604800 )
NS
debian.edu.
A
192.168.10.1
A
192.168.10.1
A
192.168.10.1
A
192.168.10.1
A
192.168.10.1
A
192.168.10.1
NS
IN
debian.edu. root.debian.edu. (
1
604800
86400
2419200
604800 )
debian.edu.
PTR debian.edu.