Is there a Linux kernel boot parameter to configure an IPv6 address?
Posted
by
aef
on Server Fault
See other posts from Server Fault
or by aef
Published on 2012-11-04T14:22:41Z
Indexed on
2012/11/16
17:03 UTC
Read the original article
Hit count: 218
I know there is a parameter named ip
which lets you configure IPv4 addresses on the Linux kernel through the boot loader. That looks like the following:
ip=192.0.2.1::192.0.2.62:255.255.255.192::eth0:none
I'm looking for an equal parameter for IPv6 configuration. I couldn't find anything about this in the kernel documentations.
Update: Because of a lot of you asked why I would need this: The idea to use a kernel configuration came up related to this problem. I suspect the regular boot-up interface configuration is not done, because the interfaces are already up. The reason for this could be that I'm using a pre-boot environment with a Dropbear SSH server to allow me to unlock my encrypted root partition. The IP addresses for this environment are configured through GRUB with the ip=
parameter. There is no DHCP or Router Advertisement available on that Ethernet segment and as this is the uplink segment provided by a large hosting company, there is no way to change that fact.
© Server Fault or respective owner