-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Salve a tutti, ho inserito l'indirizzo ip statico nel file /etc/network/interfaces:
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.225.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 Però quando avvio il sistema ottengo che eth0 è configurato correttamente: [EMAIL PROTECTED]:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:30:4F:13:2B:E4 inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::230:4fff:fe13:2be4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:675 errors:0 dropped:0 overruns:0 frame:0 TX packets:423 errors:2 dropped:0 overruns:0 carrier:4 collisions:0 txqueuelen:1000 RX bytes:61271 (59.8 KiB) TX bytes:89537 (87.4 KiB) Interrupt:9 Base address:0xa000 Ma non c'è nessuna rete e nessun gateway di default: [EMAIL PROTECTED]:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface Se lancio lo script sotto init.d ottendo questo: [EMAIL PROTECTED]:~# /etc/init.d/networking restart Setting up IP spoofing protection: rp_filter. Reconfiguring network interfaces...ifup: interface lo already configured SIOCSIFNETMASK: Invalid argument Failed to bring up eth0. done. A cosa è dovuto? La netmask mi sembra corretta... Grazie a tutti, Gianluca - -- echo aculnaiG | awk 'BEGIN { FS = "" } { for (i = NF; i >= 1; i-- ) printf $i }'; echo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFBVbIK1z3HmyB2QIRAh2OAJ4xP+MM3PQ371jz30ZpIqsgobgCYACfVkYI ZKxAjl5hxT1Wo9+GXt5Ujt4= =u8af -----END PGP SIGNATURE----- -- Per REVOCARE l'iscrizione alla lista, inviare un email a [EMAIL PROTECTED] con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a [EMAIL PROTECTED] To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]