You are not logged in.
Hello.
I need to setup a static IPv6 network.
I seem not to be able to do it.
I tried to do it like this:
First I configured the systemd-networkd like so:
[root@jenia]# cat /etc/systemd/network/eth0.network
[Match]
Name=eth0
[Network]
DNS=72.14.179.5
DNS=72.14.188.5
DNS=2600:3c00::2
DNS=2600:3c00::3
[Address]
Address=fe80::abcd:efgh:ijkl:mnop/64 <--------------- this address appears below, in the 'ip -6 addr' output
[Route]
Gateway=fe80::1
Then i did:
[root@jenia]# systemctl restart systemd-networkd
[root@jenia]# systemctl status systemd-networkd
â systemd-networkd.service - Network Service
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled)
Active: active (running) since Wed 2014-07-16 13:49:34 EDT; 5s ago
Docs: man:systemd-networkd.service(8)
Main PID: 4429 (systemd-network)
Status: "Processing requests..."
CGroup: /system.slice/systemd-networkd.service
ââ4429 /usr/lib/systemd/systemd-networkd
Jul 16 13:49:34 li428-212.members.linode.com systemd-networkd[4429]: eth0 : gained carrier
Jul 16 13:49:34 li428-212.members.linode.com systemd-networkd[4429]: lo : gained carrier
Jul 16 13:49:34 li428-212.members.linode.com systemd[1]: Started Network Service.
Jul 16 13:49:34 li428-212.members.linode.com systemd-networkd[4429]: eth0 : link configured
And finally, I saw that it didnt work:
[root@jenia]# ping6 ipv6.google.com -c 3
PING ipv6.google.com(dfw06s40-in-x06.1e100.net) 56 data bytes
--- ipv6.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
Here is some more infomation about the network:
[root@ jenia]# ip -6 addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2600:3c00::9169:4517:8d82:2ef2/64 scope global noprefixroute dynamic
valid_lft 2591981sec preferred_lft 604781sec
inet6 fe80::abcd:efgh:ijkl:mnop/64 scope link <------------------------------------ this address appears above in the /etc/systemd/network/eth0.network file
valid_lft forever preferred_lft forever
inet6 fe80::cdcc:7192:2988:8aee/64 scope link
valid_lft forever preferred_lft forever
[root@ jenia]# ip -6 route
2600:3c00::/64 dev eth0 proto kernel metric 203 mtu 1500
fe80::/64 dev eth0 proto kernel metric 256
default via fe80::1 dev eth0 metric 203 mtu 1500
[root@ jenia]# cat /etc/resolv.conf
domain members.linode.com
nameserver 72.14.179.5
nameserver 72.14.188.5
nameserver 2600:3c00::2
nameserver 2600:3c00::3
options rotate
Maybe someone can help me to setup this IPv6 static network?
Thanks greatly for your time and kind concern.
jenia
Last edited by jenia (2014-07-16 18:05:17)
Offline
I changed the
[Address]
Address=fe80::abcd:efgh:ijkl:mnop/64
to this:
[Address]
Address=2600:3c00::abcd:efgh:ijkl:mnop/64
No effect.
Also see this:
[root@jenia ]# ping6 fe80::1%eth0
PING fe80::1%eth0(fe80::1) 56 data bytes
64 bytes from fe80::1: icmp_seq=1 ttl=255 time=0.807 ms
64 bytes from fe80::1: icmp_seq=2 ttl=255 time=0.736 ms
64 bytes from fe80::1: icmp_seq=3 ttl=255 time=0.750 ms
64 bytes from fe80::1: icmp_seq=4 ttl=255 time=0.751 ms
64 bytes from fe80::1: icmp_seq=5 ttl=255 time=0.748 ms
Last edited by jenia (2014-07-16 18:24:36)
Offline