better routes
This commit is contained in:
parent
10a22c5b56
commit
1a99d814c5
1 changed files with 7 additions and 10 deletions
17
index.html
17
index.html
|
@ -114,11 +114,10 @@
|
||||||
<section><h2>VLANs in linux</h2>
|
<section><h2>VLANs in linux</h2>
|
||||||
<p>Various different methods of making it go in different distributions</p>
|
<p>Various different methods of making it go in different distributions</p>
|
||||||
<p class="fragment">Debian: in /etc/network/interfaces</p>
|
<p class="fragment">Debian: in /etc/network/interfaces</p>
|
||||||
<pre class="fragment"><code data-trim data-noescape>
|
<pre>
|
||||||
auto enp1s0.2502
|
<code>auto enp1s0.2502
|
||||||
iface enp1s0.2502 inet dhcp
|
iface enp1s0.2502 inet dhcp
|
||||||
iface enp1s0.2502 inet6 auto
|
iface enp1s0.2502 inet6 auto</code>
|
||||||
</code>
|
|
||||||
</pre>
|
</pre>
|
||||||
<p class="fragment">OpenWRT has a nice GUI</p>
|
<p class="fragment">OpenWRT has a nice GUI</p>
|
||||||
|
|
||||||
|
@ -156,11 +155,9 @@
|
||||||
|
|
||||||
<section><h2>Static Routes!</h2>
|
<section><h2>Static Routes!</h2>
|
||||||
<p>Harking back to our vlan</p>
|
<p>Harking back to our vlan</p>
|
||||||
<pre><code data-trim data-noescape>
|
<pre width="110%"><code>ip -6 route add 2001:db8:2501::/64 via 2001:db8:2500::1 dev enp0s1
|
||||||
ip -6 route add 2001:db8:2501::/64 via 2001:db8:2500::1 dev enp0s1
|
ip -6 route add 2001:db8:2502::/64 via 2001:db8:2500::1 dev enp0s1
|
||||||
ip -6 route add 2001:db8:2502::/64 via 2001:db8:2500::1 dev enp0s1
|
ip -6 route add 2001:db8:2600::/64 via 2001:db8:2600:beef:face::1 dev enp0s1</code>
|
||||||
ip -6 route add 2001:db8:2600::/64 via 2001:db8:2600:beef:face::1 dev enp0s1
|
|
||||||
</code>
|
|
||||||
</pre>
|
</pre>
|
||||||
<aside class="notes">
|
<aside class="notes">
|
||||||
<p>As you can imagine this quickly becomes unwieldy with expanding networks</p>
|
<p>As you can imagine this quickly becomes unwieldy with expanding networks</p>
|
||||||
|
|
Loading…
Reference in a new issue