diff --git a/index.html b/index.html index d91166e..f6a5690 100644 --- a/index.html +++ b/index.html @@ -48,13 +48,13 @@
Maybe don't go and try building an ISP based off this talk :)
-Ethernet?
Token Ring?
IPX?
AX.25?
ipv4?
ipv6?
tcp?
@@ -63,7 +63,7 @@We are going to mostly focus on Ethernet and IPv6
Controls connections between computers
Scales connections between computers
@@ -83,9 +83,10 @@
or a parfait
which you can mostly ignore, as what we generally use doesn't conform to it. But it does provide a good framework for assisting understanding
Like firewalls, web-proxies/SSL MITM, But also access rights etc
+This means the Physical layers do not have to match the Logical connections
Networks are also a bit fractal in nature
For the purposes of this talk, we can ignore a lot of complexity
@@ -100,7 +101,9 @@IEEE 802.1Q
Are pretty easy!
@@ -114,7 +117,7 @@
VLANs in linux
Various different methods of making it go in different distributions
Debian: in /etc/network/interfaces
-
+
auto enp1s0.2502
iface enp1s0.2502 inet dhcp
iface enp1s0.2502 inet6 auto
@@ -135,6 +138,7 @@ iface enp1s0.2502 inet6 auto
Add to sysctl config:
net.ipv4.ip_forward = 1 net.ipv6.conf.all.forwarding = 1 @@ -145,7 +149,7 @@ iface enp1s0.2502 inet6 auto
Yeah, not really :)
Manually added, or scripted routes that don't change
ip route add 172.17.0.0/24 via 172.16.0.254 dev wg0
@@ -153,30 +157,32 @@ iface enp1s0.2502 inet6 auto
Harking back to our vlan
-ip -6 route add 2001:db8:2501::/64 via 2001:db8:2500::1 dev enp0s1
+ Static Routes
+ 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:2600::/64 via 2001:db8:2600:beef:face::1 dev enp0s1
+ip -6 route add 2001:db8:2600:beef:/64 via 2001:db8:face::1 dev wg0
As a Router:
-Advertise your LANs
-Discovering routes to other LANs
-Optional: Do some logic
-Add them to the routing table
+Advertise your LANs
+Discovering routes to other LANs
+Optional: Do some logic
+Add them to the routing table
Userspace daemons
talking to the kernel networking stack
Open Shortest Path First (OSPF)
-The algorithm is pretty interesting
+Uses Dijkstra's algorithm
RFC2328
RFC5340
For: Dynamic routes inside your networks
@@ -185,14 +191,19 @@ ip -6 route add 2001:db8:2600::/64 via 2001:db8:2600:beef:face::1 dev enp0s1Border Gateway Protocol (BGP)
RF4271
-For: Dynamic routes outside your network (and inside sometimes)
+For: Sharing dynamic routes outside your network with other Autonomous Sytstems (AS)
+"AS" is used a lot in the ISP world, and your ISP will have an assigned AS Number
+BIRD: Berkeley Internet Routing Daemon
Quagga: Fork of Zebra
+OpenBGPd/OpenOSPFd: from the OpenBSD project
Significant overlap, but they are different
-I've not used Quagga
+I've not used Quagga, or the OpenBSD ones
+There are probably others!