Solved

3750 switch setup as a router

Posted on 2013-05-23
5
922 Views
Last Modified: 2013-05-29
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
Comment
Question by:cj_cb
5 Comments
 
LVL 45

Accepted Solution

by:
Craig Beck earned 334 total points
ID: 39194631
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
 
LVL 17

Assisted Solution

by:TimotiSt
TimotiSt earned 166 total points
ID: 39194677
Plus maybe a static default route to 50.200.158.149?

Tamas
0
 
LVL 45

Assisted Solution

by:Craig Beck
Craig Beck earned 334 total points
ID: 39194746
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
 
LVL 7

Expert Comment

by:unfragmented
ID: 39196183
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
 

Author Comment

by:cj_cb
ID: 39203416
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question