aboutsummaryrefslogtreecommitdiff
path: root/net/vlan.sh
AgeCommit message (Collapse)Author
2013-02-17Typo FixWilliam Hubbs
Reported-by: vitalyb@telenet.dn.ua X-Gentoo-Bug: 452544 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=452544
2012-11-06net/vlan: checkbashisms.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-07-20Bug #427152: Port of VLAN code to sysfs/iproue2 from vconfig lost the ↵Robin H. Johnson
ability to create different vlans with the same ID but different interfaces on a single system. Implement it now. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-01-08net: net.lo, lots of scriptsRobin H. Johnson
The program function in depend blocks is now able to search paths by itself. If passed multiple arguments or multiple calls, at least one of the arguments passed must be a program or a shell builtin (eg ip built into busybox). If a qualified path is specified, only that path will be checked, otherwise it will be checked as a builtin, then $PATH will be checked for the named binary (via type). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-01-07net: make lookup of iproute2 dynamicWilliam Hubbs
The iproute2, macvlan and vlan modules had several possible hard coded paths for the iproute2 binary. Now we look for it in the path.
2011-12-26net/vlan: Fix prestop when device was hard-removed alreadyRobin H. Johnson
During stop of an interface, if it has been removed already (eg hotunplug), not existing is fine. X-Gentoo-Bug: 395859 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395859 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-12-26net/vlan, net/macvlan: iproute2 is required for new VLAN configurationRobin H. Johnson
Since commit 683a21b0a in Feburary 2011, iproute2 has been required for new VLAN configuration. MACVLAN is also impossible to configure without iproute2. However we did not check if iproute2 was actually in the modules for a given interface, so it could end up hanging or giving weird errors. Check for iproute2 before usage now. X-Gentoo-Bug: 389437 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=389437 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-12-12net/vlan: Fix mtu settingRobin H. Johnson
Fix minor shell typo that broke setting mtu on vlans. X-Gentoo-Bug: 392971 X-Gentoo-Bug-URL: https://bugs.gentoo.org/392971 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-10-07net/vlan: respect txqueuelen/mac/broadcast/mtu options during creation.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-09-21Shutdown VLAN's before the actual/parent interfaceChristian Ruppert
Make sure the VLAN interfaces as well as its rules will be removed prior to the actual/parent interface. The VLAN configs are gone in vlan_post_stop() already so we have to use vlan_pre_stop() instead. Reported-by: Bernd Bednarz <bernd.bednarz@avira.com> X-Gentoo-Bug: 380603 X-Gentoo-Bug-URL: https://bugs.gentoo.org/380603
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-21net/vlan: update to use modern iproute2 interfaceRobin H. Johnson
This replaces the vlan setup code that previously used the old vconfig binary with a new implementation using the iproute2 interface. vconfig does not handle many of the newer setups. No automatic migration path is provided, as altering the configuration is non-trivial. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Written-by: Guillaume Castagnino <casta@xwing.info> X-Gentoo-Bug: 346365
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-19fix detection of renamed vlan interfacesWilliam Hubbs
This fixes bug 327059, thanks to Jonathan for reporting this and for the patch.
2009-12-31Use IFACE variable instead of iface.Daniel Mierswa
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
2009-05-01Add (c) to CopyrightRoy Marples
2008-04-01Fix vlans, #49.Roy Marples
2008-03-26Merge net.OS into netRoy Marples