http://localhost:3000/http://localhost:3000/favicon.ico?16699092332019-09-18T07:13:18Zungleich redmineOpen Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292502019-09-18T07:13:18ZNico Schotteliusnico.schottelius@ungleich.ch
<ul></ul><ul>
<li>router2.place6 takes care of 100% of outgoing IPv6 traffic</li>
<li>Phasing in IPv4 routing by preferring parts of the Internet step by step (see below)
<ul>
<li>We split the IPv4 Internet into 8 parts and change 1/8 of the traffic each time to go onto router2</li>
<li>Meanwhile running <code>perf</code> to find out the bottleneck</li>
<li>Might be related to <a class="external" href="https://www.linuxquestions.org/questions/linux-server-73/high-cpu-load-by-native_queued_spin_lock_slowpath-4175615354/">https://www.linuxquestions.org/questions/linux-server-73/high-cpu-load-by-native_queued_spin_lock_slowpath-4175615354/</a></li>
</ul></li>
</ul>
<pre>
[14:08] line:~% sipcalc -s /3 0.0.0.0/0
-[ipv4 : 0.0.0.0/0] - 0
[Split network]
Network - 0.0.0.0 - 31.255.255.255
Network - 32.0.0.0 - 63.255.255.255
Network - 64.0.0.0 - 95.255.255.255
Network - 96.0.0.0 - 127.255.255.255
Network - 128.0.0.0 - 159.255.255.255
Network - 160.0.0.0 - 191.255.255.255
Network - 192.0.0.0 - 223.255.255.255
Network - 224.0.0.0 - 255.255.255.255
</pre> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292512019-09-18T07:14:19ZNico Schotteliusnico.schottelius@ungleich.ch
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/29251/diff?detail_id=29515">diff</a>)</li></ul> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292522019-09-18T07:14:50ZNico Schotteliusnico.schottelius@ungleich.ch
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/29252/diff?detail_id=29516">diff</a>)</li></ul> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292532019-09-18T08:36:36ZNico Schotteliusnico.schottelius@ungleich.ch
<ul></ul><ul>
<li>2019-09-18, ca. 1530 KST: enabled 0.0.0.0/3 to go through router2.place6 with full routing table</li>
<li>2019-09-18, ca. 1600 KST: enabled 32.0.0.0/3 to go through router2.place6 with full routing table</li>
</ul> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292722019-09-20T00:45:28ZNico Schotteliusnico.schottelius@ungleich.ch
<ul><li><strong>Related to</strong> <i><a class="issue tracker-5 status-5 priority-2 priority-default closed" href="/issues/7160">Task #7160</a>: Phase in 2 new routers to avoid softirqd problem</i> added</li></ul> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292872019-09-20T19:00:55ZNico Schotteliusnico.schottelius@ungleich.ch
<ul></ul><p>Configuring network on router2.place5:</p>
<pre>
# Sunrise
auto bond0.102
iface bond0.102 inet6 static
address 2001:1700:3500::12
netmask 64
post-up /sbin/ip link set $IFACE mtu 9000
vlan-raw-device bond0
iface bond0.102 inet static
address 195.141.230.103
netmask 255.255.255.254
vlan-raw-device bond0
[18:54:33] router2.place5:/etc/network/interfaces.d# ifup bond0.102
[18:54:42] router2.place5:/etc/network/interfaces.d#
</pre>
<p>Switch config</p>
<pre>
Et41 connected 1 a-full a-1G 1000BASE-SX
switch1-place5(config)#interface ethernet 41
switch1-place5(config-if-Et41)#switchport trunk allowed vlan 101,102
switch1-place5(config-if-Et41)#switchport mode trunk
switch1-place5(config-if-Et41)#write
Copy completed successfully.
switch1-place5(config-if-Et41)#
</pre> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292882019-09-20T19:03:10ZNico Schotteliusnico.schottelius@ungleich.ch
<ul></ul><pre>
switch1-place5(config-if-Et41)#vlan 101
switch1-place5(config-vlan-101)#name sunrise_router1
switch1-place5(config-vlan-101)#vlan 102
switch1-place5(config-vlan-102)#name sunrise_router2
switch1-place5(config-vlan-102)#write
Copy completed successfully.
</pre>
<p>Receiving packets from peer:</p>
<pre>
64 bytes from 2001:1700:3500::11: icmp_seq=296 ttl=64 time=0.977 ms
64 bytes from 2001:1700:3500::11: icmp_seq=297 ttl=64 time=1.01 ms
64 bytes from 2001:1700:3500::11: icmp_seq=298 ttl=64 time=0.988 ms
64 bytes from 2001:1700:3500::11: icmp_seq=299 ttl=64 time=0.997 ms
64 bytes from 2001:1700:3500::11: icmp_seq=300 ttl=64 time=1.00 ms
64 bytes from 195.141.230.102: icmp_seq=474 ttl=255 time=0.937 ms
64 bytes from 195.141.230.102: icmp_seq=475 ttl=255 time=0.943 ms
</pre> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=292892019-09-20T19:15:14ZNico Schotteliusnico.schottelius@ungleich.ch
<ul></ul><p>Saving config, updating with new bgp type</p>
<pre>
[19:04:41] router2.place5:/etc/bird# rsync -av /etc/bird/ ~/bird20190921
sending incremental file list
created directory /root/bird20190921
./
bird.conf
bird.conf.ucf-dist
bird6.conf
bird6.conf.ucf-dist
envvars
general.conf
init7_v4.conf
init7_v6.conf
router1_place5_ungleich_ch_v4.conf
router1_place5_ungleich_ch_v6.conf
router1_place6_ungleich_ch_v4.conf
router1_place6_ungleich_ch_v6.conf
router2_place6_ungleich_ch_v4.conf
router2_place6_ungleich_ch_v6.conf
router_id.conf
switch1_place10_ungleich_ch_v6.conf
switch1_place5_ungleich_ch_v6.conf
switch1_place6_ungleich_ch_v6.conf
switch1_place8_ungleich_ch_v6.conf
switch2_place5_ungleich_ch_v6.conf
switch2_place6_ungleich_ch_v6.conf
switch2_place8_ungleich_ch_v6.conf
switch3_place6_ungleich_ch_v6.conf
switch4_place6_ungleich_ch_v6.conf
switch5_place6_ungleich_ch_v6.conf
switch6_place6_ungleich_ch_v6.conf
ungleich-routes-place5_v4.conf
ungleich-routes-place5_v6.conf
sent 21,681 bytes received 592 bytes 44,546.00 bytes/sec
total size is 19,302 speedup is 0.87
[19:04:48] router2.place5:/etc/bird#
</pre> Open Infrastructure - Task #7156: Add new sunrise link to infrastrucure, introduce policy routinghttp://localhost:3000/issues/7156?journal_id=302112019-12-05T18:09:59ZNico Schotteliusnico.schottelius@ungleich.ch
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Added long time ago</p>