![]()
Greeting,
today I read the Incus 7.7 release notes and noticed the routed NIC option.
I tried configuring it, but I cannot ping the host.
Could you show me how to use nictype=routed?
Environment
-
Incus Version: Client
7.7/ Server7.7 -
Host OS: Ubuntu 26.04
-
Container Image:
images:debian/trixie -
Host Interface (
enx34298f745621):Plaintext
3: enx34298f745621: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 34:29:8f:74:56:21 brd ff:ff:ff:ff:ff:ff inet 10.1.1.12/24 brd 10.1.1.255 scope global dynamic noprefixroute enx34298f745621 valid_lft 84062sec preferred_lft 84062sec inet6 fe80::9f54:62ac:178e:c2f5/64 scope link noprefixroute valid_lft forever preferred_lft forever -
Host sysctl:
Plaintext
net.ipv4.ip_forward = 1 net.ipv4.conf.enx34298f745621.forwarding = 1 net.ipv4.conf.enx34298f745621.proxy_arp = 1
What I Tested
-
Created container
d4(incus init images:debian/trixie d4) and attached aroutedNIC onenx34298f745621withipv4.address=10.1.1.11. -
Expected DHCP conflict on the container side, so I configured static IP/route inside the container instead of relying on DHCP.
-
However,
pingbetween the container and the host still does not work.
Question
- How can I properly use and configure
nictype=routedin Incus 7.7 so that host-to-container and external communication works reliably? What am I missing in my host, NIC, or container network configuration?
For good communication, I used AI Power.
Thanks for your effort.