Strange behavior for VM with Static IP

kyeotic

Dabbler
Joined
Mar 2, 2023
Messages
15
I've got a VM setup using a bridged network adapter

1680233089935.png


The bridge has several IPs assigned to it. .10 is being used by TrueNAS for the UI, .12 is assigned to the VM

1680233063052.png



The router sees this correctly (note the MAC address from the VM)

1680233150966.png



The weird this is that this works... some of the time. I can ssh into the VM, I can curl from local to the VM, and I can curl from the VM to local. Until I reboot it, and then SSH hits TrueNAS (which produces fingerprints MITM warnings), and things stop working. I can't figure out what gets it working again, but after any reboot it happens again. The one hint I have is that the router warned me that two devices were using the same IP.

1680233369461.png


Only these two times though, and this was a few days ago. Its been through this cycle at least twice since then, and no more warnings. I have no idea whats going on here.
 

crownrai

Dabbler
Joined
Mar 12, 2023
Messages
11
You're running into IP conflicts between the Bridge and the VM. You don't need to assign your VM IP's to the bridge, just the single IP for TrueNAS. Remove all but 192.168.0.10/24 from the bridge to fix the problem.
 
Top