Re: tap interface detached

[email protected]
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Le 17/07/2024 à 12:20, Michael van Elst a écrit :
> [email protected] (=?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?=) writes:
> 
>> But the tap interface is still detached:
> 
>>      # ifconfig tap0
>>      tap0: flags=0x8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
>> mtu 1500
>>              ec_capabilities=0x5<VLAN_MTU,JUMBO_MTU>
>>              ec_enabled=0x1<VLAN_MTU>
>>              description: "Xen VM tunnel"
>>              address: f2:0b:a4:fb:22:75
>>              status: no carrier
>                ^^^^^
> 
> The tap interface only gets you a carrier status when
> its device side /dev/tap* is opened. It's use as virtual
> ethernet is therefore limited.
> 
I used tap interface with Xen on NetBSD 9.0 and it worked. Should I 
understand that Xen opened /dev/tap*?

> You can use the vether interface instead.
> 
I now use vether on NetBSD 10.0 and it works fine. Thank you!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.