Restarting phys. Network Interfaces - How?


#1

Hello,

when using loadbalancing over two network interfaces (eth1, eth2) we sometimes have situations where we physically must remove a connection. The disconnected network interface is in state “down” then. When the cable is reconnected, it does not get back in state “up”:

vyos@office-gw:~$ show interfaces ethernet
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description


eth0 192.168.13.1/24 u/u INSIDE
eth0.11 192.168.14.1/24 u/u xxxxxx Guest
eth1 90.xxx.xxx.xxx/30 u/u WAN-1-STATIC
eth2 - A/D

In this case it is eth2, that does not come up again. How can we restart eth2 without restarting the whole router (which repairs this problem).

Thank you very much,
Alex