Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

TrueNAS-Fangtooth-RC VM NIC Limitation and MACVLAN Connectivity Problem

Description

  1.  

    1.  

      1. ENGLISH:

*Issue Report: TrueNAS-Fangtooth-RC VM NIC Limitation and MACVLAN Connectivity Problem*

  1.  

    1.  

      1.  

        1. 1. Reproduction Steps:
          1. *Create a Bridge `br0`*:

  • Configure a bridge named `br0` in TrueNAS network settings.
    2. *Create a New VM*:

  • Navigate to the *Instances* page and create a new virtual machine (VM).
    3. *Add Network Interfaces*:

  • *First NIC `eth0`*: Select *MACVLAN* mode, bound to bridge `br0`.

  • *Second NIC `eth1`*: Select *BRIDGED* mode, bound to bridge `br0`.

  • *Attempt to Add a Third NIC*: The system blocks this (e.g., `eth2`), showing an error or no response.
    4. *Start VM and Configure Networking*:

  • Assign IP addresses to `eth0` (MACVLAN) and `eth1` (bridged).

  • Ensure both interfaces can access external networks.
    5. *Test Connectivity*:

  • From the TrueNAS host, attempt to `ping` the IP address of `eth0`.

  • From other devices or VMs on the local network, attempt to `ping` the same IP.

  1.  

    1.  

      1.  

        1. 2. Expected Result:

  • The VM should allow adding more than two NICs (e.g., `eth0`, `eth1`, `eth2`, etc.).

  • The TrueNAS host should successfully `ping` the IP address of `eth0`.

  • Other devices/VMs on the local network should also be able to reach `eth0`.

  1.  

    1.  

      1.  

        1. 3. Actual Result:

  • *NIC Limitation*: Only two NICs (`eth0 (MACVLAN)` and `eth1 (BRIDGED)`) are allowed; additional NICs cannot be added.

  • *Connectivity Issues*:

  • The TrueNAS host *cannot* `ping` the VM's `eth0`, resulting in timeouts or no response.

  • Other devices/VMs on the local network *can* successfully `ping` the `eth0` IP address.

  1.  

    1.  

      1. 中文描述:

*问题反馈:TrueNAS-Fangtooth-RC 虚拟机网卡数量限制及 MACVLAN 网络连通性问题*

  1.  

    1.  

      1.  

        1. 1. 重现步骤:
          1. *创建网桥 `br0`*:

  • 在 TrueNAS 系统中,通过网络配置创建一个名为 `br0` 的网桥(Bridge)。
    2. *创建虚拟机实例*:

  • 进入 *Instances(实例)* 页面,创建一个新的虚拟机(VM)。
    3. *添加网卡*:

  • *第一个网卡 `eth0`*:选择 *MACVLAN* 模式,绑定到网桥 `br0`。

  • *第二个网卡 `eth1`*:选择 *BRIDGED* 模式,绑定到网桥 `br0`。

  • *尝试添加第三个网卡*:系统提示错误或无法添加(如 `eth2`)。
    4. *启动虚拟机并配置网络*:

  • 启动虚拟机后,配置 `eth0` 和 `eth1` 的 IP 地址。

  • 确保 `eth0`(MACVLAN)和 `eth1`(桥接)均可访问外部网络。
    5. *测试网络连通性*:

  • 在 TrueNAS 主机上,尝试 `ping` 虚拟机 `eth0` 的 IP 地址。

  • 在局域网内其他设备或另一台虚拟机中,尝试 `ping` 虚拟机 `eth0` 的 IP 地址。

  1.  

    1.  

      1.  

        1. 2. 预期结果:

  • 虚拟机应支持添加超过两个网卡(如 `eth0`、`eth1`、`eth2` 等)。

  • TrueNAS 主机应能通过 `ping` 成功连接到 `eth0` 的 IP 地址。

  • 局域网内其他设备和虚拟机均可正常访问 `eth0`。

  1.  

    1.  

      1.  

        1. 3. 实际结果:

  • *网卡数量限制*:系统仅允许添加两个网卡(`eth0 (MACVLAN)` 和 `eth1 (BRIDGED)`),无法添加更多。

  • *网络连通性问题*:

  • TrueNAS 主机 *无法* `ping` 通虚拟机的 `eth0` 网卡,提示超时或无响应。

  • 局域网内其他设备和另一台虚拟机 *可以* 正常 `ping` 通 `eth0` 的 IP 地址。

Session ID: 3b9edc6e-22aa-39bb-dde5-acfe4f4dd2da

Problem/Justification

None

Impact

None

Attachments

5
  • 03 Apr 2025, 08:22 AM
  • 03 Apr 2025, 08:22 AM
  • 03 Apr 2025, 08:22 AM
  • 03 Apr 2025, 08:22 AM
  • 03 Apr 2025, 08:22 AM

Activity

Show:

Bug Clerk2 days ago

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk2 days ago

This is not to be considered as a bug. For the MACVLAN to work correctly on that scenario it will need the TrueNAS itself to be part of a MACVLAN however TrueNAS does not support MACVLAN type of interfaces in the host yet.

Bonnie Follweiler2 days ago

Good Morning .

I have moved this ticket into our queue to review now.
An engineering representative will update with any further questions or details in the near future.

Linzi Moorelast week

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

曾铎荣last week

vm config page:

image-20250403-081616.png

ikuai lan config: eth0 (MACVLAN) 192.168.60.2/24

image-20250403-081646.png

TrueNAS shell ping 192.168.60.2

image-20250403-081731.png

other pc ping 192.168.60.2

image-20250403-081816.png

 

 

other vm ping 192.168.60.2

vm use eth0 (BRIDGED)

image-20250403-082144.png
Not Applicable

Details

Assignee

Reporter

Labels

Fix versions

Priority

More fields

Katalon Platform

Created last week
Updated 2 days ago
Resolved 2 days ago