VMware Cloud Community
mmdallal
Contributor
Contributor

configure network interfaces on ESX4

Hello,

who can I configure the network interfaces on ESX4, I did used the following methods but none were succeded

1) # ifconfig vmnic2 192.168.199.170 netmask 255.255.255.0 up

2) # cd /etc/sysconfig/network-scripts/

  1. vi ifcfg-vmnic2

DEVICE=vmnic2

BOOTPROTO=static

DHCPCLASS=

HWADDR=00:30:48:56:A6:2E

IPADDR=10.10.29.66

NETMASK=255.255.255.0

ONBOOT=yes

any help?

Reply
0 Kudos
2 Replies
AndreTheGiant
Immortal
Immortal

The vmnicX are interfaces for NIC managed by vmkernel.

You cannot configure them.

If you want to add a management console you must use esxcfg-vswif

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
brainslice
Enthusiast
Enthusiast

ditto... You can't configure vmnicX directly. It doesn't make sense to do so either since they are really just switch ports. The settings for the service console vswif0 should have been configured when you installed ESX. If not, then use esxcfg-vswif as mentioned above. After the vswif0 is configured, you can use the vSphere client to do all the rest of the network setup.

Reply
0 Kudos