configuration de route
Bilel Lajmi
lajmi.bilel at gmail.com
Mar 25 Aou 11:22:28 UTC 2009
Bonjour,
Dans le fichier /etc/network/interfaces tu ajoute ceci :
up route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.1.1
le fichier /etc/network/interfaces devient comme suit :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.254
### route to add ####
up route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.1.1
dns-nameservers 193.95.66.10
Cordialement.
Le 24 août 2009 22:22, Sofia KAMOUN <sofiakam at gmail.com> a écrit :
> Bonsoir,
>
> J'ai à configurer des routes avec la commande "route"
> mais lorsque je redemarre mon pc je trouve plus ces routes donc je dois à
> chaque fois réecrire les routes
> avez vous une idée comment je pourrai laisser mes routes permanentes
>
> Merci
>
> --
> ______________________________________________
> Soufia KAMOUN
> Élève Ingénieur en réseaux informatiques et télécommunications à
> l'I.N.S.A.T
> Membre au club SecuriNets (www.securinets.com)
>
> --
> Ubuntu-tn mailing list
> Ubuntu-tn at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-tn
>
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.ubuntu.com/archives/ubuntu-tn/attachments/20090825/f0037246/attachment.html>
Plus d'informations sur la liste de diffusion Ubuntu-tn