Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2535

Raspberry Pi OS • Re: How to get a Static IPV6 working with Fritzbox

$
0
0
Hi,

when I am using an rpi in an internal network without DHCP server, I setup my /etc/network/interfaces as follows:

Code:

# interfaces(5) file used by ifup(8) and ifdown(8)# Include files from /etc/network/interfaces.d:source /etc/network/interfaces.d/*auto eth0iface eth0 inet static        address <static IPv4 address of Pi>        netmask 255.255.255.0        gateway <static IPv4 address of gateway>iface eth0 inet6 static        pre-up modprobe ipv6        address <static IPv6 address of Pi>        netmask 64        gateway <static IPv6 address of gateway>
If you look at man interfaces, the use of netmask is deprecated. I guess one should use CIDR notation for the address instead.

Statistics: Posted by Karl99 — Tue Dec 26, 2023 11:58 pm



Viewing all articles
Browse latest Browse all 2535

Trending Articles