Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ip routeing on catalyst 4506 1

Status
Not open for further replies.

insureme

IS-IT--Management
Dec 9, 2008
103
US
This may be a dumb question, but i recently got a catalyst 4506 to replace my core, and I'm having trouble setting up routing for it. i issue the command ip routing, and nothing happens. the command also does not show up in the configuration. then when i do a show ip route it tells me that gateway of last resort is not set, but I've given the command ip route 0.0.0.0 0.0.0.0 x.x.x.x, and a check of the configuration shows it's in there. how do i setup routing on this device? it has a Supervisor II+ in it. currently the only thing I've got on it now is port g3/48 is connected to our old core switch. Any help would be appreciated.
 
that may be your problem: the command is not ip routing its ip route x.x.x.x x.x.x.x x.x.x.x
 
I think you misunderstood.

the commands were
"ip routing" to enable ip routing on the switch
"ip route 0.0.0.0 0.0.0.0 x.x.x.x" to set the default route

now I'm not sure if the ip routing command is not showing in the config because something is wrong of if it's enabled by default on this switch, but the command "show ip route" tells me that there is no gateway of last resort setup, but as the command above states, there is.
 
Its on by default so it doesn't show , if you are going to use it as a strict layer 2 device you can use the no ip routing command and use the ip default gateway command instead of the default static route.
 
If you just do a "ip routing" command , then its on whether you see it or not . You should be ready to go if you have the default static pointing to your next hop. You can then create vlans and route between them and anything not directly connected will be forwarded to the static route.
 
OK, thanks Viper for confirmation on the default routing setting. I was thinking that's the case but it's nice to get a confirmation. And you gave me the step I needed to figure it out. I was setting this up like its in place so i set the next hop to be the firewall, however the firewall is on the other side of the old core switch. right configuration had i been putting this right into production, but wrong default gateway for it's current placement.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top