Solved

How to set the default static route gateway in router ?

Posted on 2009-07-04
6
519 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now