Professional Documents
Culture Documents
1 Home Agent
# ifconfig eth0 up
# ifconfig eth0 down
Konfigurasi interfaces :
# vim /etc/network/interfaces
auto eth0
iface eth0 inet6 static
address 2001:660:5503:276b::2
netmask 64
auto eth1
iface eth1 inet6 static
address 2001:660:5503:276a::1
netmask 64
#wireless-mode ad-hoc
wireless-essid homenet
up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
up echo 0 > /proc/sys/net/ipv6/conf/all/autoconf
up echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
up echo 0 > /proc/sys/net/ipv6/conf/all/accept_redirects
up ip route add 2001:660:5503:276c::/64 via 2001:660:5503:276b::1
# /etc/init.d/networking restart
# vim /usr/local/etc/mip6d.conf
NodeConfig HA;
DebugLevel 10;
DoRouteOptimizationCN enabled;
Interface "ath0";
#UseMnHaIPsec disabled;
# mip6d -c /usr/local/etc/mip6d.conf
2 Foreign Agent
3 Mobile Node
# vim /usr/local/etc/mip6d.conf
NodeConfig MN;
DebugLevel 10;
DoRouteOptimizationCN enabled;
Interface "eth1";
UseMnHaIPsec disabled;
DoRouteOptimizationMN enabled;
UseCnBuAck enabled;
MnHomeLink "eth1" {
HomeAgentAddress 2001:660:5503:276a::1;
HomeAddress 2001:660:5503:276a::2/64;
}
# mip6d -c /usr/local/etc/mip6d.conf
4 Server Multimedia
Setelah konfigurasi pada Apache2 selesai, selanjutnya tinggal melakukan konfigurasi pada
Bind9, sehingga nanti webserver streaming nya bias dibuka melalui domain alamat, file-file yang
akan dikonfigurasi adalah named.conf.default-zones, dan db.ipv6 yang merupakan copyan dari
db.local.
# vim /etc/bind/named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "ipv6.tugasakhir.com" {
type master;
file "/etc/bind/db.ipv6";
allow-transfer {none;};
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
Kemudian file db.ipv6 yang merupakan zona forwaders untuk domain nama tersebut sehingga
memangil site nya tidak lagi menggunakan ip tapi memforward langsung pada domain yang
dibuat,