09-27-2005 07:35 AM - edited 03-03-2019 12:11 AM
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?
Solved! Go to Solution.
09-27-2005 08:46 AM
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
09-27-2005 07:42 AM
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
show ip route should list both networks, as long as there are hosts connected on both vlans.
09-27-2005 08:34 AM
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
09-27-2005 08:46 AM
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
09-27-2005 11:16 AM
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..
09-27-2005 11:40 AM
JOY JOY, went back of my settings and must have fat fingered one works great now, Thanks
09-28-2005 07:55 AM
Glad, that every thing is working now. I appreciate the 5 cents.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide