How to add second NIC IP in VMWare ESX 4.0

Question: I am new to ESX and especially esx 4. I have two servers running esx4...It has six physical adapters....one is used for the management console and is connected to our production network. I wanted to use the second NIC, ( remaining nics ) in order for the hosts to talk to one another and connect to two more nic with production.I wanted to configure the IP on the second adapter without making it to available for all guest those will conect with production NIC. From what I remembered ESX used the ifconfig cmd, but it is not a part of esx4..Any help would be gratley appreciated
rizkhan76Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vmwarun - ArunCommented:
You want to use 2 NICs for Management Network for redundancy and 4 NICs for Virtual Machine traffic. Please correct me if I am wrong.
What type of storage are you using ? (DAS, NAS, SAN)
0
rizkhan76Author Commented:
Yes you are right.
I have Dual port FC HBA card on each host and FC SAN.
0
vmwarun - ArunCommented:
Do you have a SAN Fabric or switch between the ESX Host and FC SAN ?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

bbnp2006Commented:
Are you using the vCenter Server to centrally manage your esx4 hosts? Seems to me you are asking about how to configure networking in esx4 using command line. is that correct? :)
0
rizkhan76Author Commented:
Arun,

Yes I will use 4 NICs for VM Guest, 1st NIC for management and 2nd NIC for VMotion.
I have both the storages FC SAN and Local DAS.


0
rizkhan76Author Commented:
BBNP2006

I have vCenter server and managing all the host from there.
Off course I need to know command line networking configuration as wel.

It is possibble that I just give the production IP to only one NIC and connect the remaining three NICs with production network ( without IP ). And add the remaining three NICs in ESX virtual switch which is connected NIC1 ( production network). In that case remaining Three NIC ( without Production network IPs ) will work?
0
bbnp2006Commented:
Yes you are correct. When you click on any esx host, go to the configuration tab--> Networking,  you should be able to view which vmnic (physical nics) are connected to which vSwitch. You can easily go to the properties of each vSwitch and add more vmnics to it.

If you want to do it in the command line, you can use esxcfg-nics to configure physical NICs and esxcfg-vswitch to configure the virtual switches.

Does this help?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rizkhan76Author Commented:
One more thing how to configure the IP address in ESX fro Physical NIC from command line.
0
bbnp2006Commented:
you can use ifconfig command to change the ip addresses of your physical server. Just type ifconfig --help, it will show you all the command and options you need.
hope it helps.
0
rizkhan76Author Commented:
Thanks for support.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.