IP routing table restore


 
Thread Tools Search this Thread
Special Forums IP Networking IP routing table restore
# 1  
Old 05-16-2010
[SOLVED] 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. Smilie

---------- Post updated at 10:25 PM ---------- Previous update was at 08:52 PM ----------

Nevermind, i solved the issue.

Code:
# service network restart

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

how to read routing table

Hi all, Could someone please explain to me how I should read this routing table, # netstat -rn Routing tables Destination Gateway Flags Refs Interface Pmtu 127.0.0.1 127.0.0.1 UH 0 lo0 32808 10.222.47.82 10.222.47.82 UH... (3 Replies)
Discussion started by: rachael
3 Replies

2. Red Hat

routing table question

I have below routing table in linux kernel 2.6.9 # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U ... (5 Replies)
Discussion started by: chuikingman
5 Replies

3. Linux

Routing Table

Hello, how to make entries in routing table perminent (1 Reply)
Discussion started by: teenasuresh
1 Replies

4. IP Networking

Routing table

Hi all, I am confusing with routing table, i use linux and iptables. i have 1 internet gateway, and 1 router for VPN. here is my network. eth0=192.168.0.1 eth1=192.168.100.1 192.168.0.0/24 --- eth0(Linux Box)eth1 ---(DSL)---Internet | ... (4 Replies)
Discussion started by: blesets
4 Replies

5. IP Networking

routing table

hi all... i need to know, where is locate the routing table on sun solaris, how i can saved the configuration.... because when i restart the server, lost the configuration.... thank you... Regards... (3 Replies)
Discussion started by: chanfle
3 Replies

6. AIX

Dynamic routing table

i have AIX Unix with "dynamic routing table" service enabled, but i do not need this service. How i can disable this service. thanks (1 Reply)
Discussion started by: jdsnbr
1 Replies

7. IP Networking

Ip routing table

hi all, how to access ip routing table throgh program, how should i integrate my rip routing table with the ip routing table :) (0 Replies)
Discussion started by: vinodkumar
0 Replies

8. IP Networking

routing table (netstat -rn)

Is ther a way to retain say, a default gateway entered in a routing table after a reboot? I end up always having to re-enter my default gateway after I reboot my system. Thanks! (4 Replies)
Discussion started by: thundrrod
4 Replies

9. UNIX for Dummies Questions & Answers

not following routing table

Hi, I'm trying to connect to a network device, with the connection follwoing the UNIX routing table we set up. Its to go via a specific network Gateway and out throught a specific Lan card (Lan4). However when trying to conenct it keeps going through Lan3 and will not get to its destination.... (3 Replies)
Discussion started by: nhatch
3 Replies

10. UNIX for Dummies Questions & Answers

Kernel Routing Table

How can i set an permanent route so that itīs still here after a reboot ? i have a gateways file Thanks :confused: :confused: :confused: (1 Reply)
Discussion started by: redcrosskbg
1 Replies
Login or Register to Ask a Question
DNROUTE(8)						      System Manager's Manual							DNROUTE(8)

NAME
dnroute - DECnet Routing Daemon SYNOPSIS
dnroute [options] Options: [-dvV2Dtnhr] DESCRIPTION
dnroute is a daemon that manages the DECnet routing tables to provide a simple but probably useful routing policy. dnroute listens for incoming routing messages and adds routes in the kernel for non-local areas that it sees. Routes will be modifed according to these messages so that the lowest cost route that is up will always be used. Routes to locally accessible nodes (it those in the neighbour table) will also be added. If you want to keep manual control of the route to a particular area, then add a line into dnroute.conf. eg: manual 26 will disable dnroute's setting of routing tables for that area. dnetinfo will still show the route that would have been set with (M) on the line to show it has been overidden. To implement its routing policies dnroute assumes that all interfaces on the system have a cost of 4. To change this add lines in /etc/dnroute.conf for each of the interfaces you need to change. eg eth0 6 eth1 8 tap0 10 A script called dnetinfo is provided that gets the routing information from dnroute and displays it on stdout in a format similar to the VMS command SHOW NET/OLD. OPTIONS
-d Don't fork and run the background. Use this for debugging. -v Verbose. Log route changes to syslog. -D Debug log. Writes debugging information to stderr. Only useful with -d. -h -? Displays help for using the command. -r Send DECnet routing messages showing the state of local nodes. -2 Send DECnet level 2 (area) routing messages. Implies -r. -t <secs> Timer to send routing messages on. Defaults to 15 seconds. -n Do not set up routes or send routing messages, just monitor the network. Useful for testing. -V Show the version of dnroute. SEE ALSO
dnetd.conf(5), ip(8) DECnet utilities March 30 2006 DNROUTE(8)