adamant-kite-43734
11/13/2024, 11:54 AMsalmon-city-57654
11/13/2024, 4:46 PMpowerful-easter-15334
11/13/2024, 4:49 PMpowerful-easter-15334
11/13/2024, 4:51 PMsalmon-city-57654
11/13/2024, 4:56 PMI don’t need to create another cluster network for the second vlan in order to use it?Yeah, I think so. I am not sure about how to avoid the DHCP in your case. cc @red-king-19196, @faint-art-23779 did you have any thoughts?
powerful-easter-15334
11/13/2024, 5:52 PMred-king-19196
11/14/2024, 1:50 AMpowerful-easter-15334
11/14/2024, 3:05 AMpowerful-easter-15334
11/14/2024, 5:05 AMpowerful-easter-15334
11/14/2024, 5:17 AMip address/route add
Flushing eno4, then applying the same to trunk-br lets the server ping the gateway again. Though state is still unknown.
The VM and host can both ping the gateway, though they can't ping each other, and the ethernet symbol in the VM is grayed out with a ? on toppowerful-easter-15334
11/14/2024, 5:18 AMpowerful-easter-15334
11/14/2024, 7:34 AMpowerful-easter-15334
11/14/2024, 7:34 AMred-king-19196
11/14/2024, 7:44 AMNow I have a VM running which got an IP from the DHCP server (even though I set it to manual, but whatever, doesn’t matter)If I understand correctly, you’re saying you created a VM Network with the
manual
route mode selected. This, by design, has nothing to do with the external DHCP server. Harvester is incapable of managing the DHCP server running outside of the cluster. The manual
here is just a way for the user to provide the route information about the to-be-created VM Network. So IMO it’s expected that the VM still gets the IP address from the DHCP server.
From the output of the ip link
command provided above, it looks like all the network interfaces and devices were created correctly.
It seems you’re performing manual configurations against the network that the Harvester network controller should manage. Would you please describe what you want to achieve? I’d like to know about it and see how we can help, at least with the existing capability of the Harvester network controller without any manual configs.red-king-19196
11/14/2024, 7:50 AMdefault
namespace? I don’t see anything in the support bundle.red-king-19196
11/14/2024, 7:51 AMpowerful-easter-15334
11/14/2024, 7:54 AMred-king-19196
11/14/2024, 8:04 AMtrunk
ClusterNetwork and associated VlanConfig objects (equivalent to the “Network Config” on the dashboard), behind the scenes, the Harvester network controller will set the uplink interface’s master to trunk-bo
and attach it to the trunk-br
. You don’t have to manually create and configure them. Do you mean the above did not happen?powerful-easter-15334
11/14/2024, 8:08 AMred-king-19196
11/14/2024, 8:17 AMmgmt-br
, bridges created by the Harvester network controller won’t have any IP addresses assigned. This is by design and is expected. Harvester constructs L2 networks that span all nodes so that VMs can run on top of them. If you want to let the VMs on a specific VM Network communicate freely with the management network, you’ll have to make these two networks “routable” in your network infrastructure, and this is out of Harvester’s control. For instance, when the VM wants to communicate with the Harvester VIP, the traffic should be sent from the VM, through the L2 VM Network, and routed by the gateway, to the management network. We architected the cluster network like this, so there’s no need to bind IP addresses on bridges other than mgmt-br
.red-king-19196
11/14/2024, 8:19 AMpowerful-easter-15334
11/14/2024, 8:24 AMpowerful-easter-15334
11/14/2024, 8:25 AMred-king-19196
11/14/2024, 8:29 AMred-king-19196
11/14/2024, 8:31 AMeno4
, trunk-bo
, and trunk-br
are all UP,LOWER_UP
. Do you experience any network connectivity issues with the VM attached to the relevant VM Network?red-king-19196
11/14/2024, 8:32 AMUNKNOWN
state. It’s not relevant. We don’t bind IP addresses on the bridge interface. We use it in a pure L2 way.powerful-easter-15334
11/14/2024, 8:53 AMred-king-19196
11/14/2024, 8:58 AMpowerful-easter-15334
11/14/2024, 9:14 AMpowerful-easter-15334
11/14/2024, 10:01 AMpowerful-easter-15334
11/14/2024, 10:01 AMpowerful-easter-15334
11/14/2024, 10:02 AMpowerful-easter-15334
11/14/2024, 10:23 AMred-king-19196
11/15/2024, 4:56 AMinactive
, which is the culprit for the communication issue between the VM and the host. The VM Network must be routeable from the management network via the gateway. Is the gateway outside the Harvester cluster? Or is it another VM running on the Harvester cluster?
Regarding the VLAN, is it a tagged (trunk mode) or untagged (access mode) VLAN on the switch side? If it’s the latter one, no matter what the VLAN ID is in your physical network, you’ll need to create the VM Network with VLAN ID 1 (or choose the “Untagged Network” type).red-king-19196
11/15/2024, 4:57 AMred-king-19196
11/15/2024, 4:58 AMpowerful-easter-15334
11/15/2024, 5:43 AMred-king-19196
11/15/2024, 6:34 AMAnd finally, it should be fine to just have that VM network, and not have the mgmt network at all?If you’re not planning to use the Rancher Integration and load balancer features, then yes, you can totally ignore the route connectivity issue.
powerful-easter-15334
11/18/2024, 7:14 AM