I have a router that has 4 VLANs configured, with an interface on each vlan, the router serves as a gateway and provides internet access.
VLAN | Interface | Function --------------------------------------- 1 | 192.168.1.1/24 | DMZ 2 | 192.168.2.1/24 | Phones 3 | 192.168.3.1/24 | Work Stations 4 | 192.168.4.1/24 | Servers
The router has a single cable connecting it to a Cisco 3750 (Gi1/0/1), this connection is setup as an 802.11q trunk.
Other than the trunk port, the other ports on the switch are split among the 4 VLANs.
VLAN | Interface -------------------- 1 | Gi1/0/2-6 2 | Gi1/0/7-12 3 | Gi1/0/13-18 4 | Gi1/0/19-24
How can I set up the switch so that all VLANs have internet access, via there respective gateways on the router. While still allowing any required inter-vlan communication to occur on the switch itself?
The inter-vlan communication I require is as follows:
from | to -------------- 2 | 1 3 | 1 4 | 1
I would prefer to run the DHCP server on the Cisco switch, but if necessary I can run it on the router.