Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_router:network [2023-07-08 Sat wk27 09:21] – [Debian / Ubuntu Network - Interface Setup] baumkp | linux_router:network [2025-08-17 Sun wk33 08:23] (current) – [ipv6 Hurricane Electric Setup notes] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ======Debian | + | ======Debian |
- | ====Debian | + | ====Debian Network - Server |
As of Debian 10 (Buster) Debian still by default uses this interface Setup. | As of Debian 10 (Buster) Debian still by default uses this interface Setup. | ||
Line 19: | Line 19: | ||
# This file describes the network interfaces available on your system | # This file describes the network interfaces available on your system | ||
# and how to activate them. For more information, | # and how to activate them. For more information, | ||
- | | + | |
+ | | ||
+ | | ||
# The loopback network interface | # The loopback network interface | ||
auto lo | auto lo | ||
Line 27: | Line 29: | ||
auto eno1 eno1:0 | auto eno1 eno1:0 | ||
iface eno1 inet dhcp | iface eno1 inet dhcp | ||
- | # dhcp for IP/DHCP WAN / static for PPPOE | + | # dhcp for IP/DHCP WAN (static? for PPPOE) |
# set up static ip address to access modem web page on WAN NIC | # set up static ip address to access modem web page on WAN NIC | ||
iface eno1:0 inet static | iface eno1:0 inet static | ||
- | # set up ip address to access modem web page on WAN NIC | ||
address 192.168.5.2/ | address 192.168.5.2/ | ||
# Then LAN networks are eno2 eno3 eno4 in bridged mode br1 | # Then LAN networks are eno2 eno3 eno4 in bridged mode br1 | ||
# on the 192.168.1.1 subnet | # on the 192.168.1.1 subnet | ||
- | auto br1 | + | auto br0 |
- | iface br1 inet static | + | iface br0 inet static |
bridge_ports eno2 eno3 eno4 | bridge_ports eno2 eno3 eno4 | ||
address 192.168.1.1/ | address 192.168.1.1/ | ||
- | dns-nameservers 192.168.1.1 | + | dns-nameservers 192.168.1.14 192.168.1.2 9.9.9.9 |
bridge_stp off # disable Spanning Tree Protocol | bridge_stp off # disable Spanning Tree Protocol | ||
#bridge_fd 9 # forwarding delay # use default? | #bridge_fd 9 # forwarding delay # use default? | ||
Line 85: | Line 86: | ||
=====Network - Netplan Setup===== | =====Network - Netplan Setup===== | ||
+ | ++++tl;dr;| | ||
Debian still defaults to the interface style network setup. It can be set up to use netplan. | Debian still defaults to the interface style network setup. It can be set up to use netplan. | ||
Line 109: | Line 110: | ||
The remaining 3 NICs are setup in bridge mode as router LAN ports. When setup in bridge mode the 3 ports effectively act as a switch with any able to access the router LAN on 192.168.1.1 . | The remaining 3 NICs are setup in bridge mode as router LAN ports. When setup in bridge mode the 3 ports effectively act as a switch with any able to access the router LAN on 192.168.1.1 . | ||
+ | ++++ | ||
See the Netplan configuration below: | See the Netplan configuration below: | ||
++++'' | ++++'' | ||
Line 160: | Line 161: | ||
gateway6: " | gateway6: " | ||
</ | </ | ||
- | ++++ | ||
*'' | *'' | ||
*'' | *'' | ||
Line 171: | Line 171: | ||
The use of the stanza " | The use of the stanza " | ||
+ | ++++ | ||
It is important that the network/ | It is important that the network/ | ||
Basically ensure that all items in file / | Basically ensure that all items in file / | ||
Line 194: | Line 194: | ||
====ipv6 Hurricane Electric Setup notes==== | ====ipv6 Hurricane Electric Setup notes==== | ||
+ | ++++tl;dr;| | ||
I set up the router network tunnel 6in4 to HEipv6. | I set up the router network tunnel 6in4 to HEipv6. | ||
The main tunnel connection is set up in the main network configuration file(s).\\ | The main tunnel connection is set up in the main network configuration file(s).\\ | ||
My routing table had '' | My routing table had '' | ||
- | I looked for ways to adjust the netplan configuration, | + | I looked for ways to adjust the netplan configuration, |
To create and edit the service: '' | To create and edit the service: '' | ||
++++ipv6_start.service| | ++++ipv6_start.service| |