2.3.5. Configuring networking

Now that the fast path has been started and some ports have been dedicated to it, we can start the networking configuration.

Let’s create the the dp0 and dp1 interfaces in the main VRF and associate them to these two ports. The 1.0.0.1/24 address will be added to dp0, and 2.0.0.1/24 address will be added to dp1.

vrouter> edit running
vrouter running config# vrf main
vrouter running vrf main# interface physical dp0 port pci-b0s4
vrouter running vrf main# interface physical dp0 ipv4 address 1.0.0.1/24
vrouter running vrf main# interface physical dp1 port pci-b0s5
vrouter running vrf main# interface physical dp1 ipv4 address 2.0.0.1/24
vrouter running vrf main# commit