Broadcom-VMware
2V0-622 · Question #389
Which command can be used to configure a default gateway for a specific vmkernel adapter?
The correct answer is A. Esxcli network ip interface ipv4 set -I <vmknic> -t static -g <gateway> -I <IP address> -N <mask>. https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.networking.doc/GUID- 8BCBB25E-9A84-4322-94BC-C556DE9C2956.html
Section 2 – Configure and Administer vSphere 6.5 Networking
Question
Which command can be used to configure a default gateway for a specific vmkernel adapter?
Options
- AEsxcli network ip interface ipv4 set -I <vmknic> -t static -g <gateway> -I <IP address> -N <mask>
- BEsxcfg-vmknic -a -I <vmknic>-I <IP address> -N <mask> -g <gateway>
- CEsxcli network ip interface set -I <vmknic> -t static -g <gateway> -I <IP address> -N <mask>
- DEsxcfg -route -a default <gateway>
How the community answered
(33 responses)- A79% (26)
- B3% (1)
- C12% (4)
- D6% (2)
Explanation
https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.networking.doc/GUID- 8BCBB25E-9A84-4322-94BC-C556DE9C2956.html
Topics
#vmkernel adapter#default gateway#esxcli#network configuration
Community Discussion
No community discussion yet for this question.