Comments (3)
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.
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.
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)
- Ask for password on network connect HOT 3
- [email protected] is not started after interface is inserted HOT 9
- Reduce/remove waiting time for pluggable WiFi devices on startup HOT 9
- netctl-ifplugd Unable to get ip address HOT 3
- [Feature request] Auto retry wifi connection HOT 5
- Add option for accept_ra value HOT 6
- Support stable private IPv6 addresses HOT 4
- Allow regular user to `netctl switch-to <profile>` HOT 2
- [Feature request] Blacklist access points. HOT 10
- NO SSID environment variable HOT 6
- Only one hook works at a time HOT 3
- netctl wanted by multi-user.target, slowing down boot HOT 4
- netctl-auto list_netctl_auto_interfaces() function bug HOT 1
- Add a command for WPS Push Button HOT 4
- How to configure pppoe with macvlan interface? HOT 7
- Check config file when restart command HOT 5
- When an issue occurs in the ISP, the systemd service of pppoe will fail. HOT 10
- Hook not executed for netctl-auto HOT 8
- Error while executing the script via ExecUpPost HOT 1
- No way to leave resolv.conf alone with DHCP profile (?) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netctl.