Only the first NIC of each Virtual machine will work .None of the rest won't.
So added a Virtual Network Resource for that Virtual machine in VMWare Control Panel
But it didn't work this time.Only the first NIC will work
So logged into the VMWare Virtual Console and checked the Virtual Switches and VLAN Settings
It was clear that there is a Virtual Switch named "vSwitch0"
And this switch contains only one NIC as its member which is "vmnic0" in our case.
So I decided to add the second NIC "vmnic3" to this switch. I tried
# esxcfg-vswitch -L vmnic3 vSwitch0
But it created problems.
After this I was unable to access the Local Network,ie the the network connected through the "vmnic0"
So I removed it from the switch and added to the same switch specifying the Portgroup also
# esxcfg-vswitch -U vmnic3 vSwitch0
# esxcfg-vswitch -p VM\ Network -L vmnic3 vSwitch0
But didn't work
So removed it
# esxcfg-vswitch -p VM\ Network -U vmnic3 vSwitch0
Created a new switch
# esxcfg-vswitch -a NewSwicth
Then added the Portgroup named "VM Network_VSNL" that is to be used by the Virtual machines.
# esxcfg-vswitch -A VM\ Network_New NewSwitch
Then brought up the "vmnic3" as the Physical UPLINK
# esxcfg-vswitch -L vmnic3 NewSwitch
Then logged into Virtual Infrastructure Client 3
Powered Off OpenBSD
Edit Settings -> Network Adapter 2
Change Switch from "VM Network" to "VM Network_New"
Power On
Then configure the second NIC(pcn1 in my case) in OpenBSD
# vi /etc/hostname.pcn1
inet 192.168.0.222 255.255.255.0 192.168.0.255
Configure gateway and DNS Servers if required
# vi /etc/mygate
192.168.0.254
# vi /etc/resolv.conf
192.168.0.254
Then restart the network service
# sh /etc/netstart
Thats all
Subscribe to:
Post Comments (Atom)
AT&T USA | Internet not working | Fix by custom APN
If the AT&T Mobile internet is not working on your cellphone, it can be fixed easily by adding an APN configuration. You can read this a...
-
Hi there, You all know how to check TCP port connectivity from a Linux or UNIX machine to a remote machine using telnet as per th exampl...
-
Before you start Ensure that you have installed wvdial, usbmodeswitch and usbmodeswitch_data # dpkg -l | grep wvdial # dpkg -l | grep ...
-
#!/bin/sh # Shell script to monitor the disk space,Memory,SWAP Usage and send an email to $ADMIN, if the free avilable percentage of space i...
No comments:
Post a Comment