[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: [NOVICE] Generelle spørgsmål om opsætning af net(stofanet)



Svend Erik Venstrup wrote:
> 


> b: Fra "stofanet" 3 IP-adresser:        Ip-adresse      :
> 192.168.135.153
>                                         Netværk         : 192.168.135
>                                         Default Gateway : 192.168.135254
> 

> Jeg mener at der til "Netværk" skal føjes .0

Det er rigtig

> og at der i "Default Gateway" skal der føjes 135.254 el. .0
> 254,

Gateway hedder 192.168.135.254 - der mangler er punktum
(generel stofa fejl) 

> 
> Hvad bruges de 3 adresser til?

De indsættes i /etc/sysconfig/network-scripts/ifcfg-eth0 -
som vist neden for

DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.135.153
NETWORK=192.168.135.0
NETMASK=255.255.255.0
GATEWAY=192.168.135.254

> Grunden til at at jeg vil have besvaret disse spørgsmål, er
> at der er opstået en situation som får mig til at tro at jeg
> kontakter min egen maskine.

Det har du ret i - 192.168.135.153 er din egen maskines
adresse.  Du skal bruge kommandoen (se på side 6 af 10 i
StofaNet Vejledning).
# telnet 192.168.30.2 259
 

> sslug@sslug /root]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric
> Ref    Use Iface
> 192.168.135.153 0.0.0.0         255.255.255.255 UH    0
> 0        0 eth0
> 192.168.135.0   0.0.0.0         255.255.255.0   U     0
> 0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0
> 0        0 lo

> 0.0.0.0         192.168.135.254 0.0.0.0         UG    0
> 0        0 eth0
Denne linie skal ikke være der


> 0.0.0.0         192.168.135.254 0.0.0.0         UG    1
> 0        0 eth0
> 

Hvis du retter din ifcfg-eth0 så den ligner ovenstående og
enten re-booter eller kører:
# ifconfig eth0 down
# ifconfig eth0 up
# route add 192.168.135.153 eth0
# route add default gw 192.168.135.254 eth0

så burde du få den rigtige route -n og forbindelse med
telnet.



vh jesper nk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:58 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] *