• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3889
  • 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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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