[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [HS] connecter deux réseaux via une passerelle



Ainsi parla François Boisson le 042ème jour de l'an 2004:

> > > netstat -nr
> > 
> > Passerelle: 
> > 
> > Kernel IP routing table
> > Destination     Gateway  Genmask         Flags   MSS Window  irtt
> > Iface 213.103.224.1   0.0.0.0  255.255.255.255 UH        0 0        
> > 0  ppp0 192.168.1.0     0.0.0.0  255.255.255.0   U         0 0      
> >   0  eth0
> > 192.168.0.0     0.0.0.0  255.255.255.0   U         0 0         0 
> > eth1 213.103.224.1   0.0.0.0  0.0.0.0	 UG        0 0         0  ppp0
> > 
> 
> 
> Outre l'erreur signalé par Erwan, il faudrait une ligne
> 0.0.0.0 213.103.224.1   255.255.255.255	 UG        0 0         0  ppp0
> 
> soit
> 
> # add default gateway 213.103.224.1
> sur la passerelle.

Hem, cette entrée aussi était mal écrite :(

Destination     Gateway  Genmask         Flags   MSS Window  irtt Iface
213.103.224.1   0.0.0.0       255.255.255.255 UH        0 0   0   ppp0
192.168.1.0     0.0.0.0       255.255.255.0   U         0 0   0   eth0
192.168.0.0     0.0.0.0       255.255.255.0   U         0 0   0   eth1
0.0.0.0         213.103.224.1 0.0.0.0         UG        0 0   0   ppp0

Pfff, c'est la dernière fois que je reformate à la main les lignes de
netstat.

> A mon avis, il manque l'option defaultroute dans les options ppp. (je
> fais le pari)

Perdu ;)

Pour repositionner le débat: je n'ai aucun pb d'accès à internet depuis
R1 ou R2. Mon seul pb est que je peux faire R1->internet, R2->internet,
R1<->passerelle, R2<->passerelle, mais pas R1<->R2.

-- 
  .,p**"*=b_   Nicolas Rueff
 ?P"  .__ `*b   Montbéliard  -  France
|P  .d?'`&, 9|   http://rueff.tuxfamily.org
M:  |}   |- H'   n.rueff@free.fr
&|  `#?_._oH'   +33 6 77 64 44 80
`H.   "`"`'   JB rueff@jabber.org 
 `#?.	    GPG 0xDD44DAB4 
   `^~.

We are Penguin. Resistance is futile. You will be assimilated.

Attachment: pgpC9JixxmRtz.pgp
Description: PGP signature


Reply to: