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

126 Commits

Author SHA1 Message Date
Hans van Kranenburg
7d198e2bc0 README: s/freenode/libera/ 2021-11-23 22:42:41 +01:00
Hans van Kranenburg
e3b5d60469 lxcbird/README: mention lxc storage differences
Fixes: https://github.com/knorrie/network-examples/issues/12
2021-03-07 21:08:54 +01:00
Hans van Kranenburg
579474e3e1 lxcbird/README: explicitly mention chmod +x
Fixes: https://github.com/knorrie/network-examples/issues/11
2021-03-07 21:07:24 +01:00
NeverBehave
f000d41cb5 ospf-intro/README: fix typo
image -> imagine
2021-01-28 23:03:38 +01:00
Hans van Kranenburg
c54efe2bd2 Add cleanup instructions 2021-01-28 22:52:14 +01:00
Paul Warren
3ee4723b7b bgp-contd/lxc: update for Debian Buster 2021-01-28 20:59:44 +01:00
Paul Warren
fb434c8dcf bgp-intro/lxc: update for Debian Buster 2021-01-28 20:59:32 +01:00
Paul Warren
c2b80cd37d ospf-intro/lxc: update for Debian Buster 2021-01-28 20:59:11 +01:00
Paul Warren
8bf4ffa02a birdhouse-intro/README: update for Debian Buster 2021-01-28 20:58:25 +01:00
Paul Warren
27d24018ae lxcbird/README: update for Debian Buster 2021-01-28 20:57:23 +01:00
Hans van Kranenburg
77768c44e0 lxcbird: add a comment about disabling apparmor
Yolo.
2021-01-28 20:56:40 +01:00
Hans van Kranenburg
bda997f48f Copy paste some changed output of commands...
...so that it's more look-a-like again.
2021-01-28 20:56:40 +01:00
Hans van Kranenburg
8a57ef7303 lxcbird/README: install lxc-templates
...or otherwise, you're greeted with:

/var/lib/lxc (master) 0-# MIRROR=http://ftp.nl.debian.org/debian lxc-create -t debian -B btrfs -n birdbase -- -r buster
lxc-create: birdbase: utils.c: get_template_path: 918 No such file or directory - bad template: debian
lxc-create: birdbase: lxccontainer.c: do_lxcapi_create: 1786 Unknown template "debian"
lxc-create: birdbase: tools/lxc_create.c: main: 327 Failed to create container birdbase
2021-01-28 20:56:40 +01:00
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