Another network bridge question

I am trying to setup a network bridge for the first time to start using vm machines on my trunas mini. I am getting stuck in the test phase and never see a save option. I watched the video on the thread help configuring a network bridge and a little confused. My setup if very basic just as a a data server till now.

I have one interface cx0 with an ip ending .248. I was adding a bridge bridge0 and then setting cx0 as a member and that .248 ip as the bridge ip. The test runs and reconnects to the server with no changes saved. Based on the video in the above link am thinking maybe I need to use a new for the bridge?
I am on truenas 13 on a truenas mini 3 xl

thank you.

Welcome! This is easier to accomplish from the console menu. If you have a keyboard and monitor connected to your Mini 3XL, or if you’ve connected the IPMI, you’ll be able to access the console menu and perform the bridge creation and move of the IP from cx0 to bridge0.

Just to make sure, did you remove ip from the cx0 before saving changes?

I turned off dhcp and thought I need to test a static ip. If I remove the ip how would I access it. I understand the bridge will get the ip address but I can’t get to the bridge part till this cx0 changes are saved. I have console access also.

Just perform all the changes from the console.

Actually, you can set the bridge to dhcp. However, it will probably get another ip (not the same as the interface had), and 60 seconds can be not enough to find it out and access it.

When you add an interface to a bridge, this interface must not have any ip address (or dhcp).

Don’t quote me on this (because in fact things are a bit more comlicated), but you can consider that the bridge is just a dumb switch to which your host (truenas) is connected. And members of this bridge are physical ports of this very switch. Ports on dumb switch don’t have ip addresses. And defined ip address on the bridge is actually an address of virtual port via which your host is connected to this virtual dumb switch. Hope this helps.

graph TB

    subgraph bridge [bridge0 ]
        direction TB
        
        subgraph VirtPort [virtual port]
            direction LR
        end
        subgraph VirtPort2 [virtual port]
            direction LR
        end
        subgraph PhysicalPort [cx0]
            direction LR
        end
    end

  
    subgraph VM [VM]
        direction TB
        
        subgraph VmPort [virtual port with IP]
            direction LR
        end
    end
    
   subgraph Truenas [Truenas host]
        direction TB
        
        subgraph Port [virtual port with IP]
            direction LR
        end
    end    

    Port --- VirtPort
    VmPort --- VirtPort2
    PhysicalPort --- Router[(Your router)]

Also, as Samuel already said, you can mitigate short changes timeout by using console.

thanks for the help, I got it to work, removing ip on cxl0 and then adding bridge before testing worked easily. For some reason I thought I had to test new ip before committing it on the bridge.