Contoh Configurasi ipv6 manual

ini adalah contoh untuk mensetting ipv6 manual di fedora core 🙂
not tutorial 🙂


[cachak@cachak ~]$ ip -6 r
2001:d30:f:1003::/64 dev eth0  proto kernel  metric 256  expires 42943sec mtu 1500 advmss 1440 metric 10 4294967295
fe80::/64 dev eth0  metric 256  mtu 1500 advmss 1440 metric 10 4294967295
ff00::/8 dev eth0  metric 256  mtu 1500 advmss 1440 metric 10 4294967295
default via fe80::20e:7fff:fe30:17a5 dev eth0  proto kernel  metric 1024  expires 1549sec mtu 1500 advmss 1440 metric 10 64
unreachable default dev lo  proto none  metric -1  error -101 metric 10 255
[cachak@cachak ~]$ ip a
1: lo:  mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:25:45:f3:3c brd ff:ff:ff:ff:ff:ff
    inet 172.17.3.154/24 brd 172.17.3.255 scope global eth0
    inet6 2001:d30:f:1003:211:25ff:fe45:f33c/64 scope global dynamic
       valid_lft 42925sec preferred_lft 42925sec
    inet6 fe80::211:25ff:fe45:f33c/64 scope link
       valid_lft forever preferred_lft forever
3: sit0:  mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
[cachak@cachak ~]$

[cachak@cachak ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=cachak.myindo.net
GATEWAY=172.17.3.154
NETWORKING_IPV6="yes"
IPV6_AUTOCONF=yes
IPV6_DEFAULTGW="2001:d30:f:2000::1%eth0"
[cachak@cachak ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=172.17.3.154
NETMASK=255.255.255.0
IPV6INIT="yes"
IPV6ADDR="2001:d30:f:1003:211:25ff:fe45:f33c/64"
ONBOOT=yes
TYPE=Ethernet

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.