Documentation
Name
net add node - add a node to the topology
Synopsis
node
[--no-loopback]
<addr>
Arguments
- --no-loopback
- disable loopback interface creation
- addr
- address (identifier) of the new node
Description
This command adds a new node to the topology. The node is identified by an IP address (addr). This address must be unique and it must be different from 0.0.0.0.
By default, when a node is created, a loopback interface numbered with the node's identifier is created. This behaviour can be changed by providing the --no-loopback option.
When created, a new node only supports IP routing as well as a simplified ICMP protocol. If you want to add support for the BGP protocol, consider using command bgp add router.
Here is how to create a simple 2 nodes topology:
net add node 1.0.0.1
net add node 1.0.0.2
net add link 1.0.0.1 1.0.0.2
See also
To create links, consider using commands net add link and net add link-ptp.