I captured some tcpdump on lxdbr0
and also on the primary interface for the server enp3s0
.
In both instances I saw traffic coming to the interface. However at the receiving end I didn’t see any traffic.
I also created another container with just nginx
installed and it was the same result.
I also tried web service running on different port, but same result. I see traffic on the tcpdump but on the client side I don’t see any traffic coming back.
sudo tcpdump -n -i lxdbr0 host 192.168.10.228
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lxdbr0, link-type EN10MB (Ethernet), capture size 262144 bytes
21:40:20.867097 IP 192.168.10.228.33324 > 192.168.5.5.80: Flags [S], seq 3777363264, win 29200, options [mss 1460,sackOK,TS val 3427772296 ecr 0,nop,wscale 7], length 0
21:40:20.867244 IP 192.168.5.5.80 > 192.168.10.228.33324: Flags [S.], seq 4119378268, ack 3777363265, win 28960, options [mss 1460,sackOK,TS val 3322019503 ecr 3427772296,nop,wscale 7], length 0
21:40:21.877805 IP 192.168.5.5.80 > 192.168.10.228.33324: Flags [S.], seq 4119378268, ack 3777363265, win 28960, options [mss 1460,sackOK,TS val 3322020514 ecr 3427772296,nop,wscale 7], length 0
21:40:23.893812 IP 192.168.5.5.80 > 192.168.10.228.33324: Flags [S.], seq 4119378268, ack 3777363265, win 28960, options [mss 1460,sackOK,TS val 3322022530 ecr 3427772296,nop,wscale 7], length 0
21:40:28.021807 IP 192.168.5.5.80 > 192.168.10.228.33324: Flags [S.], seq 4119378268, ack 3777363265, win 28960, options [mss 1460,sackOK,TS val 3322026659 ecr 3427772296,nop,wscale 7], length 0
21:40:36.213806 IP 192.168.5.5.80 > 192.168.10.228.33324: Flags [S.], seq 4119378268, ack 3777363265, win 28960, options [mss 1460,sackOK,TS val 3322034853 ecr 3427772296,nop,wscale 7], length 0
^C
6 packets captured
6 packets received by filter
0 packets dropped by kernel
After that I started tcpdump
on the laptop as well. I do see some response coming back, but it never produces the output for the curl call.
➜ ~ sudo tcpdump -n -i wlp2s0 host 192.168.5.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
22:18:09.050282 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [S], seq 49760554, win 29200, options [mss 1460,sackOK,TS val 3430040491 ecr 0,nop,wscale 7], length 0
22:18:09.055787 IP 192.168.5.5.80 > 192.168.10.228.48864: Flags [S.], seq 101089379, ack 49760555, win 28960, options [mss 1460,sackOK,TS val 3324288249 ecr 3430040491,nop,wscale 7], length 0
22:18:09.055878 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 3430040497 ecr 3324288249], length 0
22:18:09.056028 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430040497 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:09.266956 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430040708 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:09.478912 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430040920 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:09.922953 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430041364 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:10.155189 IP 192.168.5.5.80 > 192.168.10.228.48864: Flags [S.], seq 101089379, ack 49760555, win 28960, options [mss 1460,sackOK,TS val 3324289255 ecr 3430040491,nop,wscale 7], length 0
22:18:10.155253 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 3430041596 ecr 3324288249], length 0
22:18:10.786942 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430042228 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:12.307837 IP 192.168.5.5.80 > 192.168.10.228.48864: Flags [S.], seq 101089379, ack 49760555, win 28960, options [mss 1460,sackOK,TS val 3324291272 ecr 3430040491,nop,wscale 7], length 0
22:18:12.307900 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 3430043749 ecr 3324288249], length 0
22:18:12.482798 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430043924 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:15.842904 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430047284 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:16.264477 IP 192.168.5.5.80 > 192.168.10.228.48864: Flags [S.], seq 101089379, ack 49760555, win 28960, options [mss 1460,sackOK,TS val 3324295369 ecr 3430040491,nop,wscale 7], length 0
22:18:16.264561 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 3430047706 ecr 3324288249], length 0
22:18:22.754759 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [P.], seq 1:76, ack 1, win 229, options [nop,nop,TS val 3430054196 ecr 3324288249], length 75: HTTP: GET / HTTP/1.1
22:18:24.362695 IP 192.168.5.5.80 > 192.168.10.228.48864: Flags [S.], seq 101089379, ack 49760555, win 28960, options [mss 1460,sackOK,TS val 3324303563 ecr 3430040491,nop,wscale 7], length 0
22:18:24.362799 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 3430055804 ecr 3324288249], length 0
22:18:27.865835 IP 192.168.10.228.48864 > 192.168.5.5.80: Flags [F.], seq 76, ack 1, win 229, options [nop,nop,TS val 3430059307 ecr 3324288249], length 0
Also curl
in verbose mode
➜ ~ curl -v 192.168.5.5
* Rebuilt URL to: 192.168.5.5/
* Trying 192.168.5.5...
* TCP_NODELAY set
* Connected to 192.168.5.5 (192.168.5.5) port 80 (#0)
> GET / HTTP/1.1
> Host: 192.168.5.5
> User-Agent: curl/7.58.0
> Accept: */*
>
Any more insight?
What should be lxdbr0
settings should look time ?
sudo lxc network show lxdbr0
config:
ipv4.address: 192.168.5.1/24
ipv4.nat: "false"
ipv6.address: none
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/containers/pihole
managed: true
status: Created
locations:
- none