** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2004470
Title:
macvlan network mode setting probably broken
Status in linux package in Ubuntu:
Confirmed
Bug description:
Hi,
using Ubuntu 22.04, Kernel 5.15.0-58-generic, LXD 5.10-b392610,
iproute2 5.15.0-1ubuntu2
I ran into the problem that a virtual LXD container with an macvlan network
interface mapped to the hosts ethernet adapter works as expected with all other
machines in the LAN, including getting an IP address assigned by the DHCP
server. But it cannot be reached from the HOST machine itself.
My first guess was that LXD does not set the macvlan into bridge mode, but
leaves it in the default private mode, which would explain the problem. But
LXD's source code showed that it sets the mode to bridge and uses iproute2's
ip program to set the interface.
I therefore tried commands like
ip link add name blubb address 02:4e:a6:27:01:07 link enp4s0 type
macvlan mode bridge
ip link add link enp4s0 name sugar type macvlan mode bridge
which succeed without error message. But ip link show reports
9: blubb@enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 02:4e:a6:27:01:07 brd ff:ff:ff:ff:ff:ff
10: sugar@enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 26:99:d1:52:ba:e0 brd ff:ff:ff:ff:ff:ff
in both cases "mode DEFAULT", where I would expect „bridge“. Same with
the interface assigned to the LXD virtual container.
Shouldn't this show the mode used in the ip link add command instead of
DEFAULT?
- I reported the problem to the iproute2 maintainer, but he told me to report
to [email protected]
- on [email protected] I did not get a response
- Kernel.org bugzilla tells to report problems not to kernel.org, but
to the distributions bug system
regards
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-58-generic 5.15.0-58.64
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
Uname: Linux 5.15.0-58-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: hadmut 3252 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Wed Feb 1 11:57:58 2023
InstallationDate: Installed on 2020-06-12 (963 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Medion G24
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic
root=UUID=e1e9c4ee-42ab-4be4-9160-7d4d0e23f95c ro quiet
cryptdevice=UUID=66118fb4-e7e6-4516-872a-67d93f44b554:luks-66118fb4-e7e6-4516-872a-67d93f44b554
root=/dev/mapper/luks-66118fb4-e7e6-4516-872a-67d93f44b554
resume=/dev/mapper/luks-66118fb4-e7e6-4516-872a-67d93f44b554 splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-5.15.0-58-generic N/A
linux-backports-modules-5.15.0-58-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu3.9
RfKill:
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-05-28 (248 days ago)
dmi.bios.date: 10/12/2012
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: H61TIW08.111
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H61H2-TI2
dmi.board.vendor: Medion
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Medion
dmi.chassis.version: 1.0
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvrH61TIW08.111:bd10/12/2012:br4.6:svnMedion:pnG24:pvr1.0:rvnMedion:rnH61H2-TI2:rvr1.0:cvnMedion:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: G24
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: Medion
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2004470/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp