Debian IPv6 Network Manager: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "= Intro = On Debian 12 or more specifically Raspbian 12 Bookworm whenever I created a static IPv6 address router advertisement would cease to work. I could not find a solution while using network manager, so I decided to remove it. This solved my problem. If you are doing this on a remote system it can be done in the following order as not to loose connectivity to IPv4 or IPv6. = Configure Static IPs = <pre>vi /etc/network/interfaces</pre> <pre> auto eth0 iface eth0..."
 
No edit summary
 
Line 11: Line 11:
auto eth0
auto eth0
iface eth0 inet static
iface eth0 inet static
address 192.168.1.1
address 192.168.1.1/24
netmask 255.255.255.0
boradcast 192.168.1.255
gateway 192.168.1.254
gateway 192.168.1.254



Latest revision as of 21:53, 5 November 2024

Intro

On Debian 12 or more specifically Raspbian 12 Bookworm whenever I created a static IPv6 address router advertisement would cease to work.

I could not find a solution while using network manager, so I decided to remove it. This solved my problem.

If you are doing this on a remote system it can be done in the following order as not to loose connectivity to IPv4 or IPv6.

Configure Static IPs

vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.1/24
gateway 192.168.1.254


iface eth0 inet6 static
address 81b9:f2a7:449b:cf9e:3d2f:4f65:ec96:7eba/64

Create Network Service

vi /etc/systemd/system/bring-up-eth0.service
[Unit]
Description=Bring up eth0 interface
After=network.target

[Service]
Type=oneshot
ExecStart=/sbin/ifup eth0

[Install]
WantedBy=multi-user.target

Enable Service

systemctl enable bring-up-eth0.service

Remove Network Manager

apt remove --purge network-manager
apt autoremove

Reboot

reboot