Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178776

vm can not configure static IP when it network card in DPortGroup (a virtual distributed switch portgroup)

$
0
0

Hello,

 

I have a two ESXi hosts, they are both configured with a virtual distributed switch (called nsx-network)

0CA66CEC-1AF0-47E2-8DA1-9BC49AAFA120.jpg

 

I setup a CentOS7 vm (nsx-vm) connected with DPortGroup network.

 

4D431EDB-9568-4644-97E2-227168EA38B0.jpg

 

Then I login the vm (nsx-vm). I try to configure a static IP for it.

22B20899-7548-46F6-A029-C37EC32A4164.jpg

 

 

In ifcfg-eno16780032 configure file, I wrote the configuration like below:

 

B8DB9089-62A9-4A81-90AC-AC21BBBBC003.jpg

 

Then I reboot the server, and check the static IP, but it not configuration.

 

22B20899-7548-46F6-A029-C37EC32A4164.jpg

 

When I run ifup, CentOS report error to me:

 

5FDBCC9C-2E28-4D32-A731-570ABE7A0898.jpg

 

So the vm network card ,in distributed port group, can not be configured with static IP ?? or is there something I configured wrong here?

Could anyone help? please guide me a bit. Thanks in advance.


Viewing all articles
Browse latest Browse all 178776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>