Skip to content

Commit d5265ab

Browse files
committed
Improve /etc/hosts files
1 parent 067281e commit d5265ab

File tree

4 files changed

+30
-40
lines changed

4 files changed

+30
-40
lines changed

nets/8r-1c-in-band-isis/etc-hosts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
127.0.0.1 localhost
2-
127.0.1.1 rose-srv6
3-
4-
# The following lines are desirable for IPv6 capable hosts
5-
::1 ip6-localhost ip6-loopback
6-
fe00::0 ip6-localnet
7-
ff00::0 ip6-mcastprefix
8-
ff02::1 ip6-allnodes
9-
ff02::2 ip6-allrouters
10-
111
# Mininet hosts
2+
3+
# Controller
124
fcff:2:c::2 controller
5+
6+
# Routers
137
fcff:1::1 r1
148
fcff:2::1 r2
159
fcff:3::1 r3
@@ -18,6 +12,8 @@ fcff:5::1 r5
1812
fcff:6::1 r6
1913
fcff:7::1 r7
2014
fcff:8::1 r8
15+
16+
# Hosts
2117
fd00:0:11::2 h11
2218
fd00:0:12::2 h12
2319
fd00:0:13::2 h13
@@ -30,6 +26,8 @@ fd00:0:53::2 h53
3026
fd00:0:81::2 h81
3127
fd00:0:82::2 h82
3228
fd00:0:83::2 h83
29+
30+
# Data-centers
3331
fcff:2:1::2 hdc1
3432
fcff:8:1::2 hdc2
3533
fcff:5:1::2 hdc3

nets/8r-1c-out-band-isis/etc-hosts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
127.0.0.1 localhost
2-
127.0.1.1 rose-srv6
3-
4-
# The following lines are desirable for IPv6 capable hosts
5-
::1 ip6-localhost ip6-loopback
6-
fe00::0 ip6-localnet
7-
ff00::0 ip6-mcastprefix
8-
ff02::1 ip6-allnodes
9-
ff02::2 ip6-allrouters
10-
111
# Mininet hosts
2+
3+
# Routers
124
fcff:1::1 r1
135
fcff:2::1 r2
146
fcff:3::1 r3
@@ -17,6 +9,8 @@ fcff:5::1 r5
179
fcff:6::1 r6
1810
fcff:7::1 r7
1911
fcff:8::1 r8
12+
13+
# Hosts
2014
fd00:0:11::2 h11
2115
fd00:0:12::2 h12
2216
fd00:0:13::2 h13
@@ -29,10 +23,13 @@ fd00:0:53::2 h53
2923
fd00:0:81::2 h81
3024
fd00:0:82::2 h82
3125
fd00:0:83::2 h83
26+
27+
# Data-centers
3228
fcff:2:1::2 hdc1
3329
fcff:8:1::2 hdc2
3430
fcff:5:1::2 hdc3
3531

32+
# Management network
3633
fcfd:0:0:fd::1 controller.m
3734
fcfd:0:0:1::1 r1.m
3835
fcfd:0:0:2::1 r2.m

nets/8routers-isis-ipv6/etc-hosts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
127.0.0.1 localhost
2-
127.0.1.1 rose-srv6
3-
4-
# The following lines are desirable for IPv6 capable hosts
5-
::1 ip6-localhost ip6-loopback
6-
fe00::0 ip6-localnet
7-
ff00::0 ip6-mcastprefix
8-
ff02::1 ip6-allnodes
9-
ff02::2 ip6-allrouters
10-
111
# Mininet hosts
2+
3+
# Routers
124
fcff:1::1 r1
135
fcff:2::1 r2
146
fcff:3::1 r3
@@ -17,6 +9,8 @@ fcff:5::1 r5
179
fcff:6::1 r6
1810
fcff:7::1 r7
1911
fcff:8::1 r8
12+
13+
# Hosts
2014
fd00:0:11::2 h11
2115
fd00:0:12::2 h12
2216
fd00:0:13::2 h13
@@ -29,6 +23,8 @@ fd00:0:53::2 h53
2923
fd00:0:81::2 h81
3024
fd00:0:82::2 h82
3125
fd00:0:83::2 h83
26+
27+
# Data-centers
3228
fcff:2:1::2 hdc1
3329
fcff:8:1::2 hdc2
3430
fcff:5:1::2 hdc3

nets/8routers/etc-hosts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
127.0.0.1 localhost
2-
127.0.1.1 rose-srv6
3-
4-
# The following lines are desirable for IPv6 capable hosts
5-
::1 ip6-localhost ip6-loopback
6-
fe00::0 ip6-localnet
7-
ff00::0 ip6-mcastprefix
8-
ff02::1 ip6-allnodes
9-
ff02::2 ip6-allrouters
10-
111
# Mininet hosts
2+
3+
# Routers
124
fcff:1::1 r1
135
fcff:2::1 r2
146
fcff:3::1 r3
@@ -17,6 +9,8 @@ fcff:5::1 r5
179
fcff:6::1 r6
1810
fcff:7::1 r7
1911
fcff:8::1 r8
12+
13+
# Hosts
2014
fd00:0:11::2 h11
2115
fd00:0:12::2 h12
2216
fd00:0:13::2 h13
@@ -29,3 +23,8 @@ fd00:0:53::2 h53
2923
fd00:0:81::2 h81
3024
fd00:0:82::2 h82
3125
fd00:0:83::2 h83
26+
27+
# Data-centers
28+
fcff:2:1::2 hdc1
29+
fcff:8:1::2 hdc2
30+
fcff:5:1::2 hdc3

0 commit comments

Comments
 (0)