Add 1Gbps vNIC to Nutanix AHV VM

Shares

I have seen several people asking about default vNIC speed on Nutanix AHV. When you create vNIC via Prism, default vNIC speed is 10Gbps. However you can create vNIC with lower speed too, if you want. This task is available only via acli command line.

Log in to CVM over ssh and get into acli. From acli run,
vm.nic_create <VM_NAME> model=e1000 network=<portgroup_name>

<acropolis> vm.nic_create TestVM01-0 model=e1000 network=VLAN92
NicCreate: complete

Check, if vNIC is showing up on VM config;
vm.nic_get <VM_Name>

<acropolis> vm.nic_get TestVM01-0
}
50:6b:8d:18:99:49 {
  mac_addr: "50:6b:8d:18:99:49"
  model: "e1000"
  network_name: "VLAN92"
  network_uuid: "8e06c992-7543-48f7-9380-51493b09317b"
  type: "kNormalNic"
}
<acropolis>

One more verification, this time on guest OS.
ethtool ens4

[root@localhost ~]# ethtool ens4
Settings for ens4:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off (auto)
        Supports Wake-on: umbg
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

 

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest