I broke the network trying incus containers, need help to fix

Hello there, i came here after trying, and i mean trying to fix it. have been at it for half a day already.

I sucessfully upgraded to fangtooth from EE latest version, and wanted to try making a container with the new feature.

I did not want to mess my current config so i made a different bridge to put the containers on.
Fast forward a few minutes, i get the container running, and it broke the entire lan of my house.

my setup :

1 NAS made on a server/workstation motherboard (has 2 ethernet nics)
1 orange provided router, with dhcp disabled
nas is wired via eth to the router, my laptop over wifi.

DHCP was handled by pihole running as an app on truenas, so it would distribute the truenas box ip for dns (that might have been a bad idea)

for now :

i re enabled dhcp on my router, so i can have the rest of lan working, with a functioning dns.

my truenas box pings the router (plugged screen + keyb)

from my laptop, can’t load web interface or ping truenas.

I changed interfaces to try dhcp, it works, truenas get a new ip (from manually set 192.168.1.2 to dhcp given 192.168.1.221)

i tried rebooting the NAS and the box.

From truenas CLI :

  • i can’t delete br1, it says it’s used by virt
  • i sucessfully deleted the container, but same error message when i want to delete

i am quite at a loss of things to try, any idea on how to fix this ?

Hi.

Post the output of ip a command.

Hello, here is the ip a :

https:// share.icloud .com/photos/0faB9YAehFROSJZqSV9YAaL2w

I could not upload the image in my reply, says i can’t embed file in a post.

I did not include the rest of the app veth, as the should not be relevent, and I can’t display everything on one image.

Thanks for your help !

You have 2 NICs with the IP from the same subnet – enp8s0 and eno1. It is not recommended. And IP should be assigned to the bridge itself (br1), not to the bridged NIC (eno1).

Did you connect your NAS to the router with two cables?

Also, what did you try to accomplish and why?

For the two nics, it “is” normal. I disconnected the cable to the eno1 that i was using primarly, and then activated dhcp for the enp8s0 to try to get it working.
I will try to get back to a simple setup and see if the web interface get available again.

Should i remove the config on the nics, and put the ip or enable dhcp on the bridge itself ?

What is normal?

I personally prefer static IPs. But again, what exactly are you trying to accomplish (by using two NICs)?

I wanted to disable the eno1 interface, and try with enp8s0 that should not have been on the bridge to see if i could get back the gui that way.

i’ll set another static ip on the bridge, and remove those on the nics. i’ll let you know the result.

Hello, i managed to fix it, by effectively plugging one cable, removing every ip on the nics, and leaving only an ip on the bridge.

Now the network is coming through eno1 on the br1 bridge.

i should have sticked to the basics for debugging, and going with a much simpler base config.

Thanks again for your help !