Go to file
Arnd Bergmann d63a9b2b1e iproute2/iplink: add macvlan options for bridge mode
Macvlan can now optionally support forwarding between its
ports, if they are in "bridge" mode. This adds support
for this option to "ip link add", "ip link set" and "ip
-d link show".

The default mode in the kernel is now "vepa" mode, meaning
"virtual ethernet port aggregator". This mode is used
together with the "hairpin" mode of an ethernet bridge
that the parent of the macvlan device is connected to.
All frames still get sent out to the external interface,
but the adjacent bridge is able to send them back on
the same wire in hairpin mode, so the macvlan ports
are able to see each other, which the bridge can be
configured to monitor and control traffic between
all macvlan instances. Multicast traffic coming in
from the external interface is checked for the source
MAC address and only delivered to ports that have not
yet seen it.

In bridge mode, macvlan will send all multicast traffic
to other interfaces that are also in bridge mode but
not to those in vepa mode, which get them on the way
back from the hairpin.

The third supported mode is "private", which prevents
communication between macvlans even if the adjacent
bridge is in hairpin mode. This behavior is closer to
the original implementation of macvlan but stricly
maintains isolation.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2009-12-26 11:22:57 -08:00
doc iproute2 add hoplimit parsing and update usage and documentation 2009-12-01 15:51:44 -08:00
etc/iproute2 Add DHCP as routing protocol 2009-03-18 13:33:12 -07:00
examples Grab some more CBQ examples from Fedora Core 2005-10-12 22:46:23 +00:00
genl support static-only systems 2009-11-10 10:44:20 -08:00
include Update exported kernel headers 2009-12-26 11:02:25 -08:00
ip iproute2/iplink: add macvlan options for bridge mode 2009-12-26 11:22:57 -08:00
lib flush secondary addresses before primary ones 2009-12-26 10:11:02 -08:00
man Add dadfailed option to ip command 2009-12-26 11:16:23 -08:00
misc Fix warning about sprintf() and NSTAT_HIST 2009-12-26 10:21:13 -08:00
netem Fixed installation when changing DESTDIR 2008-07-25 13:40:19 -07:00
tc skbedit: Add support to mark packets 2009-12-26 11:12:43 -08:00
testsuite Fix modes of test files 2007-09-05 12:00:01 +01:00
.gitignore Ignore GDB related files 2009-11-13 14:20:41 -08:00
ChangeLog Backout the 2.4 utsname hash patch. 2006-03-22 00:07:49 +00:00
configure Slightly improve the configure script. 2009-12-26 10:24:06 -08:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
Makefile support static-only systems 2009-11-10 10:44:20 -08:00
README Mention need for db dev package 2006-12-13 17:01:42 -08:00
README.decnet Decnet documentation update 2005-06-13 18:47:56 +00:00
README.distribution Rename: tc/README.distribution -> README.distribution 2004-08-23 20:21:21 +00:00
README.iproute2+tc (Logical change 1.3) 2004-04-15 20:56:59 +00:00
README.lnstat Rename: misc/README.lnstat -> README.lnstat 2004-10-19 20:24:47 +00:00
RELNOTES (Logical change 1.3) 2004-04-15 20:56:59 +00:00

Primary site is:
	http://developer.osdl.org/dev/iproute2

Original FTP site is:
	ftp://ftp.inr.ac.ru/ip-routing/

How to compile this.
--------------------
1. Look at start of Makefile and set correct values for:

KERNEL_INCLUDE should point to correct linux kernel include directory.
Default (/usr/src/linux/include) is right as rule.

arpd needs to have the db4 development libraries. For debian
users this is the package with a name like libdb4.x-dev.
DBM_INCLUDE points to the directory with db_185.h which
is the include file used by arpd to get to the old format Berkely
database routines.  Often this is in the db-devel package.

2. make

The makefile will automatically build a file Config which
contains whether or not ATM is available, etc.

3. To make documentation, cd to doc/ directory , then
   look at start of Makefile and set correct values for
   PAGESIZE=a4		, ie: a4 , letter ...	(string)
   PAGESPERPAGE=2	, ie: 1 , 2 ...		(numeric)
   and make there. It assumes, that latex, dvips and psnup
   are in your path.

Stephen Hemminger
shemminger@osdl.org

Alexey Kuznetsov
kuznet@ms2.inr.ac.ru