LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-02-2015, 11:50 PM   #1
nescius
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
route error


Hello,

several days on my Server i have problem with the Routing Resolution.
In the file /etc/Network/Interfaces are 16 routes registered.

The command route -n or route -v shows anly 8 routes.
Most of the non shown routes work fine.
Only one, 10.49.200.0/24 does not work.

When i set this route with the command on the consol it works.

Does anyone have any idea what´s going wrong?
/etc/Network/interfaces
up route add -net 10.49.213.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.201.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.202.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.203.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.204.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.206.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.208.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.209.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.210.0/24 gw 10.49.103.117 dev eth1
up route add -net 10.49.211.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.212.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.214.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.207.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.200.0/24 gw 10.49.205.117 dev eth1
up route add -net 10.49.215.0/24 gw 10.49.205.116 dev eth1
up route add -net 10.49.216.0/24 gw 10.49.205.116 dev eth1


#route -n
10.49.213.0 10.49.205.117 255.255.255.0 UG 0 0 0 eth1
10.49.208.0 10.49.205.117 255.255.255.0 UG 0 0 0 eth1
10.49.209.0 10.49.205.117 255.255.255.0 UG 0 0 0 eth1
10.49.206.0 10.49.205.116 255.255.255.0 UG 0 0 0 eth1
10.49.204.0 10.49.205.116 255.255.255.0 UG 0 0 0 eth1
localnet * 255.255.255.0 U 0 0 0 eth1
10.49.202.0 10.49.205.116 255.255.255.0 UG 0 0 0 eth1
10.10.10.0 * 255.255.255.0 U 0 0 0 eth0
10.49.203.0 10.49.205.117 255.255.255.0 UG 0 0 0 eth1
10.49.201.0 10.49.205.116 255.255.255.0 UG 0 0 0 eth1
default 10.49.205.116 0.0.0.0 UG 0 0 0 eth1

Thanks and greeting
 
Old 05-04-2015, 03:02 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,867

Rep: Reputation: 162Reputation: 162
Some routes are useless, such as "up route add -net 10.49.214.0/24 gw 10.49.205.116 dev eth1". Default route already take care of it. So kernel could consolidate it.
 
Old 05-05-2015, 02:15 AM   #3
nescius
LQ Newbie
 
Registered: May 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hello nini09,

a German proverb.
Manchmal sieht man den Wald vor lauter Bumen nicht.
Mean: sometimes you dont see the forest about the trees.

Now it works
Greetings and thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No route to host - Error waranha Linux - Networking 3 02-18-2010 06:29 AM
No route to host error... alwaysrookie Programming 2 11-04-2005 12:33 PM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
Route command error DanielTan Linux - Networking 2 01-22-2005 01:00 PM

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

All times are GMT -5. The time now is 06:49 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