I have set up a Router on a stick configuration with a Cisco 1841 router, a Cisco 2960 switch, and ESXi server. I am new to this concept and looking for some clarifications. Here is my set up:
Router:
f0/0 : no ip addrr (?? is this correct)
f0/0.1 : native vlan 1 - 10.0.0.1/24
f0/0.2 : vlan 2 - 10.0.2.2/24
DHCP pool is configured for 10.0.0.1 and 10.0.2.2 networks
NAT is configured for 10.0.0.1/24 and 10.0.2.2/24 networks
Switch:
One trunk port to Router
Another trunk port to ESXi
ESXi:
A virtual machine group with "All VLANS"
The problem I have is that when I connect a VM to the "ALL VLANS" portgroup, I am not able to configure the network. I have the same problem when I create a port group with VLAN1 in ESXi and connect a VM.
But it works fine for a port group with vlan 2.
The reason I am connecting trunk port to a VM is that I am installing a software called packetfence which needs a trunk cable plugged into the interface.
Is there anything that I am doing wrong?