Re: add route
Salut
Le Mardi 29 Octobre 2002 17:26, Georges Mariano a écrit :
> Debian User <nb@dagami.org> wrote:
> > Bonsoir,
> >
> > /etc/init.d/networking --> ifup --> ifconfig
> > --> route
> >
> > en se basant sur /etc/network/interfaces
>
> merci ;-)
>
> Mais je décrypte comment ??
Sous Debian la configuration du réseau est géré par
/etc/network/interfaces.
Voici celui d'un client de mon club info :
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.15
Tout ça me semble assez explicite. Pour ton problème, je pense que la
ligne "gateway" est mal (ou pas) renseignée.
Pour plus d'informations, man interfaces.
@+
--
Utilisateurs de Linux, enregistrez-vous :
http://counter.li.org
Reply to: