BUG: SMB Client Broken on /16 Subnet Mask

Discussion in 'General - Guides and FAQ' started by Monstieur, Sep 27, 2023.

  1. Monstieur

    Monstieur New Member

    TrueNAS SMB Server: 10.0.2.3/16
    Zidoo Z9X PRO: 10.0.1.100/16
    Default Gateway: 10.0.0.1

    All devices are on the same /16 subnet and can ping each other. However, the SMB client on the Zidoo box cannot discover the SMB server. The SMB client cannot connect even when adding the server manually by IP address.

    If I change the Zidoo box to 10.0.2.100/16 (so it's on the same imaginary /24 subnet as the server), the SMB client can successfully discover and connect to the SMB server.

    The same issue exists if I put the Zidoo box on a different routed VLAN 10.1.1.100/16 with default gateway 10.1.0.1. All VLANs can reach each other through their respective default gateway.

    It looks like there is a bug in the SMB client where it always assumes the subnet mask is /24. It cannot connect to an SMB server on a wider /16 subnet. It also cannot connect to an SMB server that is routed through the default gateway either. There is no issue connecting to the SMB server from any other device on the same /16 subnet or different routed VLAN.
     

Share This Page