Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network route problem (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Martin LORANG
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2003
Posts: 92
Location: Moselle / France

PostPosted: Thu Nov 24, 2005 8:30 pm    Post subject: Network route problem (solved) Reply with quote

Hello,
Yesterday I have updated my whole system with
Code:
emerge --sync && emerge -uDv --newuse system && emerge -uDv --newuse world && revdep-rebuild -X && emerge --depclean
since this morning I have a problem with my network route on eth0
when the content of /etc/conf.d/net is
Code:
config_eth0=("192.168.63.63 broadcast 192.168.63.255 netmask 255.255.255.0")
routes_eth0=("default via 192.168.63.250")
mtu_eth0=("1492")
then the result of /etc/init.d/net.eth0 restart is
Code:
 * Caching service dependencies ...                                               [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Shutting down eth0 ...                                                     [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     192.168.63.63                                                              [ ok ]
 *   Adding routes
 *     default via 192.168.63.250 ...
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported                                  [ !! ]

and when the content of /etc/conf.d/net is
Code:
config_eth0=("192.168.63.63 broadcast 192.168.63.255 netmask 255.255.255.0")
#routes_eth0=("default via 192.168.63.250")
mtu_eth0=("1492")
then the result of /etc/init.d/net.eth0 restart is
Code:
 * Caching service dependencies ...                                               [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Shutting down eth0 ...                                                     [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     192.168.63.63                                                              [ ok ]

So what is wrong with my route ? I did no change in that file for months !
If I do manually
Code:
route add -net 0.0.0.0 gw 192.168.63.250
the route works !

TIA

Martin


Last edited by Martin LORANG on Thu Nov 24, 2005 9:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Martin LORANG
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2003
Posts: 92
Location: Moselle / France

PostPosted: Thu Nov 24, 2005 9:46 pm    Post subject: Reply with quote

OK, solved with
Code:
[ebuild     U ] sys-apps/baselayout-1.12.0_pre11-r1 [1.12.0_pre11] -bootstrap -build -static +unicode 0 kB
Martin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum