Open pilinux opened 1 month ago
Hi @pilinux, Which groups are those peers inserted to? Do you have a Policy that allows communication between them?
Hi @mgarces They all are in the default group. Bidirectional communication is on for all ports for the moment.
can you do a tcpdump
on both ends, just to check if traffic is flowing in that direction?
Just for the sake of testing, please create a specific group for those peers, and create a new Policy just for them.
You can run the tcpdump
with:
tcpdump -i any -nn host <NB_IP_ADDRESS>
On on end, replace the IP with the remote Netbird address, and on the remote, with your local Netbird address.
Also, can you paste here the output netbird status -d
for both peers?
All machines are assigned to a new network on netbird cloud platform.
On all three machines: net.ipv4.icmp_echo_ignore_all = 0
ping -I wt0 100.82.a.aaa
=> OKping -I wt0 100.82.b.bbb
=> OKping -I wt0 100.82.c.ccc
=> all packets are lostsudo tcpdump -i any -nn host 100.82.c.ccc
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
17:34:32.817064 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 1, length 64
17:34:33.833506 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 2, length 64
17:34:34.857515 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 3, length 64
17:34:35.881541 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 4, length 64
17:34:36.905549 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 5, length 64
17:34:37.929549 lo In IP 100.82.c.ccc > 100.82.c.ccc: ICMP echo request, id 3714, seq 6, length 64
6 packets captured
13 packets received by filter
0 packets dropped by kernel
ping -I wt0 100.82.c.ccc
--- 100.82.c.ccc ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5112ms
sudo tcpdump -i any -nn host 100.82.c.ccc
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
17:41:09.234046 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 1, length 64
17:41:09.234158 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 1, length 64
17:41:10.258846 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 2, length 64
17:41:10.258883 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 2, length 64
17:41:11.282977 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 3, length 64
17:41:11.283021 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 3, length 64
17:41:12.306984 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 4, length 64
17:41:12.307054 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 4, length 64
17:41:13.331089 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 5, length 64
17:41:13.331155 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 5, length 64
17:41:14.355046 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 6, length 64
17:41:14.355082 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 6, length 64
17:41:15.378944 wt0 In IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 7, length 64
17:41:15.378977 wt0 Out IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 7, length 64
14 packets captured
15 packets received by filter
0 packets dropped by kernel
netbird status -d
:
machinec.netbird.cloud:
NetBird IP: 100.82.c.ccc
Public key: ...
Status: Connected
-- detail --
Connection type: P2P
ICE candidate (Local/Remote): host/prflx
ICE candidate endpoints (Local/Remote): <IP>:51820/<IP>:51820
Relay server address:
Last connection update: 6 hours, 31 minutes ago
Last WireGuard handshake: 23 seconds ago
Transfer status (received/sent) 103.1 KiB/40.8 KiB
Quantum resistance: true
Routes: -
Latency: 15.294023ms
OS: linux/arm64
Daemon version: 0.29.4
CLI version: 0.29.4
Management: Connected to https://api.netbird.io:443
Signal: Connected to https://signal.netbird.io:443
Relays:
[stun:stun.netbird.io:5555] is Available
[turns:turn.netbird.io:443?transport=tcp] is Available
Nameservers:
[1.1.1.1:53, 1.0.0.1:53] for [.] is Available
FQDN: aaa.netbird.cloud
NetBird IP: 100.82.a.aaa/16
Interface type: Kernel
Quantum resistance: true
Routes: -
Peers count: 1/4 Connected
sudo tcpdump -i any -nn host 100.82.a.aaa
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
17:41:09.224558 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 1, length 64
17:41:09.239350 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 1, length 64
17:41:10.249497 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 2, length 64
17:41:10.263987 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 2, length 64
17:41:11.273462 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 3, length 64
17:41:11.288227 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 3, length 64
17:41:12.297440 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 4, length 64
17:41:12.312155 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 4, length 64
17:41:13.321538 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 5, length 64
17:41:13.336378 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 5, length 64
17:41:14.345542 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 6, length 64
17:41:14.360319 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 6, length 64
17:41:15.369540 wt0 Out IP 100.82.c.ccc > 100.82.a.aaa: ICMP echo request, id 3730, seq 7, length 64
17:41:15.384098 wt0 In IP 100.82.a.aaa > 100.82.c.ccc: ICMP echo reply, id 3730, seq 7, length 64
14 packets captured
15 packets received by filter
0 packets dropped by kernel
ping -I wt0 100.82.a.aaa
--- 100.82.a.aaa ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6145ms
netbird status -d
:
machinea.netbird.cloud:
NetBird IP: 100.82.a.aaa
Public key: ...
Status: Connected
-- detail --
Connection type: P2P
ICE candidate (Local/Remote): srflx/host
ICE candidate endpoints (Local/Remote): <IP>:51820/<IP>:51820
Relay server address:
Last connection update: 6 hours, 27 minutes ago
Last WireGuard handshake: 29 seconds ago
Transfer status (received/sent) 19.7 KiB/63.5 KiB
Quantum resistance: true
Routes: -
Latency: 15.325518ms
OS: linux/amd64
Daemon version: 0.29.4
CLI version: 0.29.4
Management: Connected to https://api.netbird.io:443
Signal: Connected to https://signal.netbird.io:443
Relays:
[stun:stun.netbird.io:5555] is Available
[turns:turn.netbird.io:443?transport=tcp] is Available
Nameservers:
[1.1.1.1:53, 1.0.0.1:53] for [.] is Available
FQDN: ccc.netbird.cloud
NetBird IP: 100.82.c.ccc/16
Interface type: Kernel
Quantum resistance: true
Routes: -
Peers count: 1/4 Connected
Note: Also, no way to SSH into machine C over netbird.
How I installed
Status
netbird status
Problem
netbird local IP on this machine is
100.82.x.xxx
does not work:
ping 100.82.x.xxx
another peer on the network is
100.82.y.yyy
obviously also does not work when I do ping from this machine (x) to another peer (y).
Beside this machine (Ubuntu 24.04), all my other peers (macOS, Ubuntu 22.04) are working fine.
Note: I am using netbird SaaS platform (not self-hosted).
netbird status -d