LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-18-2009, 12:53 AM   #1
lulatsch
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: 15
Routing


Hello, I need to reproduce this routing table on a new server, but I don't know how. Please ignore the validity/invalidity of the IP-adresses: I obscured them.

Code:
route -n
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
197.128.37.39   0.0.0.0         255.255.255.240 U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.239.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
0.0.0.0         192.182.38.82   0.0.0.0         UG    0      0        0 eth0
 
Old 06-18-2009, 01:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there's nothing interesting in there, just a default route at the bottom. Everything else are just local interfaces that aren't configured within routing tables, but interface configuration.
 
Old 06-22-2009, 09:01 AM   #3
rskarthik
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
hi folks

i just added route with network address and subnetmask and when i give route -n it is showing the routes available

but when i restarted the service(service network restart) the route that i added is gone. how can i ensure that it got stored permanently

what is the file i need to edit
thanks in advance

r.karthik
 
Old 06-22-2009, 04:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
without you telling us what distro you're using, we can't say. more info please.
 
  


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
pre routing , post routing and qos support msridhar87 Linux - Networking 0 02-13-2009 05:37 AM
Routing satish Linux - Networking 5 07-10-2008 12:33 AM
routing fdahl_009 Ubuntu 1 01-18-2006 05:37 PM
routing metallica1973 Linux - Networking 8 04-25-2005 01:48 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM

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

All times are GMT -5. The time now is 10:20 AM.

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