vlan and vswitch

This is morein to design question than troubleshooting. Hope someone give some idea.
We have Esxi environments with class c ip scheme.
We are now running out of IP for servers.
Either we have to come up with another class c IP scheme and create multiple port group in single vswitch or change the ip address to class B.

What is the best option you would recomend to accommodate more servers?
LVL 1
sara2000Asked:
Who is Participating?
 
rgormanConnect With a Mentor Commented:
You can combine 192.168.0.0 and 192.168.1.0 into one logical subnet with a mask of 255.255.254.0 assuming you aren't already using 192.168.0.0 for something else.

Your port groups will just reference a VLAN ID and that just needs to match the VLAN ID on our switches.  You shouldn't need to change any of that.  You just need to adjust the addressing on that subnet.  All the hosts would need to be updated with the new subnet mask and the router interface on that subnet would need to get the new mask as well.  If you have a DHCP scope for that subnet you will also need to recreate it since I don't think you can adjust the mask on an existing scope.  

The only other option would be to leave what you have alone, then create a new port group and VLAN ID on your network switches and use the 192.168.0.0/24 address range and do the intervlan routing just like you do now with the subnets you have.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Running out of IP Addresses for VMware ESXi servers, or virtual machines?

Create a class B.
0
 
Bryant SchaperCommented:
Before you do that you may also want to consider what is on the C and if you are better server with multiple C subnets to create barriers, this will require intervlan routing however so that network 192.168.0.x can talk to machines on 192.168.1.x
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
rgormanCommented:
If it is just one or a few subnets you need to adjust you can supernet the class C addresses to combine multiple class C ranges into a single logical subnet.  You would need adjacent class C subnets not in use to make it work and you would likely need to know a bit about subnetting your addresses.

For example, if you were using 192.168.2.0/24 and you needed twice as many addresses you could do 192.168.2.0/23 which would consume the adjacent 192.168.3.0/24 subnet and make one range of 192.168.2.0-192.168.3.255.  You would need to possibly adjust some routing on your network but it should be fairly simple, as long as you have that adjacent IP range, and it falls within the same range when you adjust the mask (for example, my previous example of a /23 mask wouldn't work for 192.168.1.0 and 192.168.2.0 to combine them).  If you don't understand that concept you might need to read up on subnetting.
0
 
sara2000Author Commented:
i am running out of vms ip address . Right now my vms ip are 192.168.1.*/24 and my iscsi storage ips are 192.168.2.*.

suppernetting 192.168.1.*/23 is not going to help since the adjacent 192.168.2.*/24 is being used by iscsi.
my network admin suggested me to create another port group in the existing vswitch (192.168.1.*/24) .
and name this as lan2 and give ip address for the server in the network 192.168.3.*/24).
Creating a port group is not an issue for me, but what else i have to do to make sure that servers will talk, is that right approach?
i am willing to change the ip from class c to class b, this can be lot of problem . down time and changing nat ip etc.
Bryant:
You mentioned about inter vlan , is it something in the vmware or the network guy will do that?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
You mentioned about inter vlan , is it something in the vmware or the network guy will do that?

both, you need to configure the physical switches, and also the virtual switches, to use VLAN Tags.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.