From 6f6311560380d0e992f710558e213df1b098ef94 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 3 Oct 2017 08:20:21 -0700 Subject: Distributed Virtual Router Support A distributed virtual router works by attmpeting to switch a packet, but on failing to find a local consumer (i.e. the packet is destined to a locally attached host) then the packet is sent unmodified 'upstream' to where the rest of the 'distributed' router is present. When L3 switching a packet this means the L2 header must not be modifed. This patch adds a 'l2-bridge' object to the L3 FIB which re-injects packets from the L3 path back into the L2 path - use with extreme caution. Change-Id: I069724eb45956647d7980cbe40a80a788ee6ee82 Signed-off-by: Neale Ranns --- src/vnet.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet.am') diff --git a/src/vnet.am b/src/vnet.am index 055d3a7f906..aa3ada1dada 100644 --- a/src/vnet.am +++ b/src/vnet.am @@ -1015,7 +1015,8 @@ libvnet_la_SOURCES += \ vnet/dpo/interface_rx_dpo.c \ vnet/dpo/interface_tx_dpo.c \ vnet/dpo/mpls_disposition.c \ - vnet/dpo/mpls_label_dpo.c + vnet/dpo/mpls_label_dpo.c \ + vnet/dpo/l2_bridge_dpo.c nobase_include_HEADERS += \ vnet/dpo/load_balance.h \ -- cgit 1.2.3-korg