Solved

3750 switch setup as a router

Posted on 2013-05-23
5
910 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now