I'm fairly new to networking so please be gentle. I'm trying to setup a number of vlans for my home lab.
I've recently moved jobs and taken an Oracle Apps & Middleware role so need to start picking up Apache, EBusiness Suite, Load Balancers etc so need to segragate my network to allow the various configurations I want to setup in my ESXi lab.
My setup is detailed below:-
I have a dryatek 2860n router which is my gateway to the internet setup on IP 192.168.1.1
My Cisco switch has been configured on 192.168.1.2 and setup to use Layer 3.
I have a number of PCs connected to my switch which I want to use to administer my ESXi server and have access to the various VLANS.
The VLANS I require are as follows
|VLAN 1||192.168.1.x/24||Default / Internet Uplink|
|VLAN 13||10.0.13.x/24||Server MGMT Interface|
|VLAN 14||10.0.14.x/24||Server Public Interface|
|VLAN 15||10.0.15.x/24||Server Private Interface|
My esxi server has two network interfaces one which will have the MGMT, Public and Private traffic configured as virtual interfaces in ESXi and one to run my Storage traffic/nfs mounts to a QNAP NAS I wish to run on my network
These are how I have the ports
|Port VLAN Membership|
|g13 -20||VLAN 12|
Needs access to VLAN 1, 13, 14, 15, 20
VLAN 13, 14, 15
|g7 - 8||VLAN 20||LAG Configured for QNAP NAS|
g13-20 are my workstations that need to be on VLAN 12, but also need to be able to connect to 13, 14, 15, 20 over SSH, RDP, NFS
g9 is the ESXi MGMT Interface that need to have traffic from VLANS 13, 14, 15
g10 is the ESXi Storage Interface that needs access to VLAN 20 only
g7/g8 are connect to the QNAP this ideally I want to setup as LAG. When I get more interfaces in my ESXi server I will eventually team them to match.
I have configured a ip interface in my CISCO switch to 10.0.12.1 as gateway for my workstations and created a static route in my router to allow traffic back to the switch. This doesnt quite work as of yet.
I have also setup a default route to 0.0.0.0
I've followed a number of guides but struggling to get my head round the concepts and how to achieve the above configuration.
Ideally I want to configure this through the CLi as Ive had no end of issues with the web interface of the Cisco switch.
I believe g9 need to be TRUNK, and the rest ACCESS is that correct.
How do the workstatations access the other VLANS???
Any help would be appreciated
Hi Paul, to break this down a bit.
Host A is connecting to port 13.
switchport mode access
switchport access vlan 12
ESXI connects to port 9
switchport mode trunk
switchport trunk allowed vlan add 13-15 (keep in mind that vlan 1 is untagged here and is the IP interface for your server)
This translates to
ESXI = 192.168.1.x /24 gateway 192.168.1.2
interface vlan 1
ip address 192.168.1.2 255.255.255.0
no ip address dhcp
Host A = 10.0.12.x /24 10.0.12.1
interface vlan 12
ip address 10.0.12.1 255.255.255.0
With this basic configuration Host A communicates to ESXI (no other config on the switch)
Please try to get the basic connectivity first then can work on routes and DHCP.
Please mark answered for helpful posts