Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd and "classic" networking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chrisk2305
n00b
n00b


Joined: 05 Sep 2007
Posts: 35

PostPosted: Sun Aug 18, 2013 3:53 pm    Post subject: systemd and "classic" networking Reply with quote

Hi,

Since I wanted Gnome 3.8 I went down the path and switched to systemd. I spent the last two days reading about systemd, but I am stuck with my network configuration. I used to have a quite complex /etc/conf.d/net config file (which is gone now by the way since updating the system).

Networkmanager is not the solution because I need bonding and bridging. Now I ask you guys for help. This is my needed network config (schematic).

eth0 + eth1 bonded (802.3ad) --> bond0
eth2 + eth3 bonded (802.3ad) --> bond1
eth4
eth5
bond0 bridged with eth4 + eth5 --> br0

Can you help me to get this configured using a system with systemd?

Thanks in advance!

Cheers, Christian
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1159

PostPosted: Sun Aug 18, 2013 11:42 pm    Post subject: Reply with quote

/etc/systemd/system/network.target
put there your network units. You could use simple oneshot type of units, where you call your old openrc net scripts.

There are examples googling systemd bridge:
http://www.oops.co.at/en/publications/kvm-setting-up-network-bridging-with-systemd-on-gentoo
http://www.gossamer-threads.com/lists/gentoo/user/267303?do=post_view_threaded
_________________
fun2gen2
Back to top
View user's profile Send private message
chrisk2305
n00b
n00b


Joined: 05 Sep 2007
Posts: 35

PostPosted: Mon Aug 19, 2013 8:46 pm    Post subject: Reply with quote

@ulenrich: Thanks for your reply!

I ended up using netctl for setting up my network. With that tool is it quite easy to setup multiple network profiles. Comes with bonding and bridging support!

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum