Default gateway VS IP default route

0 pts.
Tags:
Ethernet
Networking
I manage a rather complex network. At one of my sites, I have a Cisco 3750 switch as the main switch. I have all LAN devices set to point to this switch as their default gateway. I have the switch default gateway set to point to the firewall. However, no traffic will go past the switch to the firewall and outside unless I add an IP default route. Why? I thought that you could set default gateways on an Ethernet LAN to progressively point outside the network and it would work.
ASKED: January 22, 2007  8:20 AM
UPDATED: May 9, 2013  4:00 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The IP default gateway command is used on switches that do not have IP routing enabled. In other words it should be normally used in combination with the no IP routing command.

It basically makes it like your switch is a dumb host on the network and needs a gateway.

If you want your 3750 switch to route traffic to the firewall, do not use IP default gateway. That is really only going to be good for management.

Use IP route 0.0.0.0 0.0.0.0 firewall.address.x.x

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • AdTechJO
    Dear Skepticals Have you checked your metric settings? Amal
    0 pointsBadges:
    report
  • fpalacio982
    This is an excerpt from an old cisco.com page - http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094374.shtml This document explains how to configure a default route, or gateway of last resort. These IP commands are used: ip default-gateway ip default-network and ip route 0.0.0.0 0.0.0.0 ip default-gateway The ip default-gateway command differs from the other two commands. It should only be used when ip routing is disabled on the Cisco router.
    0 pointsBadges:
    report
  • Tbitner
    The default gateway on the switch is for management purposes only. If you don't input a default gateway on the switch, you won't be able to manage it via IP.
    510 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following