Adding a second NIC to a VCSA

Here’s how you add an additional NIC on a VCSA – and I’ll show you step-by-step with actual keyboard commands as no other guides out there do:

The VAMI can be accessed via https://(IP or FQDN):5480 – the username is normally root and the default password is vmware

Typically this is what you’d see on most standard instances:

1

Adding the additional NIC in vSphere in as easy to do as you’d expect:

2

3

But you won’t see the additional NIC in the VAMI:

4

It will actually start throwing errors.

5

We need to set add the new NIC manually. To do this, you can either use CLI or YaST2. YaST2 is a SUSE management tool which lets you configure basic elements of the server. Since the VCSA is actually a SUSE appliance, you’ll find it in the suite of tools:

6

Now, you’ll need to run the tool by executing the following commands (after logging into your VCSA through the console or SSH:

cd /root/inst-sys (this will change your directory to the path where the executable is found)

demo-vc:~  /inst-sys # yast2

You’ll now see the below screen:

7

Navigating with YaST2 can be quite frustrating to the uninformed, and this is where I found other guides lacking.

Use the arrow keys to navigate down to Network Devices, and push Enter. Again use the arrow keys to move down to Network Settings.

The new adapter is listed, and clearly it’s not configured because it says so:

9

To choose the adapter, use Tab to move the cursor to the relevant field. The arrow keys will now let you choose your adapter, however you will need to use F4 to edit the selected adapter, not Enter.

Again, use Tab to move to the relevant fields and enter the values you need:

11

Tab down to Next and push enter.

You can see the adapter is now configured:

12

Push OK and you’ll see the settings being applied:

13

Log back into the VAMI, you should see there aren’t any more errors:

14

15

The appliance now has dual NICs, however in my example they’re both on the same network. DNS settings would apply to both NICs, so to use a separate network for unrestricted internet access you’d still need to temporarily change its DNS settings if your primary connection goes via a proxy.

Be the first to comment

Leave a Reply