OK, y'all had to know there would be follow-up questions once I discovered how to do command-line mode installs.
Here's my first ....
My ISP (Comcast) provides an excellent IPv6 service, with a /60 prefix delegation, in addition to the /128 address. Yeah, the ISC-DHCP client on the router has a job to do.
OK, that aside.
I have been working to set up this Debian server ("channels") on my home network.
I have moved channels to a command-line server, because I have no use for the window manager.
Back when it lived as a Cinnamon-based server, I used to have this file for network configuration ...
Specifically, the IPv6 side was assigned a static address (the fd ... :1:5 thing), and also the rtadv aspect also worked, assigning the addresses from the router advertisement request answers, i.e. the externally routable 2xxx:... IPv6 addresses.)
OK, so now I move over to command line mode, and that Network config does not seem to work.
So I delve into apropos and man interfaces, and come up with ...
In the IPv6 section of that file I have tried many (all?) the combinations of the "auto" and "static" options.
When one or the other is specified, it works, I see what the conf file says.
But when both are specified, oddness results. I tend to see an unconfigured interface.
So, my question is ...
in a command-line interface, how do I specify IPv6 requirements such that the router advertisement gives me what it obtains from its server, but (and this seems to be the big but), I can also add an IPv6 alias IPv6 address in addition to what rtadv provides.

Here's my first ....
My ISP (Comcast) provides an excellent IPv6 service, with a /60 prefix delegation, in addition to the /128 address. Yeah, the ISC-DHCP client on the router has a job to do.
OK, that aside.
I have been working to set up this Debian server ("channels") on my home network.
I have moved channels to a command-line server, because I have no use for the window manager.
Back when it lived as a Cinnamon-based server, I used to have this file for network configuration ...
And that worked well for what I wanted.less /etc/NetworkManager/system-connections/wire
[connection]
id=wire
uuid=2dfea7b2-740e-4397-a192-e9b2a676a3bb
type=ethernet
timestamp=1738267757
[ethernet]
[ipv4]
address1=10.11.1.5/16,10.11.1.1
dns=10.11.1.1;
method=manual
[ipv6]
ip6-privacy=2
method=auto
address=fdcf:b71511:1::5
Specifically, the IPv6 side was assigned a static address (the fd ... :1:5 thing), and also the rtadv aspect also worked, assigning the addresses from the router advertisement request answers, i.e. the externally routable 2xxx:... IPv6 addresses.)
OK, so now I move over to command line mode, and that Network config does not seem to work.
So I delve into apropos and man interfaces, and come up with ...
# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s25
#iface enp0s25 inet dhcp
auto enp0s25
allow-hotplug enp0s25
# IPv4
iface enp0s25 inet static
address 10.11.1.5/16
gateway 10.11.1.1
#IPv6
iface enp0s25 inet6 auto
accept_ra 2
#iface enp0s25 inet6 static
#address fdcf:b71511:1::5/64
##gateway fdcf:b71511:1::1
In the IPv6 section of that file I have tried many (all?) the combinations of the "auto" and "static" options.
When one or the other is specified, it works, I see what the conf file says.
But when both are specified, oddness results. I tend to see an unconfigured interface.
So, my question is ...
in a command-line interface, how do I specify IPv6 requirements such that the router advertisement gives me what it obtains from its server, but (and this seems to be the big but), I can also add an IPv6 alias IPv6 address in addition to what rtadv provides.
Statistics: Posted by diningroom — 2025-02-23 04:51 — Replies 5 — Views 70