Git Product home page Git Product logo

Comments (3)

alex3kov avatar alex3kov commented on June 18, 2024

My use case for this: host-only networking for VMs. Bridge needs to start empty (no enslaved interfaces) at boot, then later the hypervisor adds tap* devices to it.
Creating empty bridge works just fine in NetworkManager, but not in netctl:

~: cat /etc/netctl/bridgevm 
Description="Bridge for virtual machines"
Interface=bridgevm
Connection=bridge
BindsToInterfaces=()
IP=static
Address='10.152.152.1/18'
Gateway='10.152.152.1/18'
~: netctl start bridgevm 
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
~: systemctl status [email protected][email protected] - Networking for netctl profile bridgevm
   Loaded: loaded (/usr/lib/systemd/system/[email protected]; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-08-12 11:26:50 MSK; 5s ago
     Docs: man:netctl.profile(5)
  Process: 2306 ExecStart=/usr/lib/netctl/network start bridgevm (code=exited, status=1/FAILURE)
 Main PID: 2306 (code=exited, status=1/FAILURE)

Aug 12 11:26:50 arch systemd[1]: Starting Networking for netctl profile bridgevm...
Aug 12 11:26:50 arch network[2306]: Starting network profile 'bridgevm'...
Aug 12 11:26:50 arch network[2306]: Interface 'bridgevm' does not exist
Aug 12 11:26:50 arch network[2306]: Failed to bring the network up for profile 'bridgevm'
Aug 12 11:26:50 arch systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Aug 12 11:26:50 arch systemd[1]: [email protected]: Failed with result 'exit-code'.
Aug 12 11:26:50 arch systemd[1]: Failed to start Networking for netctl profile bridgevm.

from netctl.

joukewitteveen avatar joukewitteveen commented on June 18, 2024

Your status messages include Interface 'bridgevm' does not exist. This message can only appear when the Connection= type is ethernet. Are you sure you are starting the profile you think you are?

from netctl.

alex3kov avatar alex3kov commented on June 18, 2024

Your status messages include Interface 'bridgevm' does not exist. This message can only appear when the Connection= type is ethernet

Indeed, I had a second Connection= line in the config by accident, which I guess overrode the first one. Problem at 8th network level :)
Creating empty bridge works fine for me.

from netctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.