Bonsoir,
Encore un probleme d’accès WEB
[code]server:/home/serveur# ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:19:66:63:36:8B
inet adr:192.168.1.2 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2277 (2.2 KiB) TX bytes:2309 (2.2 KiB)
Interruption:201 Adresse de base:0xb400
eth1 Lien encap:Ethernet HWaddr 00:E0:4C:00:61:81
inet adr:192.168.10.10 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2271 (2.2 KiB) TX bytes:2315 (2.2 KiB)
Interruption:193 Adresse de base:0x6c00
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:6160 (6.0 KiB) TX bytes:6160 (6.0 KiB)
[/code]
server:/home/serveur# [b]route -n[/b]
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
server:/home/serveur# [b]lspci | grep Ethernet[/b]
01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet ( rev 10)
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[code]
server:/home/serveur# vim /etc/network/interfaces
The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
dns-search srv_debian.org
iface eth1 inet static
address 192.168.10.10
netmask 255.255.255.0
auto e[/code]
Si je fais “ping google.fr” = Unknow host
Les autres pc du reseau sont pingé sans probleme.
[edit ] Message après un ifdown eth0 puis ifup eth0 =
Merci de votre aide !