Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

3750 swith used for routing

I have a 3750, connected to a 10.1.1.0 network. I want to create a vlan using a 172.x.y.z network. How do I configure the 3750 to route requests for the 172.x.y.xz network to the correct vlan?

  • Other Network Infrastructure Subjects
1 ACCEPTED SOLUTION

Accepted Solutions

Re: 3750 swith used for routing

Thats fine. In the above config, assign vlan 1 with 10.x.y.192 and connect a port on the 3750 assigned to vlan 1 to the router (fast E-> fast E would do).

On router configure default route for

172.x.y.z to go to 10.x.y.192.

On the 3750, crate vlan 2, assign 172.x.y.z address to that vlan (as described in previous post) and configure a default route,

ip route 0.0.0;0 0.0.0.0

Summarizing, you will need to configure vlan 1 (10.x.y.192) and vlan 2 (172.x.y.z) on the 3750 and the add the default route as above to pass traffic between the two networks.

HTH.

PS: To assign a port to a vlan

int fa0/1

switchport mode access

switchport access vlan

6 REPLIES

Re: 3750 swith used for routing

conf t

ip routing -> enables ip routing on switch.

int vlan 1

no shut

ip add

vlan 2 -> defines vlan 2

name

exit

int vlan 2

no shut

ip add

ip helper-addres --> if dhcp relay required

show ip route should list both networks, as long as there are hosts connected on both vlans.

New Member

Re: 3750 swith used for routing

OK, I don't think I gave enough details, I want to assign a 10.x.y.192 address to access this vlan. I am running low on 10.x.y.z addresses in my area and that is why I want to use the 172.x.y.z addresses for a bank of servers. My primary router will have a route that sends all 172.x.y.z requests to 10.x.y.192.. Maybe this will clear up my requirements. Thanks

Re: 3750 swith used for routing

Thats fine. In the above config, assign vlan 1 with 10.x.y.192 and connect a port on the 3750 assigned to vlan 1 to the router (fast E-> fast E would do).

On router configure default route for

172.x.y.z to go to 10.x.y.192.

On the 3750, crate vlan 2, assign 172.x.y.z address to that vlan (as described in previous post) and configure a default route,

ip route 0.0.0;0 0.0.0.0

Summarizing, you will need to configure vlan 1 (10.x.y.192) and vlan 2 (172.x.y.z) on the 3750 and the add the default route as above to pass traffic between the two networks.

HTH.

PS: To assign a port to a vlan

int fa0/1

switchport mode access

switchport access vlan

New Member

Re: 3750 swith used for routing

Getting there, I can see both sides, but I can't talk between the vlans. I had a vlan 3 that already had and 10.x.y.z connection, gave it and IP and am able to hit the ip. From the switch I can hit both networks 10.x.y.z and 172.x.y.z but I can't communicate between them, looks like my route is not working correctly, did I miss something? Do I have to add a route between the 172 and the 10 network specifically?? Thanks much..

New Member

Re: 3750 swith used for routing

JOY JOY, went back of my settings and must have fat fingered one works great now, Thanks

Re: 3750 swith used for routing

Glad, that every thing is working now. I appreciate the 5 cents.

244
Views
0
Helpful
6
Replies