Salut
j’ai un pc qiu fait serveur dhcp relié sur un switch. Parfait il distribue internet et fait office de firewall. Seulement ma debian etch qiu se connecte dessus (au switch) se retrouve avec la bonne adresse ip et a Internet. Seulelement si je fais un /etc/init.d/network restart
j’ai plus internet
pceau:/home/jim# /etc/init.d/networking restart
Reconfiguring network interfaces…There is already a pid file /var/run/dhclient.eth1.pid with pid 3180
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/sw/dhcp/
Listening on LPF/eth1/00:11:2f:74:d1:77
Sending on LPF/eth1/00:11:2f:74:d1:77
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.0.2 port 67
ifconfig
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:195 errors:0 dropped:0 overruns:0 frame:0
TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:16028 (15.6 KiB) TX bytes:16028 (15.6 KiB)
ah ben eth1 a disparu
ifconfig eth1 up
pceau:/home/jim# ifconfig
eth1 Lien encap:Ethernet HWaddr 00:11:2F:74:D1:77
adr inet6: fe80::211:2fff:fe74:d177/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47303 errors:0 dropped:0 overruns:0 frame:0
TX packets:47072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:38630960 (36.8 MiB) TX bytes:6956155 (6.6 MiB)
Interruption:185 Adresse de base:0xc000
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:195 errors:0 dropped:0 overruns:0 frame:0
TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:16028 (15.6 KiB) TX bytes:16028 (15.6 KiB)
n’importe quoi plus d’ip ???..
interfaces :
This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
si qqun a la solution se serait cool