Problema di rete
Valerio Fuoglio (thewally)
thewally@linux.it
Gio 8 Giu 2006 16:34:01 CEST
Alle 16:08, giovedì 8 giugno 2006, Alessandra V. ha scritto:
> Il risultato dei comandi ifconfig e route è questo:
>
> ale@ALE:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:0A:E4:44:FC:D9
> inet addr:130.251.67.23 Bcast:130.251.255.255
> Mask:255.255.0.0 inet6 addr: fe80::20a:e4ff:fe44:fcd9/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1 errors:0 dropped:103 overruns:0 frame:0
> TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:60 (60.0 b) TX bytes:90 (90.0 b)
> Interrupt:19 Base address:0x1800
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:16159 errors:0 dropped:0 overruns:0 frame:0
> TX packets:16159 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1461333 (1.3 MiB) TX bytes:1461333 (1.3 MiB)
>
> ale@ALE:~$ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface 130.251.0.0 0.0.0.0 255.255.0.0 U 0
> 0 0 eth0 0.0.0.0 130.251.62.254 0.0.0.0 UG 0
> 0 0 eth0
>
> Ho provato anche questo:
>
> ale@ALE:~$ ifconfig ip 130.251.67.23 inet 255.255.0.0 up
> SIOCSIFADDR: Permission denied
> ip: ERROR while getting interface flags: No such device
> inet: Host name lookup failure
> ifconfig: `--help' gives usage information.
>
> I pc in rete sono 4, escluso il mio.
>
> Cosa è successo?
Prova questo:
#ifconfig eth0 up
#ifconfig eth0 add 130.251.67.23 netmask 255.255.0.0
Per quanto riguarda il gateway, se il suo IP è, per esempio 130.251.67.1:
# route add default gw 130.251.67.1
Sostituiscilo con quello del tuo gw
Ciao
TheWally
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome: non disponibile
Tipo: application/pgp-signature
Dimensione: 189 bytes
Descrizione: non disponibile
Url: http://lists.linux.it/pipermail/glug/attachments/20060608/91fa33a0/attachment.pgp
Maggiori informazioni sulla lista
glug