i have a cisco WS-C3750X-48T-L 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
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
Plus maybe a static
default route to 50.200.158.149?
Good call @TimotiSt
It won't work
without that :-)
conf t
ip WS-C3750X-48T-S route 0.0.0.0 0.0.0.0 50.200.158.149
end
没有评论:
发表评论