• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 982
  • Last Modified:

3750 switch setup as a router

i  have a cisco 3750g switch i need to enable routing. this is a fresh switch no config just need to get it to route to an ip.

switch gateway: 50.200.158.149 255.255.255.252
switch usable ip; 50.200.158.153 255.255.255.248

I need to set vlan 1 to 50.200.158.153 255.255.255.248 and have it route outside packets to
50.200.158.149 255.255.255.252.

this is a standard Comcast business setup but i am having a difficult time getting the switch to route outside packets.
If i put a host on the inside 50.200.158.154 and put it its gateway as 50.200.158.153 i need it to get to outside.

i basically need to set the switch as a router. so a genric config would be fine i can replace the ip's
0
cj_cb
Asked:
cj_cb
3 Solutions
 
Craig BeckCommented:
conf t
ip routing
!
interface GigabitEthernet0/1
 no switchport
 ip address 50.200.158.150 255.255.255.252
 no shutdown
!
interface Vlan1
 ip address 50.200.158.153 255.255.255.248
 no shutdown
end
0
 
TimotiStDatacenter TechnicianCommented:
Plus maybe a static default route to 50.200.158.149?

Tamas
0
 
Craig BeckCommented:
Good call @TimotiSt
It won't work without that :-)

conf t
 ip route 0.0.0.0 0.0.0.0 50.200.158.149
end
0
 
unfragmentedCommented:
If you want to use static routes, you will need one from the other direction as well, ie whatever is at 50.200.158.149 will need a static route for 50.200.158.153/255.255.255.248 via 50.200.158.150.
0
 
cj_cbAuthor Commented:
thanks to all for the help it I am able to ping from interface 1/0/1 to the outside. i believe i can ping from Vlan1 but not 100% sure yet the day ended and i was still having issues. do i need an access list to allow traffic back to vlan1?  the config with the zero's route is complete just want to make sure.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now