robbat2: (Default)
[personal profile] robbat2

I've been prodding at the concept of the new network script in OpenRC-0.5, and I'm at a loss to try and see why Roy has decided to toss the old network config system away. The new system doesn't have a lot of capabilities, and most significantly totally loses the ability to restart a single interface without affecting the rest of the system. If it's just for a rewrite, then I'm not too worried, but unless all the functionality is still there, I'm worried we are going to move backwards with it.

At the same time, I don't think many people are aware of how powerful the "old" network configuration mechanism is. The net.examples file is only the start, once you start mixing in the pre/post calls, there's a lot of power. It's capable of some feats that I don't see used even in certain parts of the Gentoo documentation[1]. I've put together some of my gems of conf.d/net, and if you have some, I'd love to hear them. Leave a comment or email me the scripts, along with a description.

Configurations available
  • Easy to maintain (Hurricane Electric) IPv6 tunnels - Download
  • Running two ISPs at home (basic multi-homing) - Download
  • "Enterprise" multi-homing setup, with 4 paths to the Internet - Download

I've also started a bit of storage in my Gentoo webspace for these collected works of network configuration, with a bit more documentation.

  1. The Gentoo docs have this for IPv6: Gentoo IPv6 Router Guide, Tunnel Configuration. You could bring it up manually, or you could just take the IPv6 config above and use it straight with your variables filled in. Volunteers welcome to help merge that config into the Gentoo IPv6 documentation.

(no subject)

Date: 2009-10-17 11:42 am (UTC)
From: [identity profile]
The flexible network config is one of my favourite things about Gentoo. The only I don't like is that dynamic bridging doesn't seem to work. Maybe I'm just doing it wrong or maybe it's not OpenRC's fault.

(no subject)

Date: 2009-10-18 12:11 am (UTC)
From: [identity profile]
Tell me what you're doing and what your goals by means of dynamic bridging are.

OpenRC 0.5

Date: 2009-10-18 02:36 pm (UTC)
From: (Anonymous)
Is it safe to update from openrc 0.4.3 to 0.5? Looks like much has changed in the network configuration in openrc 0.5 and it bothers me if I emerge new version will it screw my current network setup (setting manually static ip in the /etc/conf.d/net)?

Re: OpenRC 0.5

Date: 2009-10-18 05:30 pm (UTC)
From: [identity profile]
oldnet should work fine in 0.5. It's the entirely separate parallel newnet code that bugs me.

Um ...

Date: 2009-10-25 05:05 am (UTC)
From: (Anonymous)
I found out /etc/conf.d/net was no longer relevant when I was in a situation where I wanted to set a static IP and /etc/init.d/net.eth0 restart {after modifying /etc/conf.d/net} didn't do anything. It certainly didn't do what I expected. i.e. bring down dependent services, stop eth0, restart eth0 with new indicated configuration in /etc/conf.d/net.

I'm just a tad simple minded user. But ... I would be interested in knowing what I have to downgrade or otherwise configure in order to get the old functionality back. I do a lot of traveling and see quite a few different network setups.

Could you point me to where I can see instructions on how to bring back the old /etc/conf.d/net functionality?

Thank you!

BTW - I've sincerely enjoyed your previous postings.

May 2017

141516171819 20

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags