User Tools

Site Tools



en:bpi-r2:network:start

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
Last revisionBoth sides next revision
en:bpi-r2:network:start [2023/02/05 14:55] – [vlan aware bridge] franken:bpi-r2:network:start [2023/07/05 10:33] – [Monitoring] frank
Line 34: Line 34:
  
 most users like to use all lan-ports in 1 network-segment, so these can be [[#netbridge|bridged together]] to make only 1 ip-configuration for "LAN" most users like to use all lan-ports in 1 network-segment, so these can be [[#netbridge|bridged together]] to make only 1 ip-configuration for "LAN"
 +
 +my 6.3-rc brings some patches for re-introduce second gmac. by default port 6 (trgmii) is used and can be changed in userspace:
 +
 +  ip link set wan type dsa master eth1
 +
 +* requires iproute2 v6.1+
 +
 +add backports in sources.list:
 +
 +  deb http://deb.debian.org/debian bullseye-backports main contrib non-free
 +
 +install
 +
 +  apt update
 +  apt -t bullseye-backports install iproute2
 ===== MAC-Address ===== ===== MAC-Address =====
  
Line 396: Line 411:
  
   nameserver 192.168.0.10   nameserver 192.168.0.10
 +
 +on newer debian/ubuntu this file is a symlink to
 +
 +/run/systemd/resolve/stub-resolv.conf
 ===== Netbridge ===== ===== Netbridge =====
  
Line 461: Line 480:
  
 ==== temporary ==== ==== temporary ====
- +<code> 
-  ip addr add 192.168.40.11/24 dev lan1 +#!/bin/bash 
-  ip link set lan1 up +netif=wan 
-  ip link add link lan1 name vlan500 type vlan id 500 +ip link set $netif up 
-  ip addr add 192.168.50.1/24 dev vlan500 +ip link add link $netif name vlan110 type vlan id 110 
-  ip link set vlan500 up+ip link set vlan110 up 
 +ip addr add 192.168.110.1/24 dev vlan110 
 +#tcpdump -i $netif -nn -e vlan & 
 +</code>
 ==== vlan aware bridge ==== ==== vlan aware bridge ====
  
Line 517: Line 539:
   sudo tcpdump -XXi lan1 arp or icmp   sudo tcpdump -XXi lan1 arp or icmp
  
 +traceroute with tcp-port instead of icmp
 +
 +  sudo traceroute -n -T -p 443 domain
 ===== PPPoE ===== ===== PPPoE =====
  
en/bpi-r2/network/start.txt · Last modified: 2023/08/23 19:39 by frank