cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1157
Views
0
Helpful
3
Replies

Routing secondary network on Cisco 3560 Switch

caymanport
Level 1
Level 1

I am trying to get my workstation to talk to a workstation on a different sub-net through a Cisco 3560 switch.  The switch is running the following IOS version:

Cisco Internetwork Operating System Software

IOS (tm) C3560 Software (C3560-I9-M), Version 12.2(20)EX, RELEASE SOFTWARE (fc1)

My primary network is 172.16.0.0 and I am trying to connect to a device on a 192.168.111.0 sub-net.  Here is my setup:

My Workstation: 172.16.115.190                        Remote Workstation:  192.168.111.10

                192.168.111.20                                       |

              |                                                      |

       Unmanaged Layer 1 Switch                                      |

              |                                                      |

              ----------------- Switch VLAN1: 172.16.112.3 -----------

What would be the best way to get the two workstations talking via the switch?

1 Accepted Solution

Accepted Solutions

Hello

FYI- You did not need the static routes on the workstations.

On the switch:

ip routing

int vlan 1

ip address 172.16.112.3 255.255.255.0

int vlan 20

ip address 192.168.111.10 255.255.255.0

vlan 20

exit

int x/x

description access port to My workstation

switchport mode access

(deafults to vlan 1)

int x/x

description access port to Remote workstation

switchport access vlan 20

switchport mode access

On each workstation just assign an ip address/subnet mask/ default-gateway of the vlan the workstation in attached to.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

caymanport
Level 1
Level 1

I figured this out on my own. 

For reference, I created a VLAN20 with an IP address of 192.168.111.10 on the switch and assigned the port that the remote workstation is on to this new VLAN.  I then added a static route on my workstation pointing 192.168.111.0 network to the VLAN1 IP address on the switch (172.16.112.3) and I added a static route on the remote workstation to point the 172.16.0.0 network to the VLAN20 IP address on the switch (192.168.111.10).  Finally I enabled IP routing on the switch.

Hello

FYI- You did not need the static routes on the workstations.

On the switch:

ip routing

int vlan 1

ip address 172.16.112.3 255.255.255.0

int vlan 20

ip address 192.168.111.10 255.255.255.0

vlan 20

exit

int x/x

description access port to My workstation

switchport mode access

(deafults to vlan 1)

int x/x

description access port to Remote workstation

switchport access vlan 20

switchport mode access

On each workstation just assign an ip address/subnet mask/ default-gateway of the vlan the workstation in attached to.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks!  That would have been much easier.