Solved

How to set the default static route gateway in router ?

Posted on 2009-07-04
6
520 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing the default VLAN on a Cisco switch? 9 69
Application timeout 4 46
SonicPoint N2 will not provision on SonicWall NSA220 4 20
NFS v4 7 23
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.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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.

730 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