Solved

How to set the default static route gateway in router ?

Posted on 2009-07-04
6
521 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 100 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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

Accepted Solution

by:
BinarySvant earned 150 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

691 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