Disabled interface


#1

Hello,

How can I enable an interface which is down on a VyOS router. I’m currently using VyOS on a virtual machine.
I detached a port and attached it again forcing the interface’s mac address to change, but
the link and admin states are down.

I’ve tried to use "set interfaces ethernet eth2 [enable/up/…] " but it isn’t allowed.

[code]vyos@vyos# run show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description


eth0 10.0.3.108/24 u/u
eth1 - u/u
eth2 - A/D
eth3 - u/u
lo 127.0.0.1/8 u/u
::1/128
[edit]
[/code]

Thanks


#2

If the MAC address changed you will need to fix that in your config. As it is now, ETH2 doesn’t exist