You are not logged in.

#1 2014-07-14 13:09:24

mrinx
Member
From: Richmond, VA
Registered: 2013-08-01
Posts: 87
Website

Static ipv6 address with dhcpcd

Hello guys,

Just out of curiosity, is there any way how to configure static ipv6 address within dhcpcd config file? For ipv4 one can add extra lines to dhcpcd.conf:

interface eth0
static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=8.8.8.8

Anyway, I have no idea how to make this working for ipv6, is it even possible?

(I know I could use systemd-networkd or netctl or just ip instead.)


English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?

Offline

#2 2014-07-14 13:14:18

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: Static ipv6 address with dhcpcd

Currently this is not possible with dhcpcd. You are the second person to ask for this, but I must ask why you need it?
If it's to shorten an IPV6 address to make it easier to remember, please consider mDNS instead!

Offline

#3 2014-07-14 13:26:39

mrinx
Member
From: Richmond, VA
Registered: 2013-08-01
Posts: 87
Website

Re: Static ipv6 address with dhcpcd

Wow, that was quick. Thank you for your response. It's more about me being curious, I don't need it from dhcpcd per se, I just want to switch from netctl, and I wouldn't be mad if it gets implemented one day smile


English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?

Offline

Board footer

Powered by FluxBB