View previous topic :: View next topic |
Author |
Message |
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Thu Nov 24, 2005 8:30 pm Post subject: Network route problem (solved) |
|
|
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 |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Thu Nov 24, 2005 9:46 pm Post subject: |
|
|
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 |
|
|
|