1 parent
e77b2ae288
commit
aed6fd3fcc
1 file changed
+9
-10
+9
-10
@@ -24,17 +24,16 @@ encrypted, which carry encapsulated network packets. These
|
|||||||
Weave Net creates a network bridge on the host. Each container is
|
Weave Net creates a network bridge on the host. Each container is
|
||||||
connected to that bridge via a veth pair, the container side of which
|
connected to that bridge via a veth pair, the container side of which
|
||||||
is given an IP address and netmask supplied either by the user or
|
is given an IP address and netmask supplied either by the user or
|
||||||
by Weave Net's IP address allocator. Also connected to the bridge is the
|
by Weave Net's IP address allocator.
|
||||||
Weave Net router container.
|
|
||||||
|
|
||||||
A Weave Net router captures Ethernet packets from its bridge-connected
|
Weave Net routes packets between containers on different hosts via two
|
||||||
interface in promiscuous mode, using 'pcap'. This typically excludes
|
methods: a [fast data path](/site/fastdp.md) method, which operates
|
||||||
traffic between local containers, and between the host and local
|
entirely in kernel space, and a fallback `sleeve` method, in which
|
||||||
containers, all of which is routed straight over the bridge by the
|
packets destined for non-local containers are captured by the kernel
|
||||||
kernel. Captured packets are forwarded over UDP to weave router peers
|
and processed by the Weave Net router in user space, forwarded over
|
||||||
running on other hosts. On receipt of such a packet, a router injects
|
UDP to weave router peers running on other hosts, and there injected
|
||||||
the packet on its bridge interface using 'pcap' and/or forwards the
|
back into the kernel which in turn passes them to local destination
|
||||||
packet to peers.
|
containers.
|
||||||
|
|
||||||
Weave Net routers learn which peer host a particular MAC address resides
|
Weave Net routers learn which peer host a particular MAC address resides
|
||||||
on. They combine this knowledge with topology information in order to
|
on. They combine this knowledge with topology information in order to
|
||||||
|
|||||||
Reference in new issue
Block a user