Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4123
  • Last Modified:

Default Gateway on Nexus 5k

I have not found an equivalent to the "IP DEFAULT-GATEWAY x.x.x.x" IOS command in NX-OS.

I assume that Cisco intends the ip route 0.0.0.0 command to take the place of default-gateway.


Please detail how to setup a default gateway (or equivalent) for 10gig traffic on a Nexus 5k.

0
c-h-r-i-s-t-o-p-h
Asked:
c-h-r-i-s-t-o-p-h
  • 2
1 Solution
 
Jimmy Larsson, CISSP, CEHNetwork and Security consultantCommented:
Yes, the ip route-command take place of the default-gateway-command. The latter is only used in devices that are not being routers themselfes. For example a l2-switch that has an ip address for management purposes only still needs to have a default route to reach the world. In that case the ip default-gateway is being used. In the opposite - a layer3-device routing traffic on behalf of others uses a "full" routing-table and all static routes are being configured with the "ip route"-command. In that case any configured "ip default-gateway"-commands are not being used.

Best regards
Kvistofta
0
 
c-h-r-i-s-t-o-p-hAuthor Commented:
Thanks for the info.

I suppose this gives me a better idea of what to ask.

My MGMT 0 port lies on a different VLAN (x.x.22.x) than my 10gig ports. (x.x.10.x).

How can I go about insuring that MGMT traffic exits the MGMT 0 port and my 10gig traffic exits the 10gig ports on a Nexus 5k running NX-OS?
0
 
c-h-r-i-s-t-o-p-hAuthor Commented:
Excellent
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now