Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10160 - Replace ifconfig/route with iproute

Attached to Project: Arch Linux
Opened by Aaron Griffin (phrakture) - Friday, 11 April 2008, 18:52 GMT-4
Task Type Feature Request
Category Packages: Core
Status New
Assigned To Aaron Griffin (phrakture)
James Rayner (iphitus)
Thomas Bächler (brain0)
Operating System All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

http://www.linux-foundation.org/en/Net:Iproute2

It appears that the ifconfig way of doing this is deprecated. We should overhaul our initscripts and documentation to switch to a more modern (read: bleeding edge) system.

Right now this really means /etc/rc.d/network, netcfg, and some wiki pages / user manuals.

Anything else I didn't get, please add in the comments
This task depends upon

Comment by Thomas Bächler (brain0) - Friday, 11 April 2008, 19:26 GMT-4
Using iproute is more complicated than ifconfig, as far as I remember, routes aren't set automatically. iproute is more powerful though, so let's do this :)
Comment by James Rayner (iphitus) - Friday, 11 April 2008, 19:55 GMT-4
I'm up for it.
Comment by Sascha Klockow (dreamZ) - Saturday, 12 April 2008, 05:34 GMT-4
Here's is a diff for initscripts for switch from ifconfig/route to iproute.
It worked for me with static ip and dhcp. But i couldn't test bonding and brigding,
Comment by Pierre Schmitz (Pierre) - Saturday, 12 April 2008, 06:02 GMT-4
Should we think about to switch to dhclient, too?
Comment by Aaron Griffin (phrakture) - Monday, 14 April 2008, 10:32 GMT-4
Isn't dhclient much more heavy weight that dhcpcd? I have always used dhcpcd.

Do you have any documentation that points to one as deprecated in place of the other?
Comment by Damjan Georgievski (damjan) - Thursday, 17 July 2008, 10:15 GMT-4
>>> Using iproute is more complicated than ifconfig
...
Considering that you can use /24 masks in "ip addr add" compared to have to use full bitmask in ifconfig .. it's also easier :)
It's also easier to set up several ip addresses to interfaces.
Comment by James Rayner (iphitus) - Friday, 18 July 2008, 07:34 GMT-4
Sascha's patch looks alright to me.

This is the way forward. Last net-tools release was April 01. More than 7 years ago.

I know they work great now, I know we're all familiar with them, but they won't work forever. Changing to iproute doesnt mean that we'll remove them. I'm sure we could push the old rc.d/network to [community] or [extra] or something as a separate package.

Given this is a breaking change, if there's anything else anyone wants to mix up in rc.d/network, now's a good chance.

James

Loading...