summaryrefslogtreecommitdiffstats
path: root/docs/usecases/contiv/MULTI_NIC_SETUP.md
blob: 5cbb031d2905a88dc43c6d8432a6d495a3816208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### Setting Up a Node with Multiple NICs

* First, configure hardware interfaces in the VPP startup config, as
described [here](https://github.com/contiv/vpp/blob/master/docs/VPP_CONFIG.md#multi-nic-configuration).

* For each interface owned by Linux, you need to provide individual
  configuration for each interface used by VPP in the Node Configuration 
  for thenode in the `contiv-vpp.yaml`. For example, if both `ens3` and
  `ens4` are known to Linux, then put the following stanza into the node's
  NodeConfig:
```
...
    NodeConfig:
    - NodeName: "ubuntu-1"
      StealInterface: "ens3"
      StealInterface: "ens4"
...
``` 
  If only `ens3` is known to Linux, you only put a line for `ens3` into the 
  above NodeConfig.