Hi Chris! On tor, 2009-03-19 at 14:55 -0400, Chris Dukes wrote: > Per one of the bugs on vlan package vconfig is now considered > deprecated.
(Just for reference, vlan package has bug #501402 for this...) > Attached is a script 'ip-vlan' to be placed in /etc/network/if-pre-up.d > and /etc/network/if-post-down.d to retain the ability to have > rawdev.vlanid devices in /etc/interfaces as well as arbitrarily > named vlan interfaces. Cool! Thank you very much! > > Behavior is the same as the scripts from the vlan package with the > addition of the vlan-vlanid and ip-vlan-args directives. > Current behavior is to quietly exit if vconfig is found in the system > unless overridden in /etc/default/iproute. If we can truely replace vconfig, I think this option should not exist. We should simply Conflict with vlan package to make sure people remove it. I guess we're still missing the macvlan pieces though? > > It currently mimic vlan's behavior of using ip link show to check for > the existance of the raw device. I'm not sure if /sys/class/net/<rawdev> > checking wouldn't be better. It also currently mimics vlan's behavior > of bringing up the raw dev. Re ip link show vs /sys: No strong opinion as long as you don't actually parse the output of ip link show... Maybe we should throw away any potential stderr messages as well though. > Should ip allow the creation of arbitrarily named macvlan devices, I > am willing to add that functionality. If you can point me in the right direction I'm willing to implement stuff in iproute. Don't know anything about macvlan... All I've done with vlans was with vconfig a bunch of years ago. I'll go see if google can find me some nice information about this... On the other hand, Why don't we implement this straight in ifupdown? The ifupdown 0.7 package in experimental has been ported over to use iproute instead of net-tools (ifconfig). I'm willing to help out how to update ifupdown since I've done some work on it in the past.... It would be much nicer with "native" vlan support in ifupdown then using external scripts IMHO, what do you think? I've been lobbying to try to get some action on ifupdown to hopefully see the 0.7 branch appear in squeeze. -- Regards, Andreas Henriksson -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org