Skip to content

ipv6 address not configured #193

@giovannicandido

Description

@giovannicandido

Ubuntu Xenial Image do not get ipv6 address on boot.

I think is because eth0 do not exist and is not guarantee to exist on different linux distributions

IP=$(scw-metadata --cached IPV6_ADDRESS)
GW=$(scw-metadata --cached IPV6_GATEWAY)
MASK=$(scw-metadata --cached IPV6_NETMASK)
run ip -6 addr add dev eth0 $IP/$MASK
run ip -6 route add default via $GW

Assume eth0, while ip a show ens2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions