Hello,
Even if the same network segment and VLAN are in the same VLAN, you need to configure a route to 10.1.0.1 on the next Layer 3 device when the trunk VLANIF interface is interconnected. In this way, the two devices can communicate with each other.
Hope to help you!