Le 19/09/2020 à 10:24, Lucio Crusca a écrit :
>
>
> Il 19/09/20 10:03, Fabien Roucaute ha scritto:
>> Le 19/09/2020 à 08:21, Lucio Crusca a écrit :
>>> Il 19/09/20 00:54, Dan Ritter ha scritto:
>>>> auto eno1
>>>> iface eno1 manual
>>>>
>>>> auto virbr10
>>>> iface virb10 inet static
>>>> bridge_ports eno1
>>>> bridge_stp off
>>>> address 2.4.6.8
>>>> netmask 255.255.255.224
>>>> gateway 2.4.6.1
>>>>
>>>> the bridge eats the eno1 interface.
>>>
>>> Using that configuration it actually brings up eno1 with the correct IP
>>> address, but I have no bridge at all:
>>>
>>> # ifconfig -a
>>> eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
>>> inet 2.4.6.8 netmask 255.255.255.224 broadcast 2.4.6.31
>>> [...]
>>>
>>> lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
>>> inet 127.0.0.1 netmask 255.0.0.0
>>> [...]
>>>
>>> # brctl show
>>> #
>>>
>>> I'm puzzled: how does it manage to work if there's no bridge at all?
>>>
>> eno1 still has an IP address, try to shut it down and up with 'ifdown
>> eno1;ifup eno1' and see if it still have an IP.
>>
>
> Sorry, I forgot to mention the situation above is what I get after reboot.
>
Yes, there some mistakes in your interface file:
delete the 'auto eno1' and add inet in the line beneath to get that
'iface eno1 inet manual'