Davide Prina ha scritto:
ma se cerchi "eth" nei log dovresti vedere a che punto viene attivata
la rete ...
Prova prima a configurare il tutto in questo modo:
auto eth1 eth1:1
iface eth1 inet dhcp
iface eth0:1 inet static
address 192.168.0.2
network 192.168.0.0
netmask 255.255.255.0
Ho provato e non funziona niente
Nota: ho visto che avevi copiato "netmask 255.255.255" qualche mail fa
... penso/spero sia un errore di copia/incolla
sì era un errore in copia e incolla, anzi manca anche l'ultima riga:
netmask 255.255.255.0
network 192.168.0.0
Se non funziona, allora prova a controllare anche cosa c'è nelle
sottodirectory di
/etc/network/
Io non so cosa ci dovrebbe essere, ma comunque guarda qui, c'è qualche
cosa di sospetto, anche se funziona:
pc-studio:~# /etc/init.d/networking restart
Reconfiguring network interfaces...Stopping the Firestarter firewall....
Starting the Firestarter firewall....
There is already a pid file /var/run/dhclient.eth1.pid with pid 5171
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:1b:fc:af:a8:12
Sending on LPF/eth1/00:1b:fc:af:a8:12
Sending on Socket/fallback
DHCPRELEASE on eth1 to 23.10.67.80 port 67
Stopping the Firestarter firewall....
Starting the Firestarter firewall... failed!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
SIOCSIFFLAGS: Cannot assign requested address
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:1b:fc:af:a8:12
Sending on LPF/eth1/00:1b:fc:af:a8:12
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 23.10.67.80
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 23.10.67.80
SIOCADDRT: File exists
bound to 23.10.67.83 -- renewal in 1612 seconds.
Stopping the Firestarter firewall....
Starting the Firestarter firewall....
if-up.d/mountnfs[eth1]: waiting for interface eth1:1 before doing NFS
mounts (warning).
Stopping the Firestarter firewall....
Starting the Firestarter firewall....
done.
Ciao
--
Giorgio Bompiani
Gli scaffali dei miei libri sono qui:
http://giorgiobompiani.netsons.org
Linux User # 454514 http://counter.li.org/
--
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]