cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
644
Views
5
Helpful
1
Replies

Get 2 VLAN's to talk on Cisco 3560

whiteford
Level 1
Level 1

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 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card