Bonjour,

Bon voici mes essais (c'est long)
Je stoppe  mon firewall oeuf corse.

Apr�s un (j'emploie ip de temps en temps pour m'y habituer  car j'ai
lu que �a remplace ifconfig et route): 

,----
| serveur:~# ip addr add 10.0.0.1/8 brd + dev eth0
`----

j'obtiens donc :

,----
| eth0      Link encap:Ethernet  HWaddr 00:00:B4:59:96:43  
|           inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
|           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
|           RX packets:18742 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:13908 errors:0 dropped:0 overruns:0 carrier:0
|           collisions:0 txqueuelen:100 
|           RX bytes:4734576 (4.5 MiB)  TX bytes:1588462 (1.5 MiB)
|           Interrupt:11 Base address:0x7800 
`----

donc normal (enfin je pense) mais :

,----
| serveur:~# ping 10.0.0.138
| PING 10.0.0.138 (10.0.0.138): 56 data bytes
| ping: sendto: Operation not permitted     <--------- quesako ??
| ping: wrote 10.0.0.138 64 chars, ret=-1
| ping: sendto: Operation not permitted
| ....
| --- 10.0.0.138 ping statistics ---
| 10 packets transmitted, 0 packets received, 100% packet loss
`----

donc marche pas.
J'essaie maintenant le coup des modules :

,----
| serveur:~# /etc/init.d/ppp stop
| Shutting down PPP link: pppd.
| 
| serveur:~# lsmod | grep ppp
| ppp_deflate            39008   0  (autoclean)
| ppp_synctty             4512   1  (autoclean)
| ppp_generic            18120   3  (autoclean) [ppp_deflate bsd_comp 
ppp_synctty]
| serveur:~# rmmod ppp_deflate
| serveur:~# rmmod ppp_synctty
| serveur:~# rmmod bsd_comp
| serveur:~# rmmod ppp_generic
`----

tite v�rification :
serveur:~# lsmod | grep ppp ----> rien bon...
MAIS :

,----
| serveur:~# ping 10.0.0.138
| PING 10.0.0.138 (10.0.0.138): 56 data bytes
| ping: sendto: Operation not permitted
| ping: wrote 10.0.0.138 64 chars, ret=-1
| ...
| --- 10.0.0.138 ping statistics ---
| 3 packets transmitted, 0 packets received, 100% packet loss
`----

Bon maintenant Y EN A MARRE : je laisse les modules d�charg�s et
j'essaie d'ajouter une route :

,----
| serveur:~# route add -net 10.0.0.0 netmask 255.0.0.0  dev eth0
| serveur:~# 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 eth0
`----

mais

,----
| serveur:~# ping 10.0.0.138
| PING 10.0.0.138 (10.0.0.138): 56 data bytes
| ping: sendto: Operation not permitted
| ping: wrote 10.0.0.138 64 chars, ret=-1
| ...
| --- 10.0.0.138 ping statistics ---
| 3 packets transmitted, 0 packets received, 100% packet loss
`----

MAAAAAAAAARRRRRRCCCCCCCCCCHHHHHHEEEEEEE pas
Ne nous �nervons pas. Une petite gateway pour finir ?

,----
| serveur:~# route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.138 dev eth0
| serveur:~# route
| Kernel IP routing table
| Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
| 10.0.0.0        10.0.0.138      255.0.0.0       UG    0      0        0 eth0
| 10.0.0.0        *               255.0.0.0       U     0      0        0 eth0
`----

mais

,----
| serveur:~# ping 10.0.0.138
| PING 10.0.0.138 (10.0.0.138): 56 data bytes
| ping: sendto: Operation not permitted
| ping: wrote 10.0.0.138 64 chars, ret=-1
| ...
| --- 10.0.0.138 ping statistics ---
| 2 packets transmitted, 0 packets received, 100% packet loss
`----

Marche pas non plus. L'affaire se corse. 
Je ne vois plus quoi faire (commence bien ma journ�e l�...)

--
Philippe Monroux
Ile de la Reunion 
E 55.3 S 21.5

Répondre à