[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] route: netmask doesn't match route address!



In <sslug@sslug> Kim Schulz <sslug@sslug> writes:

>jeg har stadig route problemer, men er nu efterhånden kommet frem til
>hvor fejlen ligger! 
>jeg får følgende error når jeg startet nettet op på min linuxmaskine:
>route: netmask doesn't match route address! 

>jeg er dog ikke helt sikker på hvad jeg skal gøre ved denne fejl! 

Det lyder som om der bruges en forkert ifconfig kommando. Er det
en Linux 2.2 kerne ? Så skal du for det første specificere BÅDE
ip-adresse, netmaske og broadcast adresse på ifconfig kommandoen,
og for det andet skal du IKKE køre nogen route kommandoen, ud over
til at sætte default gateway.

D.v.s. på din laptop skal der afvikles disse kommandoer for at
starte netværket

ifconfig eth0 192.38.215.136 netmask 255.255.252.0 broadcast 192.38.215.255 up
route add default gateway 192.38.212.1

Intet andet. Jeg tror at dine opstart-scripts kører efter den "gamle"
(præ linux 2.2) metode, og så defaulter netmask til 255.255.255.0 med
den IP adresse, du bruger. Derfor kommer fejlen så, når route-kommandoen
bliver kørt. Og du kan ikke snakke med din default gateway.
-- 
Henrik Storner     | "Software engineering is a race between engineers 
<sslug@sslug> |  who try to create foolproof software and the 
                   |  universe which is trying to create bigger fools.
                   |  So far, the universe is winning..."


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *