2
0
mirror of https://github.com/knorrie/network-examples synced 2025-08-30 05:58:31 +00:00

113 Commits

Author SHA1 Message Date
Hans van Kranenburg
4aca4f9cf4 lxcbird/README: forcibly del-br first
No comment, just try bigger hammers. I'm not gonna write a rant about
how openvswitch in Debian is mostly broken always regarding
network/interfaces handling. It's like playing whack a mole.
2021-01-28 20:56:40 +01:00
Hans van Kranenburg
5da936e137 lxcbird/README: update for Debian Buster 2021-01-28 20:56:23 +01:00
Hans van Kranenburg
cf4895f787 bgp-contd: check-connectivity: also print OK
Argh, if everything is OK the script wouldn't generate any output, which
is also confusing.

So, just show everything that is happening... The amount of routers in
the example is not that big.
2017-11-14 23:38:53 +01:00
Yuri Volchkov
815d129e72 bgp-contd: too early to check connectivity to r20
The first thing I did in this assignment is disabled connection
R1-R20. And spend some time trying to understand how it is even
supposed to work, before I scrolled down and read that it is not
supposed actually.

So let's not ask a person to check if he can reach ALL parts of the
network, but only reasonable for now parts.

Edit by Knorrie:
* Explicitely mention what can be disabled now, so that we don't run
  into the situation above. :)
2017-11-14 23:22:11 +01:00
Yuri Volchkov
101b25edd0 bgp-contd: script check-connectivity
Add a script for testing connectivity. Basically ping every router
from every router.

Edit by Knorrie:
* Ignore all the crap that ping outputs
* Test all links, don't stop when one fails.
* Insert commented out extra [OK] output that can be enabled quickly to
  also see all connections that succeed
2017-11-14 23:13:17 +01:00
Yuri Volchkov
d41fdd708d how to actually call fixnetwork.sh
It was a bit unclear for me, what to do with fixnetwork.sh
script. This modifications should help to avoid confusion

Edit by Knorrie:
* Fix up some whitespace
* Make fixnetwork executable, it already had a shebang
* Copy both router and host files, if present: [RH]*
2017-11-14 22:03:07 +01:00
Yuri Volchkov
23422efe21 replace lxc-clone with lxc-copy
lxc-clone is not available anymore. From lxc-copy man:

> lxc-copy creates and optionally starts (ephemeral or non-ephemeral)
> copies of existing containers. It replaces lxc-clone and
> lxc-start-ephemeral.
2017-11-14 21:24:09 +01:00
Hans van Kranenburg
88ad48bf61 Update bird install steps for Stretch
* systemctl gets done right now
* writing an empty file can simply be done with >
2017-11-10 00:10:19 +01:00
Hans van Kranenburg
bbacc3e14c New ping needs explicit 4 for IPv4
Without the 4 it will default to IPv6 now. In the past it would do IPv4.
This probably has to be changed in more places.
2017-11-10 00:09:32 +01:00
Hans van Kranenburg
67ba3a2c67 We also use Stretch for the container, of course 2017-11-09 23:21:20 +01:00
Hans van Kranenburg
1d290154b1 Merge pull request #4 from Landrash/master
Various spelling and formatting fixes.

Thanks!
2017-07-23 14:54:56 +02:00
Fredrik Lindqvist
608ae8fb38 Add git package
Adds the git package to packages that needs to be installed.
2017-07-07 16:24:48 +02:00
Fredrik Lindqvist
586f8572f2 Fix time reference
Time is a reference to a specific time and not how long ago.
2017-07-07 16:17:00 +02:00
Fredrik Lindqvist
80e947defc Fix minor spelling mistake 2017-07-07 16:09:10 +02:00
Fredrik Lindqvist
339e3c3bd9 Fix for minor spelling mistake
Fixes a minor spelling mistake.
2017-07-07 16:06:59 +02:00
Fredrik Lindqvist
3cc0dc278c Fix for some spelling mistakes and formatting
Fixes for some spelling mistakes and some formatting.
2017-07-07 16:04:32 +02:00
Fredrik Lindqvist
5b08d1a4c0 Fix minor spelling mistake
Fixes a minor spelling mistake.
2017-07-07 15:51:32 +02:00
Fredrik Lindqvist
afd5994440 Minor formatting fix+Debian version.
Updates current version of Debian.
Fixes mixed use of logfile and log file.
2017-07-07 15:49:31 +02:00
Hans van Kranenburg
be289e1fd6 Merge pull request #3 from Roosted7/master
Small typo correction
2017-07-05 21:18:59 +02:00
Roosted7
d730113ca6 Small typo correction
Another small typo correction
2017-07-04 22:56:28 +02:00
Hans van Kranenburg
61026ebbef Merge branch 'wip' 2016-02-07 23:01:56 +01:00
Hans van Kranenburg
4cd4dd02df Nitpicking, cosmetics. 2016-02-07 23:01:03 +01:00
Hans van Kranenburg
c2bb25e01c Merge branch 'wip' 2016-02-07 19:44:45 +01:00
Hans van Kranenburg
f11fde200b Typofix 2016-02-07 19:44:35 +01:00
Hans van Kranenburg
ef0e322ad9 Add LICENSE, COPYING
Because free software needs free documentation!
2016-02-07 19:18:34 +01:00
Hans van Kranenburg
3d89e5443b Another nice idea... 2016-02-07 18:34:49 +01:00
Hans van Kranenburg
2d2c5c946f Merge branch 'wip' 2016-02-07 18:30:42 +01:00
Hans van Kranenburg
e7e86d99dc Cleanup front page README...
...so the first part can be "released"...
2016-02-07 18:29:57 +01:00
Hans van Kranenburg
43cf980590 bgp-contd: indenting fix 2015-12-13 00:21:37 +01:00
Hans van Kranenburg
e8592045ca bgp-intro: link to bgp-contd 2015-12-13 00:08:21 +01:00
Hans van Kranenburg
b95229517a bgp-contd: finish the page! bonus material 2015-12-13 00:07:29 +01:00
Hans van Kranenburg
4cb6abb3cd bgp-contd: Redundancy for the branch office 2015-12-12 23:00:01 +01:00
Hans van Kranenburg
8cf317b10e bgp-contd: asymmetric traffic, bird config diagram
Blah
2015-12-01 23:29:54 +01:00
Hans van Kranenburg
cba5db078e bgp-contd: Fix text after swapping R10, R11 2015-11-29 18:26:00 +01:00
Hans van Kranenburg
1cd542afed bgp-contd: picture about disabling r0-r11 link 2015-11-29 17:57:59 +01:00
Hans van Kranenburg
5d1c1b14de bgp-contd: Fixing iBGP between border routers
Also, no need for traceroute6, just use traceroute
2015-11-29 17:52:55 +01:00
Hans van Kranenburg
2c454299e4 bgp-contd: fix local address R11 2015-11-29 17:01:11 +01:00
Hans van Kranenburg
4331ffb992 bgp-contd: Redundancy and asymmetric traffic flows 2015-11-28 17:51:36 +01:00
Hans van Kranenburg
2b1fa05b11 lxcbird: minor fixes, improvements 2015-11-28 15:52:26 +01:00
Hans van Kranenburg
dd0dd1af98 bgp-contd: swap R10,R11, add hosts file
When swapping the place of R10 and R11, traffic flow between AS65000 and
AS65010 will be asymmetric by default. It's nice to be able to show this
when introducing the possibility of traffic taking multiple paths.
2015-11-28 15:51:59 +01:00
Hans van Kranenburg
f8deaa5300 Blah blah... 2015-11-21 22:41:54 +01:00
Hans van Kranenburg
98d1ce0315 Also install iperf3 to measure connection stability
iperf3 can be used to send data fast or slow over a TCP connection,
detecting packet loss. We'll be using it in the tutorials to show that
it's possible to fail over routes dynamically without any loss of
connectivity.
2015-11-21 22:39:23 +01:00
Hans van Kranenburg
9757213fe4 Add some links between pages 2015-11-21 19:37:37 +01:00
Hans van Kranenburg
b13ae2e356 bgp-contd: actually show R12 output 2015-11-21 19:34:31 +01:00
Hans van Kranenburg
ada928ead4 bgp-contd: rename interface ibgp to lan 2015-09-19 23:08:40 +02:00
Hans van Kranenburg
79bd71548b bgp-contd: rename interface ibgp to lan, confusing 2015-09-19 23:03:34 +02:00
Hans van Kranenburg
bfa4d5cd74 WIP bgp-contd 2015-09-14 00:47:01 +02:00
Hans van Kranenburg
a09ec025cc bgp/ospf-intro: sleep between lxc-start
It often blows up if you try them directly after each other. Meh.
Also, some little adjustments to the text.
2015-09-14 00:45:34 +02:00
Hans van Kranenburg
ef081263a1 bgp-contd: put network numbers in graph 2015-09-13 22:53:44 +02:00
Hans van Kranenburg
8b957c2340 lxcbird: some more about debian recommends 2015-08-14 01:10:35 +02:00