en:bpi-r2:network:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:bpi-r2:network:start [2023/02/05 14:55] – [vlan aware bridge] frank | en:bpi-r2:network:start [2023/08/23 19:39] (current) – [Monitoring] frank | ||
---|---|---|---|
Line 34: | Line 34: | ||
most users like to use all lan-ports in 1 network-segment, | most users like to use all lan-ports in 1 network-segment, | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | / | ||
===== Netbridge ===== | ===== Netbridge ===== | ||
Line 461: | Line 480: | ||
==== temporary ==== | ==== temporary ==== | ||
- | + | < | |
- | 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 | + | ip link set $netif |
- | ip addr add 192.168.50.1/24 dev vlan500 | + | ip link add link $netif |
- | 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 & | ||
+ | </ | ||
==== 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 | ||
+ | |||
+ | ethernet-stats: | ||
+ | |||
+ | ip -s link show dev lan0 | ||
+ | ethtool -S lan0 | ||
===== PPPoE ===== | ===== PPPoE ===== | ||
en/bpi-r2/network/start.1675605358.txt.gz · Last modified: 2023/06/08 17:06 (external edit)