01-05-2015 03:44 PM - edited 03-07-2019 10:05 PM
Having an issue with trying to enable ip routing on a 3750.
Followed this article "http://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/41860-howto-L3-intervlanrouting.html"
As you can see below, all the vlans should be defined right, enabled IP routing, set the route to 0.0.0.0 0.0.0.0 10.10.4.98 for the default gateway but can't get any ping results.
I had this setup on a HP procurve, port 17. On that one, it's simply default vlan (1) and it works.
could anybody advise on what needs to be configured extra for port 17 being the gateway device and having ip routing work?
Thanks
interface Vlan1
ip address 10.10.4.65 255.255.255.0
no ip route-cache
!
interface Vlan10
description Wireless
ip address 10.10.10.1 255.255.255.0
ip helper-address 10.10.30.29
no ip route-cache
shutdown
!
interface Vlan20
description Video
ip address 10.10.20.1 255.255.255.0
ip helper-address 10.10.30.29
no ip route-cache
shutdown
!
interface Vlan30
description Servers
ip address 10.10.30.1 255.255.255.0
no ip route-cache
shutdown
!
interface Vlan40
description PCs
ip address 10.10.40.1 255.255.255.0
ip helper-address 10.10.30.29
no ip route-cache
shutdown
!
interface Vlan50
description Media
ip address 10.10.50.1 255.255.255.0
no ip route-cache
shutdown
Solved! Go to Solution.
01-06-2015 05:33 AM
01-05-2015 03:52 PM
What IP are you pinging from ?
All the interface vlans (SVIs) in your configuration are shutdown except for vlan 1.
If you are pinging from any of the other vlans then you need to bring up the SVI eg.
int vlan 40
no shut
Jon
01-05-2015 04:46 PM
Sorry, was a bit distracted when setting it up, the switch IP is 10.10.4.65, I was pinging from my laptop which is on the wireless vlan (10). Could ping 4.65 ping as well as 10.1 as the default gateway.
Since I have ip routing working on the procurve, everything on the 3750 is shutdown or it reports back duplicate IPs.
01-05-2015 04:52 PM
Oh wait, I should have looked at the gateway. Running untangle 11 right now, and the minute I saw your post about the routing back, I looked at the settings and of course! all the static routes are pointing to the old 10.10.4.59.
So to recap, with ip-routing enabled
ip route 0.0.0.0 0.0.0.0 10.10.4.98
vlans defined as above (but enabled of course)
and untangle static routes pointing to 10.10.4.65, everything should work fine?
Also, is there an idea switchport config for gi2/0/17 as the port untangle is on, or simple the default with spanning-tree portfast enabled is fine?
Thank you!
01-06-2015 02:26 AM
and untangle static routes pointing to 10.10.4.65, everything should work fine?
Should do yes but if there are still problems just let us know.
Also, is there an idea switchport config for gi2/0/17 as the port untangle is on, or simple the default with spanning-tree portfast enabled is fine?
Not sure what you mean about "port untangle is on".
What is this port connected to ?
Jon
01-06-2015 05:26 AM
excellent, will give this a try again this afternoon.
What I had meant for the port: should this be treated as a regular access switchport, no additional config options or are there specific options recommended for this as a gateway server?
I.e. -
no logging event link-status
no snmp trap link-status
no cdp enable
spanning-tree portfast
01-06-2015 05:29 AM
What is the port connected to ?
Jon
01-06-2015 05:31 AM
port 17 of the 3750g is connected to the Untangle gateway server appliance.
01-06-2015 05:33 AM
Okay you should be fine with the configuration you have.
Jon
01-06-2015 05:43 AM
Thanks Jon, always a wealth of knowledge you have!
01-06-2015 05:54 AM
No problem, glad to help.
Like i say if it's still not working when you test it just let me know and we'll go from there.
Jon
01-05-2015 03:56 PM
Sorry, couple of other things -
1) the next hop for the default route 10.10.4.98 will need to have routes for the other vlans pointing backing to 10.10.4.65
2) have you created the vlans in the vlan database eg.
switch(config)# vlan 40
switch(config-vlan)# name PCs
etc.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide