I'm running a server on Ubuntu 21.04 using 4 ethernet ports, I'm working with 2 internet boxes and I'm using Speedify to bond these two connexions (eno1 and eno2) to prevent streaming faults and improve bandwidth (we're a school and streaming several courses online at the same time).
Here is a simple scheme of my server :
eno1 : ====|
|===> bonded connection using Speedify
eno2 : ====|
eno3 : ========> deserving the bonded connection to intranet
eno4 : <====X=== external webserver
Everything is working fine except that now I need to handle an online webserver (on eno4) on this server. When Speedify's service is turned off, everything's working, Apache handles correctly my request and the internet box forwards http request seamlessly.
But as soon as I start the Speedify's service and connect to a Speedify's server, the port forwarding to eno4 seems blocked
I don't know too much about networking routes, maybe my problem can be solved this way ? Or maybe excluding interface from Speedify's settings... Walked here and there but can't find anything about this issue..
I've many rules in my iptables but since this is working when Speedify's service is off, it doesn't seem that's the problem is coming from there.
Here is an output of route -n
:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 connectify0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eno4
0.0.0.0 192.168.4.1 0.0.0.0 UG 100 0 0 eno1
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eno3
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 eno4
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 eno2
10.202.0.0 0.0.0.0 255.255.255.0 U 0 0 0 connectify0
128.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 connectify0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eno4
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eno2
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 eno4
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 eno2
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eno3
192.168.1.1 0.0.0.0 255.255.255.255 UH 100 0 0 eno3
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eno1
192.168.4.1 0.0.0.0 255.255.255.255 UH 100 0 0 eno1
also content of /etc/network/interfaces
:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet dhcp
auto eno2
iface eno2 inet dhcp
auto eno3
#allow-hotplug eno3
iface eno3 inet static
address 192.168.1.1
post-up /home/khadim/DEV/reload_connection.sh
auto eno4
iface eno4 inet dhcp
dns-nameservers 10.202.0.1 1.1.1.1
and an output of speedify_cli show adapters
:
{
"adapterID" : "eno1",
"description" : "eno1",
"name" : "eno1",
"priority" : "always",
"rateLimit" : 0,
"state" : "connected",
"type" : "Ethernet"
},
{
"adapterID" : "eno2",
"description" : "eno2",
"name" : "eno2",
"priority" : "always",
"rateLimit" : 0,
"state" : "connected",
"type" : "Ethernet"
},
{
"adapterID" : "eno3",
"description" : "eno3",
"name" : "eno3",
"priority" : "never",
"rateLimit" : 0,
"state" : "disconnected",
"type" : "Ethernet"
},
{
"adapterID" : "eno4",
"description" : "eno4",
"name" : "eno4",
"priority" : "never",
"rateLimit" : 0,
"state" : "disconnected",
"type" : "Ethernet"
}
]