Hi everyone,
I am using a gateway where I have :
Thx you for your help
I am using a gateway where I have :
- wifi
- 4g
- canbus
- eth0 & eth01 (2 separated ethernet port)
- wg0 (wireguard VPN)
- Only use 4g connection as internet connection ( be the default route)
- Share internet on the eth0 port for my PLC ( automation)
- Keep eth01 for local ssh debug.
- you can find here the resultat of netstat -nr
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 77.136.55.254 0.0.0.0 UG 0 0 0 wwan0
77.136.55.252 0.0.0.0 255.255.255.252 U 0 0 0 wwan0
172.16.0.0 0.0.0.0 255.255.254.0 U 0 0 0 wg0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
- and here the interfaces
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
allow-hotplug eth02
iface eth0 inet static
address 192.168.1.23
netmask 255.255.255.0
#gateway 192.168.1.1
#dns-nameservers 0.0.0.0
Thx you for your help