Articles in this section

How to configure network after changing NIC in SolusVM 2?

Applicable to:

  • SolusVM 2

Question

How to configure the network after changing NIC in SolusVM 2?

Answer

SolusVM 2 manages the network of the environment using ovs-vsctl (OpenvSwitch).
As long as the NIC name and IP will be the same there's no need to make changes.

Here are the steps for bridge configuration in case NIC name changes:

  1. Run:

# ovs-vsctl show

CONFIG_TEXT: ...
Bridge br-ext 
      Port patch-br-ext 
          Interface patch-br-ext 
              type: patch 
              options: {peer=patch-br-int} 
      Port "eth0" 
          Interface "eth0" 
      Port br-ext 
          Interface br-ext 
              type: internal
...

2. There's a port eth0 that represents the main NIC.
Therefore, you'll need to remove the old port and add a new one:

# ovs-vsctl del-port br-ext eth0
# ovs-vsctl add-port br-ext NIC

Replace NIC with your new NIC's name.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.