Hi,
I have a little problem on the network configuration on both axcf 2152 et 3152 : I want to add a permanent static route on lan3 (or lan0 on 2152), so i’ve followed classical means to achieve this, i.e. putting " up /sbin/ip route add xxx.xxx.xxx.xxx/24 via yyy.yyy.yyy.yyy dev lan3" after interface setting in /etc/network/interfaces file
i’ve tried too to remove this instruction and to put a route setting shell in /etc/network/if-up.d/ directory, but the result is the same. ( and causes this trace in /var/log/boot file:
"Configuring network interfaces… Cannot find device „lan3"“
The route is well set if i remove the „gateway“ of lan3 in /etc/network/interfaces file, but it causes a plcnext firmware crash.
if i set the route after init on ssh , the command is well executed and the route is welle set.
Does anybody have an idea on how to solve this ?
Hello jmery,
I think the best way to help you ist to start the Remote Teams-Meeting and check/configure the needed settings on your test system. Do you have time today or next week?
BR Eduard
Can you share any positive results?
I am testing FW 2023.0 on AXC F 2152. In previous FW versions I was able to declare „auto iface eth0 dhcp“ along with the static IP declaration in /etc/network/interfaces. Since updating to the latest FW, the default static gw defined on eth0/enp1s0 overrides the gw obtained via dhcp.
I had some success after further testing so maybe this will help someone else. The problem was, the gateway set by the static IP address settings was preferred over the gateway obtained via DHCP. What worked for me was adding lines to delete that route on post-up.