Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_router:network [2023-07-08 Sat wk27 09:21] – [Debian / Ubuntu Network - Interface Setup] baumkplinux_router:network [2025-01-03 Fri wk01 08:59] (current) – [Debian / Ubuntu Network - Interface Setup] baumkp
Line 1: Line 1:
 {{tag>linux Debian Ubuntu router network netplan interface vlan ipv6 ip}} {{tag>linux Debian Ubuntu router network netplan interface vlan ipv6 ip}}
-======Debian / Ubuntu Network Setup======+======Debian Server Network Setup======
  
-====Debian / Ubuntu Network - Interface Setup=====+====Debian Network - Server Interface Setup=====
  
 As of Debian 10 (Buster) Debian still by default uses this interface Setup.  It can be setup to use netplan inface.\\ As of Debian 10 (Buster) Debian still by default uses this interface Setup.  It can be setup to use netplan inface.\\
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, see interfaces(5).   # and how to activate them. For more information, see interfaces(5).
-  source /etc/network/interfaces.d/*+   
 +  source /etc/network/interfaces.d/* 
 +  
   # 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 (staticfor 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/24     address 192.168.5.2/24
   
   # 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/24     address 192.168.1.1/24
-    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?