Hi,
when I am using an rpi in an internal network without DHCP server, I setup my /etc/network/interfaces as follows:
If you look at man interfaces, the use of netmask is deprecated. I guess one should use CIDR notation for the address instead.
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>
Statistics: Posted by Karl99 — Tue Dec 26, 2023 11:58 pm