Skip to content

Commit a28cd13

Browse files
committed
Add etc-hosts documentation
1 parent 90fb588 commit a28cd13

File tree

4 files changed

+75
-0
lines changed

4 files changed

+75
-0
lines changed

nets-in-progress/8r-1c-srv6-pm/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,25 @@ router localhost
115115
116116
Note that datacenters are special hosts, which have a public address.
117117
118+
119+
The file etc-hosts in the topology folder maps each IP address to its hostname.
120+
121+
For example,
122+
fcff:1::1 r1
123+
fd00:0:11::2 h11
124+
fcff:2:1::2 hdc1
125+
fcfd:0:0:fd::1 controller.m # .m suffix is used for the management addresses
126+
...
127+
128+
When you start the topology, the entries defined in this file are loaded and added to the system /etc/hosts file.
129+
130+
This allows you to ping the nodes using their hostnames instead of the IP addresses:
131+
h11# ping6 h83
132+
h83# ping6 h11
133+
134+
The entries are automatically removed from the /etc/hosts file when the emulation is stopped.
135+
136+
118137
------Tunnel examples -------------
119138
1) Create a bidirectional tunnel between h11 and h83, passing through router r4
120139

nets-unmantained/8r-1c-out-band-isis/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,25 @@ router localhost
112112
113113
Note that datacenters are special hosts, which have a public address.
114114
115+
116+
The file etc-hosts in the topology folder maps each node to its hostname.
117+
118+
For example,
119+
fcff:1::1 r1
120+
fd00:0:11::2 h11
121+
fcff:2:1::2 hdc1
122+
fcfd:0:0:fd::1 controller.m # .m suffix is used for the management addresses
123+
...
124+
125+
When you start the topology, the entries defined in this file are loaded and added to the system /etc/hosts file.
126+
127+
This allows you to ping the nodes using their hostnames instead of the IP addresses:
128+
h11# ping6 h83
129+
h83# ping6 h11
130+
131+
The entries are automatically removed from the /etc/hosts file when the emulation is stopped.
132+
133+
115134
------Tunnel examples -------------
116135
1) Create a bidirectional tunnel between h11 and h83, passing through router r4
117136

nets/8r-1c-in-band-isis/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,25 @@ router localhost
104104
105105
Note that datacenters are special hosts, which have a public address.
106106
107+
108+
The file etc-hosts in the topology folder maps each node to its hostname.
109+
110+
For example,
111+
fcff:1::1 r1
112+
fd00:0:11::2 h11
113+
fcff:2:1::2 hdc1
114+
fcff:2:c::2 controller
115+
...
116+
117+
When you start the topology, the entries defined in this file are loaded and added to the system /etc/hosts file.
118+
119+
This allows you to ping the nodes using their hostnames instead of the IP addresses:
120+
h11# ping6 h83
121+
h83# ping6 h11
122+
123+
The entries are automatically removed from the /etc/hosts file when the emulation is stopped.
124+
125+
107126
------Tunnel examples -------------
108127
1) Create a bidirectional tunnel between h11 and h83, passing through router r4
109128

nets/8routers-isis-ipv6/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,24 @@ router localhost
8686
8787
Note that datacenters are special hosts, which have a public address.
8888
89+
90+
The file etc-hosts in the topology folder maps each IP address to its hostname.
91+
92+
For example,
93+
fcff:1::1 r1
94+
fd00:0:11::2 h11
95+
fcff:2:1::2 hdc1
96+
...
97+
98+
When you start the topology, the entries defined in this file are loaded and added to the system /etc/hosts file.
99+
100+
This allows you to ping the nodes using their hostnames instead of the IP addresses:
101+
h11# ping6 h83
102+
h83# ping6 h11
103+
104+
The entries are automatically removed from the /etc/hosts file when the emulation is stopped.
105+
106+
89107
------Tunnel examples -------------
90108
1) Create a bidirectional tunnel between h11 and h83, passing through router r4
91109

0 commit comments

Comments
 (0)