You are not logged in.

#1 2017-07-23 14:16:33

mac.1
Member
Registered: 2017-07-23
Posts: 2

[SOLVED] Where to enable Network Bridge on Boot

I need to create a bridge for my virtual machine.
I get my IP adress from dhcpcd and execute a shell script before starting the VM.
However i would like to do this at boot time.
Ideally before my br0 gets an ip adress, because if it already has the ip adress assigned i have to restart the dhcpcd.service

My question: Is there a special file to set the iproute2 commands to create the bridge ?
Is using a systemd service the best method or is there another ?

Last edited by mac.1 (2017-07-23 18:08:16)

Offline

#2 2017-07-23 14:19:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Where to enable Network Bridge on Boot

Offline

#3 2017-07-23 18:07:43

mac.1
Member
Registered: 2017-07-23
Posts: 2

Re: [SOLVED] Where to enable Network Bridge on Boot

graysky wrote:

Thanks, that worked, topic can be closed

Offline

Board footer

Powered by FluxBB