[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!





sslug@sslug skriver:
> 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.

Ja der var lidt problemer med startup scriptet, men hele fejlen lå
faktisk i en skrivefejl under indskrivning af DNS servere :o) 
Fejlen var altså at jeg havde stiret mig blind på IP'erne! :o) 

-- 
-
 MVH
   Kim schulz
========================================================================
|                 ADICT Kode Slave - www.adict.net                     |
|            Dansk Linux Link Database - www.LinuXia.dk                |
========================================================================
              Sleep is just a cheap substitute for coffee     
     Fast, reliable, cheap - pick any two - [Microsoft in a Nutshell]


 
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] *