Get 2 VLAN's to talk on Cisco 3560

Unanswered Question
Jan 30th, 2008
User Badges:

Hi, I have a Cisco 3560 24 port switch. 12 ports are in VLAN 2 which are home to a few PC's and a couple of servers and a Cisco 877 DSL router for the Internet and firewalling. I have created a VLAN 3 to home 4 Mac's, however how can I get these to speak to VLAN 2 for the servers and get to the Internet? I want to keep this design and not move the Mac's into VLAN 2 as this all my grow and I like to keep the Mac's separate due to broadcasts.


Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Jon Marshall Wed, 01/30/2008 - 00:52
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


The 3560 should route between these vlans automatically. So in this example


vlan 2 = 192.168.5.0/24

vlan 3 = 192.168.6.0/24


1) make sure ip routing is enabled on the 3560 eg


3560(conf t)# ip routing


2) Ensure that the L3 vlan interfaces are created on the 3560


int vlan 2

ip address 192.168.5.1 255.255.255.0


int vlan 3

ip address 192.168.6.1 255.255.255.0


3) default-gateway of machines in vlan 2 = 192.168.5.1


4) default-gateway of Mac's = 192.168.6.1


5) The 877 router will need to know how to route back to vlan 3 so unless you are running a routing protocol, on the 877


ip route 192.168.6.0 255.255.255.0 192.168.5.1


HTH


Jon



Actions

This Discussion