Q

How do you assign a default gateway?

Find out the command you need to run to assign a default gateway in this response from our routing and switching expert, Sudhanshu Gupta.

I'm a CCNA student who would like to ask you how to assign a default gateway.
You need to run the command ip default-gateway (ip address).
Hope this helps
This was last published in September 2007

Dig Deeper on IP Networking

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close