You are not logged in.

#1 2014-03-29 14:21:03

bb10
Member
Registered: 2007-12-31
Posts: 73

Can't seem to get netctl working

Hello,

I have a remote server where I recently had to reinstall the OS due to hard drive failure. Anyway, I spend all day yesterday trying to get ipv6 going.

I first tried to add the obvious lines to the netctl profile that was preconfigured with ipv4.

IP6=static
Address6=('2001:yyyy:xx:161b::1/128')
Gateway6='2001:yyyy:xx:16ff:ff:ff:ff:ff'

Then I restarted the profile with netctl and it rendered my server unreachable. I had to boot rescue mode to remove the ipv6 lines.

I then tried numerous things with a separate profile only for ipv6:

Description='ipv6 netctl'
Interface=eth0
Connection=ethernet
IP6=static
Address6=('2001:yyyy:xx:161b::1/128')
Gateway6='2001:yyyy:xx:16ff:ff:ff:ff:ff'

and

Description='ipv6 netctl'
Interface=eth0
Connection=ethernet
IP6=static
Address6=('2001:yyyy:xx:161b::1/128')
IPCustom=('-6 route add 2001:yyyy:xx:16ff:ff:ff:ff:ff dev eth0' '-6 route add default via 2001:yyyy:xx:16ff:ff:ff:ff:ff')

among others.

All of the profiles gave the same error:

network[1145]: Profile 'ethv6' does not specify a valid connection
systemd[1]: netctl@ethv6.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Networking for netctl profile ethv6.

Next, I tried adding ipv6 manually. I finally succeeded with the following commands:

ip -6 addr add 2001:yyyy:xx:161b::1/128 dev eth0
ip -6 route add 2001:yyyy:xx:16ff:ff:ff:ff:ff dev eth0
ip -6 route add default via 2001:yyyy:xx:16ff:ff:ff:ff:ff

I successfully ping(6)ed irc6.rizon.net. My question is, how do I get the netctl profile working?

Thanks in advance.

Offline

Board footer

Powered by FluxBB