cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3298
Views
20
Helpful
11
Replies

ip routing enabled, can't access gateway

Jeremy Patrick
Level 1
Level 1

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

 

1 Accepted Solution

Accepted Solutions

Okay you should be fine with the configuration you have.

Jon

View solution in original post

11 Replies 11

Jon Marshall
Hall of Fame
Hall of Fame

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

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.

 

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!

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

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

What is the port connected to ?

Jon

port 17 of the 3750g is connected to the Untangle gateway server appliance.

Okay you should be fine with the configuration you have.

Jon

Thanks Jon, always a wealth of knowledge you have!

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

Jon Marshall
Hall of Fame
Hall of Fame

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

 

Review Cisco Networking for a $25 gift card