aboutsummaryrefslogtreecommitdiff
path: root/net/iproute2.sh
AgeCommit message (Collapse)Author
2011-09-21Refactoring of commit bf49e59e3eb4fe12167812bc1b4531742eddc383Christian Ruppert
Make sure the RPDB rules will be removed.
2011-09-19Don't do anything if the interface doesn't existYun Zheng Hu
iproute2_post_stop() does now check if the network interface still exist. Reported-by: Yun Zheng Hu <hu@fox-it.com> X-Gentoo-Bug: 379575 X-Gentoo-Bug-URL: https://bugs.gentoo.org/379575
2011-07-18Rewrite iproute2 addr argument parsing.Robin H. Johnson
This was originally to fix the fact that our code did not handle certain orders of arguments in conversion, but it was easier to rewrite the entire argument handling to support more options at the same time. Now supports all options documented in the ip manpage, including the IPv6-specific options that must be passed after the interface argument. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Reported-by: Tony Vroon <chainsaw@gentoo.org> X-Gentoo-Bug: 366905 X-Gentoo-Bug-URL: https://bugs.gentoo.org/366905
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-21net/iproute2: Pass required explicit -6 for IPv6 tunnels (#347657)Robin H. Johnson
Tunnel modes ipip6 and ip6ip6 require an explicit family selection for the ip tunnel call. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 347657
2011-02-12fix typo in iproute2 moduleChristian Wetzig
X-Gentoo-Bug: 354511 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=354511
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-15Move the ip rule extra output to verbose mode only, and support verbose ↵Robin H. Johnson
output on addresses and routes.
2010-12-15Fix pointopoint->peer for iproute.Robin H. Johnson
2010-12-11Merge support for Routing Policy Database (RPDB)Robin H. Johnson
This can be used for multi-homed connections and other advanced routing in Linux. See the documentation links for more information about doing this in linux. The code was a originally pure addon into the conf.d/net files, written in mid-2004 for doing multi-homing between two internet connections. I have finally cleaned this up and integrated it. Thanks to Jonathan Kwan for giving me the original impetus to develop this for Gentoo (it was his dual internet connections...). In the intervening years, it was a example of postup/postdown in the net.example file, however that suffered from a few corner case issues. If you were using the code from net.example, please see the updated section 'Advanced Routing' on syntax, and drop your old function blocks. Additionally, note that the rules added are now directly saved for removal when the interface is taken down.
2010-08-09allow ip to be in /sbin or /binWilliam Hubbs
This makes it possible for the "ip" program in iproute2 to be installed in /sbin or /bin.
2010-07-07fix metricWilliam Hubbs
This change was also taken from Roy Marples' git.
2009-12-05Support phy80211, fixes #209.Alon Bar-Lev
2009-09-04Timeout for ipv6 addresses being tentative.Roy Marples
2009-07-08Apply MTU and txqueuelen after creating the tunnel.Roy Marples
2009-06-01nexthop routes don't use metricsRoy Marples
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-19Allow family on routes, #152Roy Marples
2008-05-27Only check tentative when we have a carrier, Gentoo #223061Roy Marples
2008-05-25Fix tunnel, #80. Someone should fix iproute2 documentation and help files ↵Roy Marples
also :P
2008-04-30We should use correct iproute2 commands and fix busybox as it's iproute2 ↵Roy Marples
implementation is a little broken.
2008-04-16Use qlen instead of txqueuelen so we work with busybox iproute2, Gentoo #217948Roy Marples
2008-03-26Merge net.OS into netRoy Marples