Announcement

Collapse
No announcement yet.

New added br0 interface will stuck if no IP address given

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    New added br0 interface will stuck if no IP address given

    Hello,

    I am trying lot of hours activate network bridge which will has the same IP range as in host machine.

    If I add IP address to the bridge then all works.
    If I add no IP and I am waiting that IP will be obtained from DHCP server, then bridge will stuck in everloop (rorating icon loading in UI) and is trying to connect. propabbly is trying to obtain IP but never get them.

    I played also with NetPlan YAML files configuration files and I tried all the scenarios and no success. The bridge without specified IP address will never works.

    Is here somebody who faced with the same?

    It is laptop I don't want to change renderer from NetworkManager to networkd.

    If will be here somebody who can try to add new network bridge and tell me if it is bug or only my issue, it would be perfect.

    Thanks

    #2
    Why don't you post your netplan file contents?

    Code:
    # Let NetworkManager manage all devices on this system
    network:
      version: 2
      renderer: NetworkManager
      ethernets:
        enp0s3:
          dhcp4: no
    
      bridges:
        br0:
          dhcp4: yes
          interfaces:
            - enp0s3​

    Please Read Me

    Comment


      #3
      Hi,

      i selected different way to hit the goal.


      I needed communicate with the VM from Host and the way was create new NAT Virtual Network with the Network Bridge. Because I checked that the NAT Virtual Network created by KVM/QEMU UI program is routing and I have no problem to route among all the networks as I need.

      The Code you shared I tested x times today. unfortunately the simple solution not work. I spend all today with this and my mentioned way looks works.

      For information I can share my yaml files.

      This is the physical wired interface
      Code:
       GNU nano 7.2                         /etc/netplan/90-NM-8ea5a964-a5e7-31f4-b36f-c1fa74d928a2.yaml                                  
      network:
       version: 2
       ethernets:
         NM-8ea5a964-a5e7-31f4-b36f-c1fa74d928a2:
           renderer: NetworkManager
           match: {}
           dhcp4: true
           dhcp6: true
           ipv6-address-generation: "stable-privacy"
           wakeonlan: true
           networkmanager:
             uuid: "8ea5a964-a5e7-31f4-b36f-c1fa74d928a2"
             name: "Ethernet Dock G5"
             passthrough:
               connection.autoconnect-priority: "-100"
               ethernet._: ""
               ipv6.ip6-privacy: "-1"
               proxy._: ""
      ​
      Next yaml files are my WiFi and OpenVPN interface.

      Code:
      networkctl
      systemd-networkd is not running, output might be incomplete.
      IDX LINK            TYPE     OPERATIONAL SETUP    
       1 lo              loopback -           unmanaged
       2 enxd0ad08825f4f ether    -           unmanaged
       3 wlp1s0          wlan     -           unmanaged
       4 docker0         bridge   -           unmanaged
      16 virbr0          bridge   -           unmanaged
      17 vnet7           ether    -           unmanaged
      
      ​
      Interfaces

      16 virbr0 bridge - unmanaged
      17 vnet7 ether - unmanaged

      was created automaticaly by KVM/QEMU UI.


      Thank you

      Comment


        #4
        I guess it is very important to try the simpliest form of netplan config so I did try.

        I modified configuration as expected for create bridge.

        Code:
         GNU nano 7.2                       /etc/netplan/90-NM-8ea5a964-a5e7-31f4-b36f-c1fa74d928a2.yaml                                
        # Let NetworkManager manage all devices on this system
        network:
         version: 2
         renderer: NetworkManager
         ethernets:
           NM-8ea5a964-a5e7-31f4-b36f-c1fa74d928a2:
             dhcp4: no
        
         bridges:
           br1:
             dhcp4: yes
             interfaces:
               - NM-8ea5a964-a5e7-31f4-b36f-c1fa74d928a2
        
        ​
        And the result is still error. After modified yaml and apply eplan changes network adapter keep in attempts to initialise netplan-br1 interface. The radial progress bar still rorating.

        Comment

        Working...
        X