esx networking

hi guz

my question concern esx server, my network is pretty basic,

internet to esx server via modem-router connected to physical nic1 and then from physical nic2 to switch then to clients. now i'm managing the esx server through the modem-router, if i connect via switch i cant even ping the esx or the gateway (modem-router).

my question is how do i setup networking in esx so i can setup a vm as gateway, dhcp and nat server to the clients that are after the switch.
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.

Kamran ArshadIT AssociateCommented:
jusbugAuthor Commented:
thanks for your answer, but that diagram doesn''t say much
hi.. create an extra vswitch and attach the second nic to the new vswitch. I think you also need to add a vnetwork adapter to that switch also.
once this is done you can assign two nics to your guest, one to each switch.. then its business as normal
this can be done more simply if your  physical switch supports dot1q vlans and trunks

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
jusbugAuthor Commented:

thanks m8 for the answer,

the exact way to do it very simple, you just need to create two vswitch and attch each physical nic to a vswitch, basically the networking layout would vswitch1 attached with nic1 and vswitch2 with nic2.
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
Switches / Hubs

From novice to tech pro — start learning today.