Unable to get static ipv6 working on LXC

smittychifi

Member
Dec 8, 2021
4
0
6
44
My ISP has assigned me a block of ipv6: 2001:19c0:1::1c00/120

I'm currently on Proxmox 7.4.

After setting up a new Ubuntu 22 LXC, I've added network settings like so:

Static IP: 2001:19c0:1::1c03/120
Gateway: 2001:19c0:1::1c01

I've also tried updating the bridge on the node to include an ipv6 address:

Static IP: 2001:19c0:1::1c02/120
Gateway: 2001:19c0:1::1c01

I've also tried updating the RA setting under /etc/systemd/network/eth0.conf like some people have suggested in other threads without any change.

I always get the same result:

Code:
ping: google.com: Temporary failure in name resolution

ip a:

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0@if69: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 72:43:48:e6:bf:3a brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 2001:19c0:1::1c03/120 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::7043:48ff:fee6:bf3a/64 scope link
       valid_lft forever preferred_lft forever

and finally my lxc.conf:


Code:
arch: amd64
cores: 8
features: nesting=1
hostname: lxc.domain.com
memory: 8192
net0: name=eth0,bridge=vmbr0,firewall=1,gw6=2001:19c0:1::1c01,hwaddr=72:43:48:E6:BF:3A,ip6=2001:19c0:1::1c03/120,type=veth
ostype: ubuntu
rootfs: local:250/vm-250-disk-0.raw,size=100G
swap: 8192
unprivileged: 1
 

Attachments

  • Screenshot 2024-03-21 at 12.47.41 PM.png
    Screenshot 2024-03-21 at 12.47.41 PM.png
    89.3 KB · Views: 1
  • Screenshot 2024-03-21 at 12.48.00 PM.png
    Screenshot 2024-03-21 at 12.48.00 PM.png
    114.9 KB · Views: 1

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!