Hello
I need make a persistent route of subnet 10.0.0.0/24 to host 192.168.0.200 via eth0 in my new debian 12 lxc container and i cannot (
i tried to edit /etc/network/interfaces file with
when i do systemctl restart networking it returns
Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xeu networking.service" for details.
how to make persistent route in debian 12 lxc container?
I need make a persistent route of subnet 10.0.0.0/24 to host 192.168.0.200 via eth0 in my new debian 12 lxc container and i cannot (
i tried to edit /etc/network/interfaces file with
Code:
auto eth0
iface eth0 inet static
address 192.168.0.100/24
down route del 10.0.0.0/24 via 192.168.0.200 dev eth0
up route add 10.0.0.0/24 via 192.168.0.200 dev eth0
when i do systemctl restart networking it returns
Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xeu networking.service" for details.
how to make persistent route in debian 12 lxc container?