Hopefully this is the right subreddit! I have 2 interfaces and 3 VLANs on my machine. ifconfig
displays this result:
``` br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.12.10 netmask 255.255.255.0 broadcast 0.0.0.0 ether d0:50:99:ff:c1:eb txqueuelen 1000 (Ethernet)
br1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
br1.10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.10.10 netmask 255.255.255.0 broadcast 0.0.0.0 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
br1.11: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
br1.30: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.30.10 netmask 255.255.255.0 broadcast 0.0.0.0 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 ether 02:42:5c:22:e1:00 txqueuelen 0 (Ethernet)
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:eb txqueuelen 1000 (Ethernet) device memory 0xfc700000-fc77ffff
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet) device memory 0xfc600000-fc67ffff
eth1.10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
eth1.11: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
eth1.30: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether d0:50:99:ff:c1:ea txqueuelen 1000 (Ethernet)
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback)
storage-shim: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.12.10 netmask 255.255.255.255 broadcast 0.0.0.0 inet6 fe80::58f6:ff:fec1:3608 prefixlen 64 scopeid 0x20<link> ether 5a:f6:00:c1:36:08 txqueuelen 1000 (Ethernet)
vpn-shim: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.30.2 netmask 255.255.255.255 broadcast 0.0.0.0 inet6 fe80::4c6a:74ff:fe0f:394f prefixlen 64 scopeid 0x20<link> ether 4e:6a:74:0f:39:4f txqueuelen 1000 (Ethernet) ```
I would like to curl from my VPN VLAN, so br1.30. When I run curl --interface br0 ifconfig.co
it gives me my IP, but when I run curl --interface br1.30 ifconfig.co
it fails to connect. Running with -vvv shows me this:
* Host ifconfig.co:80 was resolved.
* IPv6: 2606:4700:130:436c:6f75:6466:6c61:7265
* IPv4: 172.64.80.1
* Trying 172.64.80.1:80...
* socket successfully bound to interface 'br1.30'
* Trying [2606:4700:130:436c:6f75:6466:6c61:7265]:80...
* socket successfully bound to interface 'br1.30'
* Immediate connect fail for 2606:4700:130:436c:6f75:6466:6c61:7265: Network is unreachable
* connect to 172.64.80.1 port 80 from 192.168.30.10 port 39228 failed: No route to host
* Failed to connect to ifconfig.co port 80 after 3106 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to ifconfig.co port 80 after 3106 ms: Couldn't connect to server
Any idea why UnRAID can't find its way through the interface, even though I have plenty of containers set up through that that works?
Post Details
- Posted
- 8 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/homelab/com...