Configure the interface and route on host
An example that shows how to configure an interface on a host (
Host1) to connect to a router (
R1) and a static route.
- Specify the interface that connects
vyatta@Host1# set interfaces dataplane dp0p1s1 address 10.10.1.1/24
- Create a static route to
R1is designated as the next hop.
vyatta@Host1# set protocols static route 10.10.3.0/24 next-hop 10.10.1.2