LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2010, 10:45 AM   #1
bamaboy
LQ Newbie
 
Registered: May 2010
Location: The Interwebz
Distribution: CentOS
Posts: 2

Rep: Reputation: 0
Exclamation IP routing table restore


Hello.

Is there any way to restore back the default ip routing table ?
For example, my current routing table is something like
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
109.123.95.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         109.123.95.1    0.0.0.0         UG    0      0        0 eth0
Then i connect to a vpn service and the routing table get's changed..now when i close it, it doesn't reset back to my default routing table.

Any quick way to set it back to default ?

Thanks.
 
Old 05-16-2010, 11:56 AM   #2
bamaboy
LQ Newbie
 
Registered: May 2010
Location: The Interwebz
Distribution: CentOS
Posts: 2

Original Poster
Rep: Reputation: 0
Nevermind, i solved the issue.

Code:
# service network restart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore partition table or recover data Berticus Linux - Hardware 4 03-27-2009 11:49 PM
restore partition table from the cache? drkstr Slackware 10 09-08-2006 03:05 AM
iptables-restore v1.2.11: Line 68 seems to have a -t table option. SupaDucta Linux - Networking 2 01-11-2006 05:38 AM
How to restore partition table without a CDROM? welson_sun Fedora - Installation 2 10-11-2005 03:30 PM
ext3 partition table restore pats Linux - General 1 07-22-2005 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration