MattSimpson
New Member
Hi All,
I hope you are doing well during these a bit strange times.
I stumbled upon this issue where the only way to configure some of the settings I can do through ip set link command.
This is to do with virtual adapters with VLANs with vf and proto 802.1Q parameters.
This requires bringing down an interface at startup then to break to virtual ports.
Something like this:
What is the best / safest place to put this in a script? This must be after the whole network stack is up.
I hope you are doing well during these a bit strange times.
I stumbled upon this issue where the only way to configure some of the settings I can do through ip set link command.
This is to do with virtual adapters with VLANs with vf and proto 802.1Q parameters.
This requires bringing down an interface at startup then to break to virtual ports.
Something like this:
Code:
ip link set ens2s0f0np0v0 down
ip link set ens2s0f0np0v1 down
ip link set ens2s0f0 vf 0 vlan 200 proto 802.1Q
ip link set ens2s0f0 vf 1 vlan 201 proto 802.1Q
ip link set ens2s0f0np0v0 up
ip link set ens2s0f0np0v1 up
ip link set ens2s0f0 vf 0 trust on
ip link set ens2s0f0 vf 1 trust on
What is the best / safest place to put this in a script? This must be after the whole network stack is up.