Sous RedHat 7.2
J'ai 2 interfaces (sur la meme machine) eth0 et eth1
eth0 ne peut pas pinger eth1 (10.0.0.11)
eth1 ne peut pas pinger eth0 (10.0.0.10)
/proc/sys/net/ipv4/ip_forward est à 1
Ci-dessous la copie d'un ifconfig
[root@localhost networking]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:DA:40:D8:7F
inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:710 errors:0 dropped:0 overruns:1 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:48160 (47.0 Kb) TX bytes:3308 (3.2 Kb)
Interrupt:11 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:40:95:30:6F:77
inet addr:10.0.0.11 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5363 errors:0 dropped:0 overruns:0 frame:0
TX packets:3329 errors:0 dropped:0 overruns:5 carrier:0
collisions:0 txqueuelen:100
RX bytes:372483 (363.7 Kb) TX bytes:343002 (334.9 Kb)
Interrupt:10 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9024 (8.8 Kb) TX bytes:9024 (8.8 Kb) |
la copie d'un tcpdump , capture de Eth0, lors d'un ping eth1 -> eth0
[root@localhost root]# tcpdump -i eth0 > /home/raph/capture
tcpdump: listening on eth0
9 packets received by filter
0 packets dropped by kernel
[root@localhost root]# more /home/raph/capture
18:13:16.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:17.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:18.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:19.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:20.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:21.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:22.017306 10.0.0.20 > 239.255.255.250: igmp v2 report 239.255.255.250 [ttl
1]
18:13:22.767306 arp who-has 10.0.0.10 tell 10.0.0.11
18:13:23.767306 arp who-has 10.0.0.10 tell 10.0.0.11 |
ma table de routage :
[root@localhost networking]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.0.0.11 0.0.0.0 UG 0 0 0 eth1 |
si vous savez ou se trouve le probleme, ca m'arrangerais...
Merci d'avance 
Message édité par the mystical le 06-05-2003 à 18:31:03
---------------
It's hard to say it, I hate to say it, but it's probably me...