Deutsch   English   Français   Italiano  
<sualkt$ck8$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.os.linux.configuration
Subject: Re: IP et ethernet (sont dans un bateau)
Date: Sun, 13 Feb 2022 10:13:49 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <sualkt$ck8$1@shakotay.alphanet.ch>
References: <su63j4$cjv$1@shakotay.alphanet.ch> <su65f5$5r5$1@shakotay.alphanet.ch> <su91vo$cjv$2@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Feb 2022 10:13:49 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1";
	logging-data="12936"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64))
Cancel-Lock: sha256:fnmEKkx7T/EMRDNQOUREppl/x3PgAdnd1UE0FSQ1zEA=
Bytes: 3321
Lines: 44

Jo Engo <yl@icite.fr> wrote:
> Ah, pas de réponse, j'ai une idée:
> N'est-ce pas parce que je n'ai pas de MV qui tourne que l'interface n'a 
> pas de "CARRIER"?

Le CARRIER c'est la porteuse, autrement dit sur une vraie interface
réseau c'est la présence d'un signal.  Donc je suppose que ton
interprétation est correcte, l'interface logicielle doit utiliser le
CARRIER pour autre chose (présence d'une VM à l'autre bout ou non).

Par contre, sur mes machines je ne trouve pas de CARRIER (mais je n'ai
pas non plus de VirtualBox lancé), j'ai plutôt ça (avec ip link show),
soit UP,LOWER_UP et state UP; je n'ai laissé que les cas différents
car il y a plein d'interfaces sur cette machine:

root@virtual:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 94:de:80:b0:41:f7 brd ff:ff:ff:ff:ff:ff
3: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether a8:5e:45:64:67:9e brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether fe:22:1d:8f:8d:96 brd ff:ff:ff:ff:ff:ff
7: enp5s0.400@enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether a8:5e:45:64:67:9e brd ff:ff:ff:ff:ff:ff
14: veth104@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UP mode DEFAULT group default qlen 1000
    link/ether fe:c6:bf:94:3d:25 brd ff:ff:ff:ff:ff:ff link-netnsid 0
29: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
    link/ether 3a:24:7c:d3:1f:cd brd ff:ff:ff:ff:ff:ff
30: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
    link/none 

1 c'est loopback

2 et 3 sont du vrai matériel, mais 2 n'est pas branché.

4 est un bridge logiciel

7 est un VLAN

14 est une interface virtuelle vers un conteneur lxc

29 est un VPN couche 2
30 est un VPN couche 3