Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th December 2004, 04:07 AM
falling Offline
Registered User
 
Join Date: Aug 2004
Posts: 5
lo is up, but can't route through it

This problem popped up out of nowhere a few weeks ago, I guess because of the automatic nightly yum updates. (Note to self....)

ifconfig shows that lo is up, but route has no listing for it, and when I try to add a route it gives an error:

Code:
[2259][/tmp]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         10.0.0.1        0.0.0.0         UG    0      0        0 eth0

[2259][/tmp]# route add -net 127.0.0.0
SIOCADDRT: Invalid argument
Googling for that error hasn't helped at all yet; it seems to be a pretty generic error, and my route arguments are directly from the localhost example in the manpage, so I doubt they're invalid.

Any ideas?

Thanks,
Anthony DiSante
http://nodivisions.com/
Reply With Quote
  #2  
Old 8th December 2004, 04:34 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
The error you're getting is because of the syntax error in the route statement. You want:

route add -net 127.0.0.0 netmask 255.0.0.0 lo

There's an open bug on the issue, but the loopback route may not be needed anymore.
Reply With Quote
  #3  
Old 8th December 2004, 05:21 AM
falling Offline
Registered User
 
Join Date: Aug 2004
Posts: 5
Quote:
Originally Posted by macemoneta
The error you're getting is because of the syntax error in the route statement. You want:

route add -net 127.0.0.0 netmask 255.0.0.0 lo

There's an open bug on the issue, but the loopback route may not be needed anymore.
Wow, a blatant error in the route manpage. I never would have guessed that. It definitely says that the way to add the default loopback device is "route add -net 127.0.0.0". Thanks for letting me know.

-Anthony DiSante
http://nodivisions.com/
Reply With Quote
Reply

Tags
route

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add route budds Servers & Networking 0 25th October 2006 04:17 AM
cant get my vpn to route morph166955 Servers & Networking 1 7th November 2005 09:56 PM
How do I add a route??? moonmoth Servers & Networking 4 4th September 2005 02:29 AM


Current GMT-time: 00:34 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat