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 first published in September 2007

Dig deeper on IP Networking

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

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

Your password has been sent to:

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close