[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to set the default static route gateway in router ?

Posted on 2009-07-04
6
Medium Priority
?
525 Views
Last Modified: 2012-08-14
How to set the default static route gateway in router ?
Can we set like 'ip default-gateway <ip address> in router? Thanks!
0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 14

Expert Comment

by:mikelfritz
ID: 24777213
What kind of router?
0
 
LVL 9

Assisted Solution

by:jfer0x01
jfer0x01 earned 400 total points
ID: 24777280
Hi

if it's cisco

try

ip default-gateway x.x.x.x

where the x.x.x.x ip is the next jump to either your ISP or the next device you need to reach

Jfer


0
 

Author Comment

by:beer9
ID: 24777384
yes it is cisco router, I am thinking we can also set the default route like this

ip route 0.0.0.0 0.0.0.0 x.x.x.x

where the x.x.x.x ip is the next jump to either your ISP or the next device you need to reach

Which one is better ?
0
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 

Accepted Solution

by:
BinarySvant earned 600 total points
ID: 24777754
The preferred way to do this is the following:

Example: ISP address is 192.168.10.1

Connect to the router via console or telnet

router> enable
router# config t
router-conf# ip route 0.0.0.0 0.0.0.0 192.168.10.1
Obviously replace 192.168.10.1 with your ISP's address.

0
 
LVL 3

Expert Comment

by:KvChaos
ID: 24781958
This (ip route 0.0.0.0 0.0.0.0 x.x.x.x) is better.
0
 

Author Closing Comment

by:beer9
ID: 31599782
Thank you! :-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question