Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[Réseau] Interface dummy0

1 réponse
Avatar
Jeremy MAURO
Bonjour,


Je suis la recherche d'information concernant l'interface dummy. En
effet, je vois quelque tutoriaux avec l’implémentation d'un bridge
utilisant l'interface dummy0:
Ex:

auto br0
iface br0 inet static
bridge_ports dummy0
bridge_stp off
bridge_fd 0
bridge_maxwait 5
address 192.168.0.1
netmask 255.255.255.0
pre-up /sbin/modprobe dummy



Donc j'aurai voulu savoir a quoi cela correspond et quelles sont les
caractéristiques de cette interface et surtout il y-a-t-il une
différence avec une alias lo?

Merci



--
Cordialement,
Jeremy MAURO

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: http://lists.debian.org/4DC400E6.1050901@antidot.net

1 réponse

Avatar
Bruno Muller
--=-QDG2TWZJzVzQaBmjiKdc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

Le vendredi 06 mai 2011 à 16:08 +0200, Jeremy MAURO a écrit :
Donc j'aurai voulu savoir a quoi cela correspond et quelles sont les
caractéristiques de cette interface et surtout il y-a-t-il une
différence avec une alias lo?



linux-2.6/drivers/net/dummy.c :

/* dummy.c: a dummy net driver

The purpose of this driver is to provide a device to point a
route through, but not to actually transmit packets.

Why? If you have a machine whose only connection is an occasional
PPP/SLIP/PLIP link, you can only connect to your own hostname
when the link is up. Otherwise you have to use localhost.
This isn't very consistent.

One solution is to set up a dummy link using PPP/SLIP/PLIP,
but this seems (to me) too much overhead for too little gain.
This driver provides a small alternative. Thus you can do

[when not running slip]
ifconfig dummy slip.addr.ess.here up
[to go to slip]
ifconfig dummy down
dip whatever

This was written by looking at Donald Becker's skeleton driver
and the loopback driver. I then threw away anything that didn't
apply! Thanks to Alan Cox for the key clue on what to do with
misguided packets.

Nick Holloway, 27th May 1994
[I tweaked this explanation a little but that's all]
Alan Cox, 30th May 1994
*/

Et peut-être un peu plus clair, la section 5.7.7. de
http://www.iitk.ac.in/LDP/LDP/nag2/x-087-2-iface.interface.html

Bruno
--
DENTIER
P : T'as vu, c'est affreux ! Les pauvres bénéficient de la gratui té des
soins ! Ils vont pouvoir se payer des dents ! Et te piquer ton os...

--=-QDG2TWZJzVzQaBmjiKdc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEUEABECAAYFAk3ECrIACgkQuJD2bkb8m5vUpwCgk5fmzW6Iup6ntWzPf2vyCR/k
NdMAmPwxxpQAJ8ZgUSo7QFdDW2bEIj4 =oO8f
-----END PGP SIGNATURE-----

--=-QDG2TWZJzVzQaBmjiKdc--

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: http://lists.debian.org/