Hi all,
I can not start vswif0.
vmware -v : Vmware ESX Server 3.5.0 build-64607
esxcfg-nics -l : Vmnic0 is up . Vmnic1 is down. (Broadcom BCM5715 Gigabit Ethernet)
esxcfg-vswif -l: Enabled DHCP. IP Adress, Netmask, Broadcast appears empty ????
ifconfig -a: I can see vmnic1, vmnic0 and lo but not vswif0 ????
When i run service network status:
Cofigured devices: lo eth1 vswif0
Currently active devices: lo vmnic vmnic0 but not vswif0 ???
What can i do?
Please follow the below steps to create a vSwitch, and a port group
for vSwitch.
esxcf-vswitch -a vSwitch0 -L vmnic0 (select the nic you wanted to give)
then to create the port group under this vswitch
esxcfg-vswitch -A "Service Console" vSwitch0
Now try to create the service console vswif0
/usr/sbin/esxcfg-vswif -a vswif0 -p “Service Console” -i 192.168.100.7 -n 255.255.255.0 (IP mentioned here is an example)
please make an entry of gateway and hostname in /etc/sysconfig/network
now restart the network.
check the result of esxcfg-vswif -l, esxcfg-vswitch -l
-Karunakar
Type "esxcfg-vswif -l" on the service console.., what results do you get back?
To bring up the vswif interface type "esxcfg-vswif --enable-all"
Carl
type: esxcfg-vswitch -l
Is vmnic0 an uplink for your vswitch for the service console port?
Hi,
Looks like the vswif0 you are trying to find is not created.
Can you try to create the vswif0 using teh esxcfg-vswif command, this will help us.
if you are giving the ip from DHCP try to give the below command.
esxcfg-vswif -a vswif0 -i DHCP -p " port group name"
If trying to give the static IP , then give the below command.
esxcfg-vswif -a vswif0 -i <ip> -n <netmask> -p " port group name"
and the gateway can be mentioned in /etc/sysconfig/network
then try to restart the network service.
-Karunakar
When i run esxcfg-vswitch -l it's appears empty.
I have other host, with the same hardware, the same ESX version...and when i run esxcfg-vswitch on this host, the result is:
SwitchName NumPorts UsedPorts ConfiguredPorts MTU Uplinks
vSwitch0 64 4 64 1500 Vmnic0
Portgroup Name VlanID UsedPort Uplinks
VMNetwork 0 0 Vmnic0
ServiceConsole 0 1 Vmnic0
Any idea?
How can i reconfigure vswitch?
Please follow the below steps to create a vSwitch, and a port group
for vSwitch.
esxcf-vswitch -a vSwitch0 -L vmnic0 (select the nic you wanted to give)
then to create the port group under this vswitch
esxcfg-vswitch -A "Service Console" vSwitch0
Now try to create the service console vswif0
/usr/sbin/esxcfg-vswif -a vswif0 -p “Service Console” -i 192.168.100.7 -n 255.255.255.0 (IP mentioned here is an example)
please make an entry of gateway and hostname in /etc/sysconfig/network
now restart the network.
check the result of esxcfg-vswif -l, esxcfg-vswitch -l
-Karunakar
Just to add to karunkar point...
The esxcfg-vswif creates a device file under /etc/sysconfig/network-scripts/ifcfg-vswif0
you can use that file to change IPs address,netmask etc.
If file does'nt exist your vswif0 with not come up.
-langadi