Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =========================================
- Thunderbolt Mesh Network Config Info Tool
- =========================================
- -----------------------------------------
- Kernel Version
- -----------------------------------------
- Linux pve-node01 6.8.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z) x86_64 GNU/Linux
- -----------------------------------------
- File: /etc/network/interfaces
- -----------------------------------------
- auto lo
- iface lo inet loopback
- iface enp86s0 inet manual
- iface en05 inet manual
- iface en06 inet manual
- auto vmbr0
- iface vmbr0 inet static
- address 10.16.30.21/24
- gateway 10.16.30.1
- bridge-ports enp86s0
- bridge-stp off
- bridge-fd 0
- bridge-vlan-aware yes
- bridge-vids 10,20,35
- source /etc/network/interfaces.d/*
- -----------------------------------------
- File: /etc/network/interfaces.d/thunderbolt
- -----------------------------------------
- auto lo:0
- iface lo:0 inet static
- address 10.0.0.81/32
- auto lo:6
- iface lo:6 inet static
- address fc00::81/128
- allow-hotplug en05
- iface en05 inet manual
- mtu 65520
- allow-hotplug en06
- iface en06 inet manual
- mtu 65520
- post-up /usr/bin/systemctl restart frr.service
- ----------------------------------------
- File: /usr/local/bin/pve-en05.sh
- -rwxr-xr-x 1 root root 638 Mar 11 08:05 /usr/local/bin/pve-en05.sh
- -----------------------------------------
- LOGFILE="/tmp/udev-debug.log"
- VERBOSE="" # Set this to "-v" for verbose logging
- IF="en05"
- echo "$(date): pve-$IF.sh triggered by udev" >> "$LOGFILE"
- for i in {1..10}; do
- echo "$(date): Attempt $i to bring up $IF" >> "$LOGFILE"
- /usr/sbin/ifup $VERBOSE $IF >> "$LOGFILE" 2>&1 && {
- echo "$(date): Successfully brought up $IF on attempt $i" >> "$LOGFILE"
- break
- }
- echo "$(date): Attempt $i failed, retrying in 3 seconds..." >> "$LOGFILE"
- sleep 3
- done
- ----------------------------------------
- File: /usr/local/bin/pve-en06.sh
- -rwxr-xr-x 1 root root 637 Mar 11 08:05 /usr/local/bin/pve-en06.sh
- -----------------------------------------
- LOGFILE="/tmp/udev-debug.log"
- VERBOSE="" # Set this to "-v" for verbose logging
- IF="en06"
- echo "$(date): pve-$IF.sh triggered by udev" >> "$LOGFILE"
- for i in {1..10}; do
- echo "$(date): Attempt $i to bring up $IF" >> "$LOGFILE"
- /usr/sbin/ifup $VERBOSE $IF >> "$LOGFILE" 2>&1 && {
- echo "$(date): Successfully brought up $IF on attempt $i" >> "$LOGFILE"
- break
- }
- echo "$(date): Attempt $i failed, retrying in 3 seconds..." >> "$LOGFILE"
- sleep 3
- done
- -----------------------------------------
- File: /etc/modules
- -----------------------------------------
- thunderbolt
- thunderbolt-net
- -----------------------------------------
- File: /etc/systemd/network/00-thunderbolt0.link
- -----------------------------------------
- [Match]
- Path=pci-0000:00:0d.3
- Driver=thunderbolt-net
- [Link]
- MACAddressPolicy=none
- Name=en05
- -----------------------------------------
- File: /etc/systemd/network/00-thunderbolt1.link
- -----------------------------------------
- [Match]
- Path=pci-0000:00:0d.2
- Driver=thunderbolt-net
- [Link]
- MACAddressPolicy=none
- Name=en06
- -----------------------------------------
- File: /etc/sysctl.conf
- -----------------------------------------
- net.ipv4.ip_forward=1
- net.ipv6.conf.all.forwarding=1
- ----------------------------------------
- File: /etc/network/if-up.d/restart-frr
- ls: cannot access '/etc/network/if-up.d/restart-frr': No such file or directory
- -----------------------------------------
- grep: /etc/network/if-up.d/restart-frr: No such file or directory
- -----------------------------------------
- File: /etc/udev/rules.d/10-tb-en.rules
- -----------------------------------------
- ACTION=="move", SUBSYSTEM=="net", KERNEL=="en05", RUN+="/usr/local/bin/pve-en05.sh"
- ACTION=="move", SUBSYSTEM=="net", KERNEL=="en06", RUN+="/usr/local/bin/pve-en06.sh"
- -----------------------------------------
- File: /etc/frr/frr.conf
- -----------------------------------------
- frr version 8.5.2
- frr defaults traditional
- hostname pve-node01
- log syslog informational
- service integrated-vtysh-config
- !
- interface en05
- ip router openfabric 1
- ipv6 router openfabric 1
- exit
- !
- interface en06
- ip router openfabric 1
- ipv6 router openfabric 1
- exit
- !
- interface lo
- ip router openfabric 1
- ipv6 router openfabric 1
- openfabric passive
- exit
- !
- router openfabric 1
- net 49.0000.0000.0001.00
- fabric-tier 0
- exit
- !
- -----------------------------------------
- File: /etc/frr/daemons
- -----------------------------------------
- bgpd=yes
- ospfd=no
- ospf6d=no
- ripd=no
- ripngd=no
- isisd=no
- pimd=no
- pim6d=no
- ldpd=no
- nhrpd=no
- eigrpd=no
- babeld=no
- sharpd=no
- pbrd=no
- bfdd=yes
- fabricd=yes
- vrrpd=no
- pathd=no
- vtysh_enable=yes
- zebra_options=" -A 127.0.0.1 -s 90000000"
- bgpd_options=" -A 127.0.0.1"
- ospfd_options=" -A 127.0.0.1"
- ospf6d_options=" -A ::1"
- ripd_options=" -A 127.0.0.1"
- ripngd_options=" -A ::1"
- isisd_options=" -A 127.0.0.1"
- pimd_options=" -A 127.0.0.1"
- pim6d_options=" -A ::1"
- ldpd_options=" -A 127.0.0.1"
- nhrpd_options=" -A 127.0.0.1"
- eigrpd_options=" -A 127.0.0.1"
- babeld_options=" -A 127.0.0.1"
- sharpd_options=" -A 127.0.0.1"
- pbrd_options=" -A 127.0.0.1"
- staticd_options="-A 127.0.0.1"
- bfdd_options=" -A 127.0.0.1"
- fabricd_options="-A 127.0.0.1"
- vrrpd_options=" -A 127.0.0.1"
- pathd_options=" -A 127.0.0.1"
- -----------------------------------------
- Command: vtysh -c "show openfabric topology"
- -----------------------------------------
- Area 1:
- IS-IS paths to level-2 routers that speak IP
- Vertex Type Metric Next-Hop Interface Parent
- pve-node01
- 10.0.0.81/32 IP internal 0 pve-node01(4)
- pve-node02 TE-IS 4094 pve-node02 en05 pve-node01(4)
- pve-node03 TE-IS 4094 pve-node03 en06 pve-node01(4)
- 10.0.0.82/32 IP TE 4104 pve-node02 en05 pve-node02(4)
- 10.0.0.83/32 IP TE 4104 pve-node03 en06 pve-node03(4)
- IS-IS paths to level-2 routers that speak IPv6
- Vertex Type Metric Next-Hop Interface Parent
- pve-node01
- fc00::81/128 IP6 internal 0 pve-node01(4)
- pve-node02 TE-IS 4094 pve-node02 en05 pve-node01(4)
- pve-node03 TE-IS 4094 pve-node03 en06 pve-node01(4)
- fc00::82/128 IP6 internal 4104 pve-node02 en05 pve-node02(4)
- fc00::83/128 IP6 internal 4104 pve-node03 en06 pve-node03(4)
- IS-IS paths to level-2 routers with hop-by-hop metric
- Vertex Type Metric Next-Hop Interface Parent
- -----------------------------------------
- Command: vtysh -c "show running-config"
- -----------------------------------------
- Building configuration...
- Current configuration:
- !
- frr version 8.5.2
- frr defaults traditional
- hostname pve-node01
- log syslog informational
- service integrated-vtysh-config
- !
- interface en05
- ip router openfabric 1
- ipv6 router openfabric 1
- exit
- !
- interface en06
- ip router openfabric 1
- ipv6 router openfabric 1
- exit
- !
- interface lo
- ip router openfabric 1
- ipv6 router openfabric 1
- openfabric passive
- exit
- !
- router openfabric 1
- net 49.0000.0000.0001.00
- fabric-tier 0
- exit
- !
- end
- ----------------------------------------
- File: /etc/network/if-up.d/thunderbolt-affinity
- -rwxr-xr-x 1 root root 155 Sep 16 2024 /etc/network/if-up.d/thunderbolt-affinity
- -----------------------------------------
- sleep 5
- for id in $(grep 'thunderbolt' /proc/interrupts | awk '{print $1}' | cut -d ':' -f1); do
- echo 0f > /proc/irq/$id/smp_affinity
- done
Advertisement
Add Comment
Please, Sign In to add comment