ESXI configuration with Vlan

Dear Sirs,
I am very new with Network .I have several problems above my Network Plan:
 my network
1.i do not know which Network cable to which port.
2.Vlan create problem,i think i need TRUNK too,but several attemt no succes:(
3.vswitch how to
4.ISCSI connection to ESXI , This my big problem at the moment . Do i need to use different IP  subnet for ISCSI ? do i need to connect VLAN ISCSI the same portgroup where is all my VMs(VM Network) or do i need to create VM Network 2 ? if yes how connect my VMs on VM Network 2 to VM Network ?
why i ask that ? because i did a test .
1. Created a Domain Controller vm on VM NETWORK.
2.I created a windows 10 client on VM NETWORK 2 .unfortunatlly window 10 client cant ping to Domain controller.

for now all my problems.
Thank you so much for your help and ideas
My Best Regards
needs needsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, so lots of problems, here....lets take one at a time, and I'll guide you.... lets start with iSCSI.

What is the NAS/SAN ?

NFS may be a better choice than iSCSI!
0
needs needsAuthor Commented:
Hey Andrew
Thank you so much for your help.
My Nas storage Terra  4 tb , and Luns are work ,if i connect from my laptop with ISCSI connection
0
needs needsAuthor Commented:
i think first i  need to learn, configuration ISCSI connection how on esxi :

how can i plan my ISCSI connection on esxi01 and esxi02?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

needs needsAuthor Commented:
do i need to connect switches: are they correct?

esxi01:192.168.0.5
vmnic0 --> switch(192.168.0.200) port1
vmnic1-->switch(192.168.0.200)port2

esxi02:192.168.0.6
vmnic0 --> switch(192.168.0.201) port1
vmnic1-->switch(192.168.0.201)port2
0
needs needsAuthor Commented:
at the moment i try to learn how TRUNK configuration on HP 1820-24G switches. I have read somewhere ,first i need TRUNK connection if i want to use with ESXI servers.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
4.ISCSI connection to ESXI , This my big problem at the moment . Do i need to use different IP  subnet for ISCSI ? do i need to connect VLAN ISCSI the same portgroup where is all my VMs(VM Network) or do i need to create VM Network 2 ? if yes how connect my VMs on VM Network 2 to VM Network ?

I would use a non-routable IP Address e.g. 10.x.x.x or 172.16.x.x. and create a VLAN which you connect network cables to, so it's on it's on VLAN, e.g. 40 - no need to tags of anything, and you will want to connect one interface from each ESXi host server to each switch.

Okay, I have an article for Best Practice as to how you configure iSCSI.

You do not use TRUNKS with iSCSI storage, you use two single network interfaces at minimum.

Please see my EE Article Tutorial, step by step with screenshots

HOW TO: Add an iSCSI Software Adaptor and Create an iSCSI Multipath Network in VMware vSphere Hypervisor ESXi 5.0

also you will want to enable Jumbo Frames on ESXi, HP Switches and NAS

HOW TO: Enable Jumbo Frames on a VMware vSphere Hypervisor (ESXi 5.0) host server using the VMware vSphere Client

all articles are valid for ESXi 5.x and 6.0.

So that's iSCSI and Bindings.

Do you need VLANS, and what is going to communicate between the VLANS, e.g. Clients and Servers on different VLANS will not be able to coimmunicate without routing, or Inter-VLAN routing.

Next create at least a two port STATIC Trunk (NOT LACP - not supported) on each physical switch, but ideally again you will want to connect each ESXi host to both switches to avoid a single point of failure, on that trunk you will want to use Tag VLANS 10,20,30.

on ESXi, you will then want to add those Tags to networks, 3 virtual machine networks that you create.

But you will have to think how traffic is going to get from VLAN 10, VLAN 20, VLAN 30 and communicate with each other if required...
0
needs needsAuthor Commented:
Very nice Artikel. i am so sorry for stupid question,

I choose 172.16.x.x range for ISCSI VMKernel . NAS IP address should be in this range ? Because at the moment on my network 192.168.0.253.
 Thank you for very nice guiede
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, your NAS will also need an IP Address on your iSCSI storage network.

You may have options on your NAS to configure different IP Addresses
0
needs needsAuthor Commented:
yes ! i did  iscsi and i can see LUNs on esxi server. i connected one more network card bought esxi server , now i have 3 cards now . I use 2 for iscsi connection.

1. Nas IP i did not change 192.168.0.253 ,jumbo is enabled all are switch and NAS
esxi01:
1.VMkernal 1 192.168.0.101
2.VMkernal 2 192.168.0.102

esxi02:
1.VMkernal 1 192.168.0.103
2.VMkernal 2 192.168.0.104

vlan section on vmkernel not added . do i need ? At the moment I do not know how CORRETLY create vlans on HP 1820-24G.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you do not need to add VLAN to iSCSI, just create tags on those network ports in use by iSCSI  on the switch to set them VLAN.

There is no console on the HPE switch, so it's all done via a Web GUI.
0
needs needsAuthor Commented:
I am so sorry Andrew , i did not understand what you mean " just create tags on those network ports in use by iSCSI  on the switch to set them VLAN."

you mean ,i need to create VLAN on switch .example:

VMKernal1 connected HP switch1 port1 and VLAN 10 Created --TAGGED ,is it correct?
0
needs needsAuthor Commented:
and i write VLAN 10 on the VMKernal VLAN ID section.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is NO need to change anything in ESXi for iSCSI storage network. You do not have trunk ports, you are using single ports. e.g. access port.

You just need to create VLAN Tagged Ports on the physical switch and you do that by selecting the port on the switch and adding it to a VLAN.
0
needs needsAuthor Commented:
ISCSI work very quickly Now , IT was never so :)))) thank you
0
needs needsAuthor Commented:
i woud like to create 3 x vlans Andrew.
VLAN10 Clients
VLAN20 Servers
VLAN30 DMZ
can you please explain me what do i need to do?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need to go and login to your physical switches and create a trunk, and then create VLANS, and then add VLANS to trunk.

software and interface on your switches is the same as this

https://www.youtube.com/watch?v=K0yF8ViE-9Y
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
needs needsAuthor Commented:
I did not belive every thing goes so quick. Many Nights and many days i try ,Now works ! I cant belive it
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
should have posted here first!
0
needs needsAuthor Commented:
oh now i Need trunk ! Hmmm i think i need little bite read again HP giuede :)
0
needs needsAuthor Commented:
you are right ,i just tried google read
0
needs needsAuthor Commented:
oh i think ,i understand ,TRUNK need because i have only ONE REST NETWORK CARD  and card must be now where vlan 10 or vlan 20 or vlan 30
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
trunks are normally, two ports on a switch. a trunk port.
0
needs needsAuthor Commented:
if i add all my vlans to trunk then u think my previoues  ping problem will be gone (windows 10 cleint cant ping to domain controller which are on the same IP range but diffrent vlans)
0
needs needsAuthor Commented:
thank you so much for you quick VERY QUICK HELP.
I wish you all the Best.
Till new Problems :))
0
needs needsAuthor Commented:
super super
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
Virtualization

From novice to tech pro — start learning today.