From f04035386a52f6c875f798dcbc0964d6cdf96e65 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 24 Feb 2015 14:20:42 +0100 Subject: [PATCH 1/7] Added openvswitch simpe bridge lab --- .../ovs-1switch-2clients/client1.startup | 5 +++++ .../ovs-1switch-2clients/client1/dummy | 0 .../ovs-1switch-2clients/client2.startup | 5 +++++ .../ovs-1switch-2clients/client2/dummy | 0 damwaar/openvswitch/ovs-1switch-2clients/lab.conf | 6 ++++++ .../ovs-1switch-2clients/switch1-eth0.dump | Bin 0 -> 596 bytes .../ovs-1switch-2clients/switch1.startup | 13 +++++++++++++ .../ovs-1switch-2clients/switch1/dummy | 0 8 files changed, 29 insertions(+) create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/client1.startup create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/client1/dummy create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/client2.startup create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/client2/dummy create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/lab.conf create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/switch1-eth0.dump create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/switch1.startup create mode 100644 damwaar/openvswitch/ovs-1switch-2clients/switch1/dummy diff --git a/damwaar/openvswitch/ovs-1switch-2clients/client1.startup b/damwaar/openvswitch/ovs-1switch-2clients/client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-1switch-2clients/client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-1switch-2clients/client1/dummy b/damwaar/openvswitch/ovs-1switch-2clients/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-1switch-2clients/client2.startup b/damwaar/openvswitch/ovs-1switch-2clients/client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-1switch-2clients/client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-1switch-2clients/client2/dummy b/damwaar/openvswitch/ovs-1switch-2clients/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-1switch-2clients/lab.conf b/damwaar/openvswitch/ovs-1switch-2clients/lab.conf new file mode 100644 index 0000000..a2d1bbb --- /dev/null +++ b/damwaar/openvswitch/ovs-1switch-2clients/lab.conf @@ -0,0 +1,6 @@ +client1[0]="A" + +client2[0]="B" + +switch1[0]="A" +switch1[1]="B" diff --git a/damwaar/openvswitch/ovs-1switch-2clients/switch1-eth0.dump b/damwaar/openvswitch/ovs-1switch-2clients/switch1-eth0.dump new file mode 100644 index 0000000000000000000000000000000000000000..dd32128f6093ddc8568db0a5a3a93c0a05201af8 GIT binary patch literal 596 zcmca|c+)~A1{MYw`2U}Qff2|#TKOi#r;wRJ3&;lH|6t&Ca=O+z2@W;}Mh*rx76wKL zpNoNk38Ej!Vg%{@jHDByX5R0~6K`|FbuvNtAoU0{KsvV-GczOs4Fh3_8mOHNt_%zz z*H$?&I57JE0oe%B%faw{AM107ol)(~3>=(X+&sK|`~reP!Xlz#;u4Zl(lWAg@(PMd z$||aA>Kd9_+B&*=`UZwZ#wMm_<{%qIOAt1qxD{+8>s|(+jR~(nwt;K~h6F`69s}A~ wIT>Li7C+tw`|&iwkCwB6eq;ja6kkQUA3^$_BiV?>j}O6qJcjV2BSkg>02B_3`~Uy| literal 0 HcmV?d00001 diff --git a/damwaar/openvswitch/ovs-1switch-2clients/switch1.startup b/damwaar/openvswitch/ovs-1switch-2clients/switch1.startup new file mode 100644 index 0000000..bbbbf34 --- /dev/null +++ b/damwaar/openvswitch/ovs-1switch-2clients/switch1.startup @@ -0,0 +1,13 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip link set eth0 up +$ip link set eth1 up + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 eth1 + +$ip link set br1 up diff --git a/damwaar/openvswitch/ovs-1switch-2clients/switch1/dummy b/damwaar/openvswitch/ovs-1switch-2clients/switch1/dummy new file mode 100644 index 0000000..e69de29 From dbbaa9a07c764b27fe6249495b8b59deca07138c Mon Sep 17 00:00:00 2001 From: user Date: Tue, 24 Feb 2015 16:27:31 +0100 Subject: [PATCH 2/7] Added a lab showing STP possibilies of openvswitch --- .../ovs-3switches-3clients/client1.startup | 5 +++++ .../ovs-3switches-3clients/client1/dummy | 0 .../ovs-3switches-3clients/client2.startup | 5 +++++ .../ovs-3switches-3clients/client2/dummy | 0 .../ovs-3switches-3clients/client3.startup | 5 +++++ .../ovs-3switches-3clients/client3/dummy | 0 .../openvswitch/ovs-3switches-3clients/lab.conf | 15 +++++++++++++++ .../ovs-3switches-3clients/switch1.startup | 16 ++++++++++++++++ .../ovs-3switches-3clients/switch1/dummy | 0 .../ovs-3switches-3clients/switch2.startup | 16 ++++++++++++++++ .../ovs-3switches-3clients/switch2/dummy | 0 .../ovs-3switches-3clients/switch3.startup | 16 ++++++++++++++++ .../ovs-3switches-3clients/switch3/dummy | 0 13 files changed, 78 insertions(+) create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client1.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client1/dummy create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client2.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client2/dummy create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client3.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/client3/dummy create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/lab.conf create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch1.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch1/dummy create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch2.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch2/dummy create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch3.startup create mode 100644 damwaar/openvswitch/ovs-3switches-3clients/switch3/dummy diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client1.startup b/damwaar/openvswitch/ovs-3switches-3clients/client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client1/dummy b/damwaar/openvswitch/ovs-3switches-3clients/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client2.startup b/damwaar/openvswitch/ovs-3switches-3clients/client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client2/dummy b/damwaar/openvswitch/ovs-3switches-3clients/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client3.startup b/damwaar/openvswitch/ovs-3switches-3clients/client3.startup new file mode 100644 index 0000000..61f3e4b --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/client3.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.3/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/client3/dummy b/damwaar/openvswitch/ovs-3switches-3clients/client3/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/lab.conf b/damwaar/openvswitch/ovs-3switches-3clients/lab.conf new file mode 100644 index 0000000..5d2f728 --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/lab.conf @@ -0,0 +1,15 @@ +client1[0]="A" +client2[0]="B" +client3[0]="C" + +switch1[0]="A" +switch1[1]="D" +switch1[2]="F" + +switch2[0]="B" +switch2[1]="D" +switch2[2]="E" + +switch3[0]="C" +switch3[1]="F" +switch3[2]="E" diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup new file mode 100644 index 0000000..cf12aec --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip link set eth0 up +$ip link set eth1 up +$ip link set eth2 up + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 eth1 +$ovsvsctl add-port br1 eth2 +$ovsvsctl set Bridge br1 stp_enable=on + +$ip link set br1 up diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch1/dummy b/damwaar/openvswitch/ovs-3switches-3clients/switch1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup new file mode 100644 index 0000000..9f75a91 --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip link set eth0 up +$ip link set eth1 up +$ip link set eth2 up + +$ovsvsctl add-br br2 +$ovsvsctl add-port br2 eth0 +$ovsvsctl add-port br2 eth1 +$ovsvsctl add-port br2 eth2 +$ovsvsctl set Bridge br2 stp_enable=on + +$ip link set br2 up diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch2/dummy b/damwaar/openvswitch/ovs-3switches-3clients/switch2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup new file mode 100644 index 0000000..7ff165d --- /dev/null +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip link set eth0 up +$ip link set eth1 up +$ip link set eth2 up + +$ovsvsctl add-br br3 +$ovsvsctl add-port br3 eth0 +$ovsvsctl add-port br3 eth1 +$ovsvsctl add-port br3 eth2 +$ovsvsctl set Bridge br2 stp_enable=on + +$ip link set br3 up diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch3/dummy b/damwaar/openvswitch/ovs-3switches-3clients/switch3/dummy new file mode 100644 index 0000000..e69de29 From 797d3caef8589a8d7e59c8b062a866d2c1539a6a Mon Sep 17 00:00:00 2001 From: Damien Arnoux Date: Sun, 8 Mar 2015 19:42:22 +0100 Subject: [PATCH 3/7] Added labs : Debug STP with openvswitch Lab with a GRE tunnel between 2 openvswitch switches Lab with a VXLAN tunnel between 2 openvswitch switches --- .../client1.startup | 5 +++++ .../client1/dummy | 0 .../client2.startup | 5 +++++ .../client2/dummy | 0 .../ovs-2switches-1router-2clients-GRE/lab.conf | 11 +++++++++++ .../router1.startup | 7 +++++++ .../router1/dummy | 0 .../switch1.startup | 16 ++++++++++++++++ .../switch1/dummy | 0 .../switch2.startup | 15 +++++++++++++++ .../switch2/dummy | 0 .../client1.startup | 5 +++++ .../client1/dummy | 0 .../client2.startup | 5 +++++ .../client2/dummy | 0 .../lab.conf | 11 +++++++++++ .../router1.startup | 7 +++++++ .../router1/dummy | 0 .../switch1.startup | 16 ++++++++++++++++ .../switch1/dummy | 0 .../switch2.startup | 15 +++++++++++++++ .../switch2/dummy | 0 .../ovs-3switches-3clients/switch1.startup | 2 -- .../ovs-3switches-3clients/switch2.startup | 2 -- .../ovs-3switches-3clients/switch3.startup | 2 -- 25 files changed, 118 insertions(+), 6 deletions(-) create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/lab.conf create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/lab.conf create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2/dummy diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/lab.conf b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/lab.conf new file mode 100644 index 0000000..8bbde9a --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/lab.conf @@ -0,0 +1,11 @@ +client1[0]="A" +client2[0]="B" + +switch1[0]="A" +switch1[1]="C" + +switch2[0]="B" +switch2[1]="D" + +router1[0]="C" +router1[1]="D" diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1.startup new file mode 100644 index 0000000..a1a5563 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip addr add 192.168.0.1/30 dev eth0 +$ip addr add 192.168.0.5/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/router1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1.startup new file mode 100644 index 0000000..0e76b54 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 192.168.0.2/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.4/30 via 192.168.0.1 + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 gre1 -- set interface gre1 type=gre options:remote_ip=192.168.0.6 + diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2.startup new file mode 100644 index 0000000..4bfe7c4 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2.startup @@ -0,0 +1,15 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 192.168.0.6/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.0/30 via 192.168.0.5 + +$ovsvsctl add-br br2 +$ovsvsctl add-port br2 eth0 +$ovsvsctl add-port br2 gre2 -- set interface gre2 type=gre options:remote_ip=192.168.0.2 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE/switch2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/lab.conf b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/lab.conf new file mode 100644 index 0000000..8bbde9a --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/lab.conf @@ -0,0 +1,11 @@ +client1[0]="A" +client2[0]="B" + +switch1[0]="A" +switch1[1]="C" + +switch2[0]="B" +switch2[1]="D" + +router1[0]="C" +router1[1]="D" diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1.startup new file mode 100644 index 0000000..a1a5563 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip addr add 192.168.0.1/30 dev eth0 +$ip addr add 192.168.0.5/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/router1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1.startup new file mode 100644 index 0000000..d10db46 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 192.168.0.2/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.4/30 via 192.168.0.1 + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 vxlan1 -- set interface vxlan1 type=vxlan options:remote_ip=192.168.0.6 + diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2.startup new file mode 100644 index 0000000..42afbfc --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2.startup @@ -0,0 +1,15 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 192.168.0.6/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.0/30 via 192.168.0.5 + +$ovsvsctl add-br br2 +$ovsvsctl add-port br2 eth0 +$ovsvsctl add-port br2 vxlan2 -- set interface vxlan2 type=vxlan options:remote_ip=192.168.0.2 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-VXLAN/switch2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup index cf12aec..64fc37b 100644 --- a/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch1.startup @@ -12,5 +12,3 @@ $ovsvsctl add-port br1 eth0 $ovsvsctl add-port br1 eth1 $ovsvsctl add-port br1 eth2 $ovsvsctl set Bridge br1 stp_enable=on - -$ip link set br1 up diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup index 9f75a91..53cc66f 100644 --- a/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch2.startup @@ -12,5 +12,3 @@ $ovsvsctl add-port br2 eth0 $ovsvsctl add-port br2 eth1 $ovsvsctl add-port br2 eth2 $ovsvsctl set Bridge br2 stp_enable=on - -$ip link set br2 up diff --git a/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup b/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup index 7ff165d..1573b8d 100644 --- a/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup +++ b/damwaar/openvswitch/ovs-3switches-3clients/switch3.startup @@ -12,5 +12,3 @@ $ovsvsctl add-port br3 eth0 $ovsvsctl add-port br3 eth1 $ovsvsctl add-port br3 eth2 $ovsvsctl set Bridge br2 stp_enable=on - -$ip link set br3 up From 52dff2f73ef4bb06acd7487efc01b59bd70931fa Mon Sep 17 00:00:00 2001 From: Damien Arnoux Date: Mon, 30 Mar 2015 21:26:51 +0200 Subject: [PATCH 4/7] Added Labs : GRE Tunnel VXLAN Tunnel GRE-over-IPSEC tunnel OSPF Complete Infrastructure --- damwaar/netkit-lab_ospf/.goutputstream-D5J9TX | 0 damwaar/netkit-lab_ospf/LICENSE | 339 ++++++++++++++++++ damwaar/netkit-lab_ospf/bb0.startup | 5 + .../netkit-lab_ospf/bb0/etc/quagga/bgpd.conf | 36 ++ .../netkit-lab_ospf/bb0/etc/quagga/daemons | 14 + .../netkit-lab_ospf/bb0/etc/quagga/ospfd.conf | 24 ++ .../bb0/etc/quagga/ospfd.conf~ | 20 ++ .../netkit-lab_ospf/bb0/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/bb1.startup | 5 + .../netkit-lab_ospf/bb1/etc/quagga/daemons | 14 + .../netkit-lab_ospf/bb1/etc/quagga/ospfd.conf | 22 ++ .../bb1/etc/quagga/ospfd.conf~ | 21 ++ .../netkit-lab_ospf/bb1/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/bb2.startup | 4 + .../netkit-lab_ospf/bb2/etc/quagga/daemons | 14 + .../netkit-lab_ospf/bb2/etc/quagga/ospfd.conf | 18 + .../bb2/etc/quagga/ospfd.conf~ | 13 + .../netkit-lab_ospf/bb2/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/bb3.startup | 4 + .../netkit-lab_ospf/bb3/etc/quagga/daemons | 14 + .../netkit-lab_ospf/bb3/etc/quagga/ospfd.conf | 19 + .../bb3/etc/quagga/ospfd.conf~ | 17 + .../netkit-lab_ospf/bb3/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/lab.conf | 48 +++ damwaar/netkit-lab_ospf/r0.startup | 5 + .../netkit-lab_ospf/r0/etc/quagga/bgpd.conf | 36 ++ damwaar/netkit-lab_ospf/r0/etc/quagga/daemons | 14 + .../netkit-lab_ospf/r0/etc/quagga/ospfd.conf | 24 ++ .../netkit-lab_ospf/r0/etc/quagga/ospfd.conf~ | 20 ++ .../netkit-lab_ospf/r0/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/r1.startup | 5 + damwaar/netkit-lab_ospf/r1/etc/quagga/daemons | 14 + .../netkit-lab_ospf/r1/etc/quagga/ospfd.conf | 22 ++ .../netkit-lab_ospf/r1/etc/quagga/ospfd.conf~ | 22 ++ .../netkit-lab_ospf/r1/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/r2.startup | 4 + damwaar/netkit-lab_ospf/r2/etc/quagga/daemons | 14 + .../netkit-lab_ospf/r2/etc/quagga/ospfd.conf | 19 + .../netkit-lab_ospf/r2/etc/quagga/ospfd.conf~ | 13 + .../netkit-lab_ospf/r2/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/r3.startup | 4 + damwaar/netkit-lab_ospf/r3/etc/quagga/daemons | 14 + .../netkit-lab_ospf/r3/etc/quagga/ospfd.conf | 19 + .../netkit-lab_ospf/r3/etc/quagga/ospfd.conf~ | 17 + .../netkit-lab_ospf/r3/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/rr0.startup | 4 + .../rr0/etc/quagga/.goutputstream-BWK4TX | 0 .../netkit-lab_ospf/rr0/etc/quagga/bgpd.conf | 36 ++ .../netkit-lab_ospf/rr0/etc/quagga/daemons | 14 + .../netkit-lab_ospf/rr0/etc/quagga/ospfd.conf | 24 ++ .../rr0/etc/quagga/ospfd.conf~ | 23 ++ .../netkit-lab_ospf/rr0/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/rr1.startup | 5 + .../netkit-lab_ospf/rr1/etc/quagga/daemons | 14 + .../netkit-lab_ospf/rr1/etc/quagga/ospfd.conf | 22 ++ .../rr1/etc/quagga/ospfd.conf~ | 20 ++ .../netkit-lab_ospf/rr1/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/rr2.startup | 4 + .../netkit-lab_ospf/rr2/etc/quagga/daemons | 14 + .../netkit-lab_ospf/rr2/etc/quagga/ospfd.conf | 19 + .../rr2/etc/quagga/ospfd.conf~ | 13 + .../netkit-lab_ospf/rr2/etc/quagga/zebra.conf | 2 + damwaar/netkit-lab_ospf/rr3.startup | 4 + .../netkit-lab_ospf/rr3/etc/quagga/daemons | 14 + .../netkit-lab_ospf/rr3/etc/quagga/ospfd.conf | 19 + .../rr3/etc/quagga/ospfd.conf~ | 17 + .../netkit-lab_ospf/rr3/etc/quagga/zebra.conf | 2 + .../client1.startup | 5 + .../client1/dummy | 0 .../client2.startup | 5 + .../client2/dummy | 0 .../lab.conf | 11 + .../router1.startup | 7 + .../router1/dummy | 0 .../switch1.startup | 21 ++ .../switch1/dummy | 0 .../switch2.startup | 22 ++ .../switch2/dummy | 0 .../ovs-VXLAN-BGP-OSPF-Infrastructure/LICENSE | 339 ++++++++++++++++++ .../bb0.startup | 5 + .../bb0/etc/quagga/bgpd.conf | 36 ++ .../bb0/etc/quagga/daemons | 14 + .../bb0/etc/quagga/ospfd.conf | 24 ++ .../bb0/etc/quagga/ospfd.conf~ | 20 ++ .../bb0/etc/quagga/zebra.conf | 2 + .../bb1.startup | 5 + .../bb1/etc/quagga/daemons | 14 + .../bb1/etc/quagga/ospfd.conf | 22 ++ .../bb1/etc/quagga/ospfd.conf~ | 21 ++ .../bb1/etc/quagga/zebra.conf | 2 + .../bb2.startup | 4 + .../bb2/etc/quagga/daemons | 14 + .../bb2/etc/quagga/ospfd.conf | 18 + .../bb2/etc/quagga/ospfd.conf~ | 13 + .../bb2/etc/quagga/zebra.conf | 2 + .../bb3.startup | 4 + .../bb3/etc/quagga/daemons | 14 + .../bb3/etc/quagga/ospfd.conf | 19 + .../bb3/etc/quagga/ospfd.conf~ | 17 + .../bb3/etc/quagga/zebra.conf | 2 + .../lab.conf | 57 +++ .../ovs-client1.startup | 5 + .../ovs-client1/dummy | 0 .../ovs-client2.startup | 5 + .../ovs-client2/dummy | 0 .../ovs-lab.conf | 9 + .../ovs-switch1.startup | 16 + .../ovs-switch1/dummy | 0 .../ovs-switch2.startup | 15 + .../ovs-switch2/dummy | 0 .../r0.startup | 5 + .../r0/etc/quagga/bgpd.conf | 36 ++ .../r0/etc/quagga/daemons | 14 + .../r0/etc/quagga/ospfd.conf | 24 ++ .../r0/etc/quagga/ospfd.conf~ | 20 ++ .../r0/etc/quagga/zebra.conf | 2 + .../r1.startup | 5 + .../r1/etc/quagga/daemons | 14 + .../r1/etc/quagga/ospfd.conf | 22 ++ .../r1/etc/quagga/ospfd.conf~ | 22 ++ .../r1/etc/quagga/zebra.conf | 2 + .../r2.startup | 4 + .../r2/etc/quagga/daemons | 14 + .../r2/etc/quagga/ospfd.conf | 19 + .../r2/etc/quagga/ospfd.conf~ | 13 + .../r2/etc/quagga/zebra.conf | 2 + .../r3.startup | 4 + .../r3/etc/quagga/daemons | 14 + .../r3/etc/quagga/ospfd.conf | 19 + .../r3/etc/quagga/ospfd.conf~ | 17 + .../r3/etc/quagga/zebra.conf | 2 + .../rr0.startup | 4 + .../rr0/etc/quagga/.goutputstream-BWK4TX | 0 .../rr0/etc/quagga/bgpd.conf | 36 ++ .../rr0/etc/quagga/daemons | 14 + .../rr0/etc/quagga/ospfd.conf | 24 ++ .../rr0/etc/quagga/ospfd.conf~ | 23 ++ .../rr0/etc/quagga/zebra.conf | 2 + .../rr1.startup | 5 + .../rr1/etc/quagga/daemons | 14 + .../rr1/etc/quagga/ospfd.conf | 22 ++ .../rr1/etc/quagga/ospfd.conf~ | 20 ++ .../rr1/etc/quagga/zebra.conf | 2 + .../rr2.startup | 4 + .../rr2/etc/quagga/daemons | 14 + .../rr2/etc/quagga/ospfd.conf | 19 + .../rr2/etc/quagga/ospfd.conf~ | 13 + .../rr2/etc/quagga/zebra.conf | 2 + .../rr3.startup | 4 + .../rr3/etc/quagga/daemons | 14 + .../rr3/etc/quagga/ospfd.conf | 19 + .../rr3/etc/quagga/ospfd.conf~ | 17 + .../rr3/etc/quagga/zebra.conf | 2 + 153 files changed, 2544 insertions(+) create mode 100644 damwaar/netkit-lab_ospf/.goutputstream-D5J9TX create mode 100644 damwaar/netkit-lab_ospf/LICENSE create mode 100644 damwaar/netkit-lab_ospf/bb0.startup create mode 100644 damwaar/netkit-lab_ospf/bb0/etc/quagga/bgpd.conf create mode 100644 damwaar/netkit-lab_ospf/bb0/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/bb0/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/bb1.startup create mode 100644 damwaar/netkit-lab_ospf/bb1/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/bb1/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/bb2.startup create mode 100644 damwaar/netkit-lab_ospf/bb2/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/bb2/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/bb3.startup create mode 100644 damwaar/netkit-lab_ospf/bb3/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/bb3/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/lab.conf create mode 100644 damwaar/netkit-lab_ospf/r0.startup create mode 100644 damwaar/netkit-lab_ospf/r0/etc/quagga/bgpd.conf create mode 100644 damwaar/netkit-lab_ospf/r0/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/r0/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/r1.startup create mode 100644 damwaar/netkit-lab_ospf/r1/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/r1/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/r2.startup create mode 100644 damwaar/netkit-lab_ospf/r2/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/r2/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/r3.startup create mode 100644 damwaar/netkit-lab_ospf/r3/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/r3/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/rr0.startup create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/.goutputstream-BWK4TX create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/bgpd.conf create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/rr0/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/rr1.startup create mode 100644 damwaar/netkit-lab_ospf/rr1/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/rr1/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/rr2.startup create mode 100644 damwaar/netkit-lab_ospf/rr2/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/rr2/etc/quagga/zebra.conf create mode 100644 damwaar/netkit-lab_ospf/rr3.startup create mode 100644 damwaar/netkit-lab_ospf/rr3/etc/quagga/daemons create mode 100644 damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf create mode 100644 damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/netkit-lab_ospf/rr3/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/lab.conf create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1/dummy create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2.startup create mode 100644 damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2/dummy create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/LICENSE create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/bgpd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/lab.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1/dummy create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2/dummy create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-lab.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1/dummy create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2/dummy create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/bgpd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/.goutputstream-BWK4TX create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/bgpd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/zebra.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3.startup create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/daemons create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf~ create mode 100644 damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/zebra.conf diff --git a/damwaar/netkit-lab_ospf/.goutputstream-D5J9TX b/damwaar/netkit-lab_ospf/.goutputstream-D5J9TX new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/netkit-lab_ospf/LICENSE b/damwaar/netkit-lab_ospf/LICENSE new file mode 100644 index 0000000..d511905 --- /dev/null +++ b/damwaar/netkit-lab_ospf/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/damwaar/netkit-lab_ospf/bb0.startup b/damwaar/netkit-lab_ospf/bb0.startup new file mode 100644 index 0000000..35e7e65 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0.startup @@ -0,0 +1,5 @@ +ifconfig eth0 140.0.0.2 netmask 255.255.255.0 up +ifconfig eth1 145.0.0.2 netmask 255.255.255.0 up +ifconfig eth2 146.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/bb0/etc/quagga/bgpd.conf b/damwaar/netkit-lab_ospf/bb0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..a793072 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 10 +network 140.0.0.0/24 +network 145.0.0.0/24 +network 146.0.0.0/24 +network 10.0.0.0/24 +network 10.0.1.0/24 +network 10.0.2.0/24 +! +neighbor 145.0.0.1 remote-as 172 +neighbor 145.0.0.1 description Router r0 +neighbor 145.0.0.1 prefix-list as172In in +neighbor 145.0.0.1 prefix-list defaultOut out +! +neighbor 146.0.0.1 remote-as 192 +neighbor 146.0.0.1 description Router rr0 +neighbor 146.0.0.1 prefix-list as192In in +neighbor 146.0.0.1 prefix-list defaultOut out +! +ip prefix-list as172In permit any +ip prefix-list as192In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/netkit-lab_ospf/bb0/etc/quagga/daemons b/damwaar/netkit-lab_ospf/bb0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..18ae1a1 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +network 140.0.0.0/24 area 0.0.0.0 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b1b864c --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 21 +interface eth1 +ospf cost 36 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/bb0/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/bb0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/bb1.startup b/damwaar/netkit-lab_ospf/bb1.startup new file mode 100644 index 0000000..c9dbf0e --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb1.startup @@ -0,0 +1,5 @@ +ifconfig eth0 140.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.2.2 netmask 255.255.255.0 up +ifconfig eth2 10.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/bb1/etc/quagga/daemons b/damwaar/netkit-lab_ospf/bb1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..3eada4d --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +network 140.0.0.0/24 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b184c84 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb1/etc/quagga/ospfd.conf~ @@ -0,0 +1,21 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb1/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/bb1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/bb2.startup b/damwaar/netkit-lab_ospf/bb2.startup new file mode 100644 index 0000000..b25a142 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 10.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/bb2/etc/quagga/daemons b/damwaar/netkit-lab_ospf/bb2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..c0b80fb --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf @@ -0,0 +1,18 @@ +! +hostname ospfd +password zebra +enable password zebra +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..4434d6c --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb2/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/bb2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/bb3.startup b/damwaar/netkit-lab_ospf/bb3.startup new file mode 100644 index 0000000..aa554c1 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 10.0.2.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/bb3/etc/quagga/daemons b/damwaar/netkit-lab_ospf/bb3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..45492ce --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..6cf0250 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 7 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/bb3/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/bb3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/bb3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/lab.conf b/damwaar/netkit-lab_ospf/lab.conf new file mode 100644 index 0000000..35953f9 --- /dev/null +++ b/damwaar/netkit-lab_ospf/lab.conf @@ -0,0 +1,48 @@ +LAB_DESCRIPTION="A network showing the operation of the OSPF routing protocol in a simple scenario with a single area" +LAB_VERSION=1.4 +LAB_AUTHOR="G. Di Battista, M. Rimondini" +LAB_EMAIL=contact@netkit.org +LAB_WEB=http://www.netkit.org/ + +bb0[0]=AA +bb0[1]=A +bb0[2]=C + +bb1[0]=AA +bb1[1]=AC +bb1[2]=AB + +bb2[0]=AB +bb2[1]=AD + +bb3[0]=AC +bb3[1]=AD + +r0[0]=BA +r0[1]=A +r0[2]=B + +r1[0]=BA +r1[1]=BB +r1[2]=BC + +r2[0]=BD +r2[1]=BB + +r3[0]=BD +r3[1]=BC + +rr0[0]=CA +rr0[1]=B +rr0[2]=C + +rr1[0]=CA +rr1[1]=CB +rr1[2]=CC + +rr2[0]=CC +rr2[1]=CD + +rr3[0]=CB +rr3[1]=CD + diff --git a/damwaar/netkit-lab_ospf/r0.startup b/damwaar/netkit-lab_ospf/r0.startup new file mode 100644 index 0000000..06ae525 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0.startup @@ -0,0 +1,5 @@ +ifconfig eth0 141.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 145.0.0.1 netmask 255.255.255.0 up +ifconfig eth2 147.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/r0/etc/quagga/bgpd.conf b/damwaar/netkit-lab_ospf/r0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..f227650 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 172 +network 141.0.0.0/24 +network 145.0.0.0/24 +network 147.0.0.0/24 +network 172.16.0.0/24 +network 172.16.1.0/24 +network 172.16.2.0/24 +! +neighbor 145.0.0.2 remote-as 10 +neighbor 145.0.0.2 description Router bb0 +neighbor 145.0.0.2 prefix-list as10In in +neighbor 145.0.0.2 prefix-list defaultOut out +! +neighbor 147.0.0.1 remote-as 192 +neighbor 147.0.0.1 description Router rr0 +neighbor 147.0.0.1 prefix-list as192In in +neighbor 147.0.0.1 prefix-list defaultOut out +! +ip prefix-list as10In permit any +ip prefix-list as192In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/netkit-lab_ospf/r0/etc/quagga/daemons b/damwaar/netkit-lab_ospf/r0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..8456643 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/24 area 1.1.1.1 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b1b864c --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 21 +interface eth1 +ospf cost 36 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/r0/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/r0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/r1.startup b/damwaar/netkit-lab_ospf/r1.startup new file mode 100644 index 0000000..e7875a2 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r1.startup @@ -0,0 +1,5 @@ +ifconfig eth0 141.0.0.2 netmask 255.255.255.0 up +ifconfig eth1 172.16.0.2 netmask 255.255.255.0 up +ifconfig eth2 172.16.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/r1/etc/quagga/daemons b/damwaar/netkit-lab_ospf/r1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..e130a74 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/24 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..2aa16bf --- /dev/null +++ b/damwaar/netkit-lab_ospf/r1/etc/quagga/ospfd.conf~ @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r1/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/r1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/r2.startup b/damwaar/netkit-lab_ospf/r2.startup new file mode 100644 index 0000000..51c9bf3 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 172.16.2.1 netmask 255.255.255.0 up +ifconfig eth1 172.16.0.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/r2/etc/quagga/daemons b/damwaar/netkit-lab_ospf/r2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..5791975 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..4434d6c --- /dev/null +++ b/damwaar/netkit-lab_ospf/r2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r2/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/r2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/r3.startup b/damwaar/netkit-lab_ospf/r3.startup new file mode 100644 index 0000000..196f4b6 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 172.16.2.2 netmask 255.255.255.0 up +ifconfig eth1 172.16.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/r3/etc/quagga/daemons b/damwaar/netkit-lab_ospf/r3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..a77242c --- /dev/null +++ b/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 172.16.1.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..6cf0250 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 7 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/r3/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/r3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/r3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/rr0.startup b/damwaar/netkit-lab_ospf/rr0.startup new file mode 100644 index 0000000..42d6742 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0.startup @@ -0,0 +1,4 @@ +ifconfig eth0 142.0.0.1 netmask 255.255.255.0 up +ifconfig eth2 146.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 147.0.0.1 netmask 255.255.255.0 up +/etc/init.d/quagga start diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/.goutputstream-BWK4TX b/damwaar/netkit-lab_ospf/rr0/etc/quagga/.goutputstream-BWK4TX new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/bgpd.conf b/damwaar/netkit-lab_ospf/rr0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..abcdff5 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 192 +network 142.0.0.0/24 +network 146.0.0.0/24 +network 147.0.0.0/24 +network 192.168.0.0/24 +network 192.168.1.0/24 +network 192.168.2.0/24 +! +neighbor 146.0.0.2 remote-as 10 +neighbor 146.0.0.2 description Router bb0 +neighbor 146.0.0.2 prefix-list as10In in +neighbor 146.0.0.2 prefix-list defaultOut out +! +neighbor 147.0.0.2 remote-as 172 +neighbor 147.0.0.2 description Router r0 +neighbor 147.0.0.2 prefix-list as172In in +neighbor 147.0.0.2 prefix-list defaultOut out +! +ip prefix-list as10In permit any +ip prefix-list as172In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/daemons b/damwaar/netkit-lab_ospf/rr0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..854bd00 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/24 area 2.2.2.2 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..ddfe389 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/ospfd.conf~ @@ -0,0 +1,23 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/16 area 2.2.2.2 +network 146.0.0.0/16 +network 147.0.0.0/16 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/netkit-lab_ospf/rr0/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/rr0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/rr1.startup b/damwaar/netkit-lab_ospf/rr1.startup new file mode 100644 index 0000000..93a6333 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr1.startup @@ -0,0 +1,5 @@ +ifconfig eth1 192.168.2.1 netmask 255.255.255.0 up +ifconfig eth2 192.168.0.1 netmask 255.255.255.0 up +ifconfig eth0 142.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/rr1/etc/quagga/daemons b/damwaar/netkit-lab_ospf/rr1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..e1cd22c --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/24 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..1aa031a --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr1/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr1/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/rr1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/rr2.startup b/damwaar/netkit-lab_ospf/rr2.startup new file mode 100644 index 0000000..6daec70 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up +ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/rr2/etc/quagga/daemons b/damwaar/netkit-lab_ospf/rr2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..f7b2ff7 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..94abec1 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr2/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/rr2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/netkit-lab_ospf/rr3.startup b/damwaar/netkit-lab_ospf/rr3.startup new file mode 100644 index 0000000..7324648 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 192.168.2.2 netmask 255.255.255.0 up +ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/netkit-lab_ospf/rr3/etc/quagga/daemons b/damwaar/netkit-lab_ospf/rr3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf b/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..60c36c7 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 192.168.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..2475368 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 192.168.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/netkit-lab_ospf/rr3/etc/quagga/zebra.conf b/damwaar/netkit-lab_ospf/rr3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/lab.conf b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/lab.conf new file mode 100644 index 0000000..8bbde9a --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/lab.conf @@ -0,0 +1,11 @@ +client1[0]="A" +client2[0]="B" + +switch1[0]="A" +switch1[1]="C" + +switch2[0]="B" +switch2[1]="D" + +router1[0]="C" +router1[1]="D" diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1.startup new file mode 100644 index 0000000..a1a5563 --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip addr add 192.168.0.1/30 dev eth0 +$ip addr add 192.168.0.5/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/router1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1.startup new file mode 100644 index 0000000..a8b138e --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1.startup @@ -0,0 +1,21 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) +ovsofctl=$(which ovs-ofctl) +iptables=$(which iptables) + +/etc/init.d/openvswitch-switch start +/etc/init.d/openvswitch-ipsec start + +$ip addr add 192.168.0.2/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.4/30 via 192.168.0.1 + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 gre1 -- set interface gre1 type=ipsec_gre options:remote_ip=192.168.0.6 options:psk=toto + +$iptables -A INPUT -t mangle -p esp -j MARK --set-mark 1/1 +$iptables -A INPUT -t mangle -p udp --dport 4500 -j MARK --set-mark 1/1 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2.startup b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2.startup new file mode 100644 index 0000000..19014fd --- /dev/null +++ b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2.startup @@ -0,0 +1,22 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) +ovsofctl=$(which ovs-ofctl) +iptables=$(which iptables) + +/etc/init.d/openvswitch-switch start +/etc/init.d/openvswitch-ipsec start + +$ip addr add 192.168.0.6/30 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add 192.168.0.0/30 via 192.168.0.5 + +$ovsvsctl add-br br2 +$ovsvsctl add-port br2 eth0 +$ovsvsctl add-port br2 gre2 -- set interface gre2 type=ipsec_gre options:remote_ip=192.168.0.2 options:psk=toto + +$iptables -A INPUT -t mangle -p esp -j MARK --set-mark 1/1 +$iptables -A INPUT -t mangle -p udp --dport 4500 -j MARK --set-mark 1/1 + diff --git a/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2/dummy b/damwaar/openvswitch/ovs-2switches-1router-2clients-GRE-IPSEC/switch2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/LICENSE b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/LICENSE new file mode 100644 index 0000000..d511905 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0.startup new file mode 100644 index 0000000..35e7e65 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0.startup @@ -0,0 +1,5 @@ +ifconfig eth0 140.0.0.2 netmask 255.255.255.0 up +ifconfig eth1 145.0.0.2 netmask 255.255.255.0 up +ifconfig eth2 146.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/bgpd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..a793072 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 10 +network 140.0.0.0/24 +network 145.0.0.0/24 +network 146.0.0.0/24 +network 10.0.0.0/24 +network 10.0.1.0/24 +network 10.0.2.0/24 +! +neighbor 145.0.0.1 remote-as 172 +neighbor 145.0.0.1 description Router r0 +neighbor 145.0.0.1 prefix-list as172In in +neighbor 145.0.0.1 prefix-list defaultOut out +! +neighbor 146.0.0.1 remote-as 192 +neighbor 146.0.0.1 description Router rr0 +neighbor 146.0.0.1 prefix-list as192In in +neighbor 146.0.0.1 prefix-list defaultOut out +! +ip prefix-list as172In permit any +ip prefix-list as192In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..18ae1a1 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +network 140.0.0.0/24 area 0.0.0.0 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b1b864c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 21 +interface eth1 +ospf cost 36 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1.startup new file mode 100644 index 0000000..c9dbf0e --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1.startup @@ -0,0 +1,5 @@ +ifconfig eth0 140.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.2.2 netmask 255.255.255.0 up +ifconfig eth2 10.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..3eada4d --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +network 140.0.0.0/24 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b184c84 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/ospfd.conf~ @@ -0,0 +1,21 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2.startup new file mode 100644 index 0000000..b25a142 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 10.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..c0b80fb --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf @@ -0,0 +1,18 @@ +! +hostname ospfd +password zebra +enable password zebra +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..4434d6c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3.startup new file mode 100644 index 0000000..aa554c1 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 10.0.2.1 netmask 255.255.255.0 up +ifconfig eth1 10.0.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..45492ce --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..6cf0250 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 7 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/bb3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/lab.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/lab.conf new file mode 100644 index 0000000..c9d76c1 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/lab.conf @@ -0,0 +1,57 @@ +LAB_DESCRIPTION="A network showing the operation of the OSPF routing protocol in a simple scenario with a single area" +LAB_VERSION=1.4 +LAB_AUTHOR="G. Di Battista, M. Rimondini" +LAB_EMAIL=contact@netkit.org +LAB_WEB=http://www.netkit.org/ + +bb0[0]=AA +bb0[1]=A +bb0[2]=C + +bb1[0]=AA +bb1[1]=AC +bb1[2]=AB + +bb2[0]=AB +bb2[1]=AD + +bb3[0]=AC +bb3[1]=AD + +r0[0]=BA +r0[1]=A +r0[2]=B + +r1[0]=BA +r1[1]=BB +r1[2]=BC + +r2[0]=BD +r2[1]=BB + +r3[0]=BD +r3[1]=BC + +rr0[0]=CA +rr0[1]=B +rr0[2]=C + +rr1[0]=CA +rr1[1]=CB +rr1[2]=CC + +rr2[0]=CC +rr2[1]=CD + +rr3[0]=CB +rr3[1]=CD + +ovs-client1[0]="OA" +ovs-client2[0]="OB" + +ovs-switch1[0]="OA" +ovs-switch1[1]="CD" + +ovs-switch2[0]="OB" +ovs-switch2[1]="AD" + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1.startup new file mode 100644 index 0000000..4911164 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.1/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1/dummy b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2.startup new file mode 100644 index 0000000..4d2d53f --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2.startup @@ -0,0 +1,5 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.0.2/24 dev eth0 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2/dummy b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-lab.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-lab.conf new file mode 100644 index 0000000..bfa7717 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-lab.conf @@ -0,0 +1,9 @@ +ovs-client1[0]="OA" +ovs-client2[0]="OB" + +ovs-switch1[0]="OA" +ovs-switch1[1]="C" + +ovs-switch2[0]="OB" +ovs-switch2[1]="D" + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1.startup new file mode 100644 index 0000000..6159403 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1.startup @@ -0,0 +1,16 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 192.168.1.3/24 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add default via 192.168.1.1 + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 +$ovsvsctl add-port br1 vxlan1 -- set interface vxlan1 type=vxlan options:remote_ip=10.0.1.3 + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1/dummy b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2.startup new file mode 100644 index 0000000..bd47481 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2.startup @@ -0,0 +1,15 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip addr add 10.0.1.3/24 dev eth1 + +$ip link set eth0 up +$ip link set eth1 up + +$ip route add default via 10.0.1.1 + +$ovsvsctl add-br br2 +$ovsvsctl add-port br2 eth0 +$ovsvsctl add-port br2 vxlan2 -- set interface vxlan2 type=vxlan options:remote_ip=192.168.1.3 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2/dummy b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/ovs-switch2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0.startup new file mode 100644 index 0000000..06ae525 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0.startup @@ -0,0 +1,5 @@ +ifconfig eth0 141.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 145.0.0.1 netmask 255.255.255.0 up +ifconfig eth2 147.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/bgpd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..f227650 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 172 +network 141.0.0.0/24 +network 145.0.0.0/24 +network 147.0.0.0/24 +network 172.16.0.0/24 +network 172.16.1.0/24 +network 172.16.2.0/24 +! +neighbor 145.0.0.2 remote-as 10 +neighbor 145.0.0.2 description Router bb0 +neighbor 145.0.0.2 prefix-list as10In in +neighbor 145.0.0.2 prefix-list defaultOut out +! +neighbor 147.0.0.1 remote-as 192 +neighbor 147.0.0.1 description Router rr0 +neighbor 147.0.0.1 prefix-list as192In in +neighbor 147.0.0.1 prefix-list defaultOut out +! +ip prefix-list as10In permit any +ip prefix-list as192In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..8456643 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/24 area 1.1.1.1 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..b1b864c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 21 +interface eth1 +ospf cost 36 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1.startup new file mode 100644 index 0000000..e7875a2 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1.startup @@ -0,0 +1,5 @@ +ifconfig eth0 141.0.0.2 netmask 255.255.255.0 up +ifconfig eth1 172.16.0.2 netmask 255.255.255.0 up +ifconfig eth2 172.16.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..e130a74 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/24 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..2aa16bf --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/ospfd.conf~ @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +network 141.0.0.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2.startup new file mode 100644 index 0000000..51c9bf3 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 172.16.2.1 netmask 255.255.255.0 up +ifconfig eth1 172.16.0.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..5791975 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 172.16.1.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..4434d6c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3.startup new file mode 100644 index 0000000..196f4b6 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 172.16.2.2 netmask 255.255.255.0 up +ifconfig eth1 172.16.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..a77242c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 172.16.1.0/16 area 1.1.1.1 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..6cf0250 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 7 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 10.0.0.0/16 area 0.0.0.0 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/r3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0.startup new file mode 100644 index 0000000..42d6742 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0.startup @@ -0,0 +1,4 @@ +ifconfig eth0 142.0.0.1 netmask 255.255.255.0 up +ifconfig eth2 146.0.0.1 netmask 255.255.255.0 up +ifconfig eth1 147.0.0.1 netmask 255.255.255.0 up +/etc/init.d/quagga start diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/.goutputstream-BWK4TX b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/.goutputstream-BWK4TX new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/bgpd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/bgpd.conf new file mode 100644 index 0000000..abcdff5 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/bgpd.conf @@ -0,0 +1,36 @@ +! +hostname bgpd +password zebra +enable password zebra +! +router bgp 192 +network 142.0.0.0/24 +network 146.0.0.0/24 +network 147.0.0.0/24 +network 192.168.0.0/24 +network 192.168.1.0/24 +network 192.168.2.0/24 +! +neighbor 146.0.0.2 remote-as 10 +neighbor 146.0.0.2 description Router bb0 +neighbor 146.0.0.2 prefix-list as10In in +neighbor 146.0.0.2 prefix-list defaultOut out +! +neighbor 147.0.0.2 remote-as 172 +neighbor 147.0.0.2 description Router r0 +neighbor 147.0.0.2 prefix-list as172In in +neighbor 147.0.0.2 prefix-list defaultOut out +! +ip prefix-list as10In permit any +ip prefix-list as172In permit any +ip prefix-list defaultOut permit any +! +log file /var/log/quagga/bgpd.log +! +debug bgp +debug bgp events +debug bgp filters +debug bgp fsm +debug bgp keepalives +debug bgp updates +! diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/daemons new file mode 100644 index 0000000..6451bcc --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=yes +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf new file mode 100644 index 0000000..854bd00 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf @@ -0,0 +1,24 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/24 area 2.2.2.2 +redistribute connected +default-information originate always +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..ddfe389 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/ospfd.conf~ @@ -0,0 +1,23 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 10.0.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/16 area 2.2.2.2 +network 146.0.0.0/16 +network 147.0.0.0/16 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr0/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1.startup new file mode 100644 index 0000000..93a6333 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1.startup @@ -0,0 +1,5 @@ +ifconfig eth1 192.168.2.1 netmask 255.255.255.0 up +ifconfig eth2 192.168.0.1 netmask 255.255.255.0 up +ifconfig eth0 142.0.0.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf new file mode 100644 index 0000000..e1cd22c --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf @@ -0,0 +1,22 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +interface eth2 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/24 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..1aa031a --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/ospfd.conf~ @@ -0,0 +1,20 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +network 142.0.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr1/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2.startup new file mode 100644 index 0000000..6daec70 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2.startup @@ -0,0 +1,4 @@ +ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up +ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf new file mode 100644 index 0000000..f7b2ff7 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..94abec1 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/ospfd.conf~ @@ -0,0 +1,13 @@ +! +hostname ospfd +password zebra +enable password zebra +! +router ospf +! Speak OSPF on all interfaces falling in the listed subnets +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr2/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3.startup b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3.startup new file mode 100644 index 0000000..7324648 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3.startup @@ -0,0 +1,4 @@ +ifconfig eth0 192.168.2.2 netmask 255.255.255.0 up +ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up +/etc/init.d/quagga start + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/daemons b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/daemons new file mode 100644 index 0000000..a607093 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/daemons @@ -0,0 +1,14 @@ +# This file tells the zebra package +# which daemons to start. +# Entries are in the format: =(yes|no|priority) +# where 'yes' is equivalent to infinitely low priority, and +# lower numbers mean higher priority. Read +# /usr/doc/zebra/README.Debian for details. +# Daemons are: bgpd zebra ospfd ospf6d ripd ripngd +zebra=yes +bgpd=no +ospfd=yes +ospf6d=no +ripd=no +ripngd=no + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf new file mode 100644 index 0000000..60c36c7 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf @@ -0,0 +1,19 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +interface eth1 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 192.168.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf~ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf~ new file mode 100644 index 0000000..2475368 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/ospfd.conf~ @@ -0,0 +1,17 @@ +! +hostname ospfd +password zebra +enable password zebra +! +! Default cost for exiting an interface is 10 +interface eth0 +ospf cost 10 +! +router ospf +! Speak OSPF on all interfaces falling in 192.168.0.0/16 +network 192.168.0.0/16 area 2.2.2.2 +redistribute connected +! +log file /var/log/quagga/ospfd.log +! + diff --git a/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/zebra.conf b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/zebra.conf new file mode 100644 index 0000000..97eee44 --- /dev/null +++ b/damwaar/openvswitch/ovs-VXLAN-BGP-OSPF-Infrastructure/rr3/etc/quagga/zebra.conf @@ -0,0 +1,2 @@ +password zebra +enable password zebra From 04434d8850bd12a7e74ef7cabe9be49e2a900bdf Mon Sep 17 00:00:00 2001 From: damwaar Date: Mon, 30 Mar 2015 21:34:51 +0200 Subject: [PATCH 5/7] Delete .goutputstream-D5J9TX --- damwaar/netkit-lab_ospf/.goutputstream-D5J9TX | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 damwaar/netkit-lab_ospf/.goutputstream-D5J9TX diff --git a/damwaar/netkit-lab_ospf/.goutputstream-D5J9TX b/damwaar/netkit-lab_ospf/.goutputstream-D5J9TX deleted file mode 100644 index e69de29..0000000 From 78f90015c07d31f4b6f374ae956f191768f22b94 Mon Sep 17 00:00:00 2001 From: damwaar Date: Mon, 30 Mar 2015 21:35:16 +0200 Subject: [PATCH 6/7] Delete ospfd.conf~ --- .../netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ diff --git a/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ b/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ deleted file mode 100644 index 2475368..0000000 --- a/damwaar/netkit-lab_ospf/rr3/etc/quagga/ospfd.conf~ +++ /dev/null @@ -1,17 +0,0 @@ -! -hostname ospfd -password zebra -enable password zebra -! -! Default cost for exiting an interface is 10 -interface eth0 -ospf cost 10 -! -router ospf -! Speak OSPF on all interfaces falling in 192.168.0.0/16 -network 192.168.0.0/16 area 2.2.2.2 -redistribute connected -! -log file /var/log/quagga/ospfd.log -! - From 3427f940ac296f8c2ab47e77a642503ba06a1a4f Mon Sep 17 00:00:00 2001 From: Damien Arnoux Date: Sat, 4 Apr 2015 16:11:32 +0200 Subject: [PATCH 7/7] Added new lab depicting inter-VLAN routing --- .../ovs-router-on-a-stick/client1.startup | 7 +++++++ .../ovs-router-on-a-stick/client1/dummy | 0 .../ovs-router-on-a-stick/client2.startup | 7 +++++++ .../ovs-router-on-a-stick/client2/dummy | 0 .../ovs-router-on-a-stick/client3.startup | 7 +++++++ .../ovs-router-on-a-stick/client3/dummy | 0 .../ovs-router-on-a-stick/client4.startup | 7 +++++++ .../ovs-router-on-a-stick/client4/dummy | 0 .../ovs-router-on-a-stick/lab.conf | 15 +++++++++++++++ .../ovs-router-on-a-stick/router1.startup | 13 +++++++++++++ .../ovs-router-on-a-stick/router1/dummy | 0 .../ovs-router-on-a-stick/switch1.startup | 19 +++++++++++++++++++ .../ovs-router-on-a-stick/switch1/dummy | 0 13 files changed, 75 insertions(+) create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client1.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client1/dummy create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client2.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client2/dummy create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client3.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client3/dummy create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client4.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/client4/dummy create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/lab.conf create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/router1.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/router1/dummy create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/switch1.startup create mode 100644 damwaar/openvswitch/ovs-router-on-a-stick/switch1/dummy diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client1.startup b/damwaar/openvswitch/ovs-router-on-a-stick/client1.startup new file mode 100644 index 0000000..e2d5327 --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/client1.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.100.1/24 dev eth0 + +$ip route add default via 10.0.100.254 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client1/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/client1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client2.startup b/damwaar/openvswitch/ovs-router-on-a-stick/client2.startup new file mode 100644 index 0000000..90bc046 --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/client2.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.100.2/24 dev eth0 + +$ip route add default via 10.0.100.254 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client2/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/client2/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client3.startup b/damwaar/openvswitch/ovs-router-on-a-stick/client3.startup new file mode 100644 index 0000000..afccc32 --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/client3.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.200.3/24 dev eth0 + +$ip route add default via 10.0.200.254 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client3/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/client3/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client4.startup b/damwaar/openvswitch/ovs-router-on-a-stick/client4.startup new file mode 100644 index 0000000..8d352af --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/client4.startup @@ -0,0 +1,7 @@ +ip=$(which ip) + +$ip link set eth0 up + +$ip addr add 10.0.200.4/24 dev eth0 + +$ip route add default via 10.0.200.254 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/client4/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/client4/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/lab.conf b/damwaar/openvswitch/ovs-router-on-a-stick/lab.conf new file mode 100644 index 0000000..daf4f9f --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/lab.conf @@ -0,0 +1,15 @@ +client1[0]="SA" + +client2[0]="SB" + +client3[0]="SC" + +client4[0]="SD" + +switch1[0]="SA" +switch1[1]="SB" +switch1[2]="SC" +switch1[3]="SD" +switch1[4]="TRUNK" + +router1[0]="TRUNK" diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/router1.startup b/damwaar/openvswitch/ovs-router-on-a-stick/router1.startup new file mode 100644 index 0000000..666c8ba --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/router1.startup @@ -0,0 +1,13 @@ +ip=$(which ip) +vconfig=$(which vconfig) + +$vconfig add eth0 100 +$vconfig add eth0 200 + +$ip link set eth0 up +$ip link set eth0.100 up +$ip link set eth0.200 up + + +$ip addr add 10.0.100.254/24 dev eth0.100 +$ip addr add 10.0.200.254/24 dev eth0.200 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/router1/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/router1/dummy new file mode 100644 index 0000000..e69de29 diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/switch1.startup b/damwaar/openvswitch/ovs-router-on-a-stick/switch1.startup new file mode 100644 index 0000000..6cd53f0 --- /dev/null +++ b/damwaar/openvswitch/ovs-router-on-a-stick/switch1.startup @@ -0,0 +1,19 @@ +ip=$(which ip) +ovsvsctl=$(which ovs-vsctl) + +/etc/init.d/openvswitch-switch start + +$ip link set eth0 up +$ip link set eth1 up +$ip link set eth2 up +$ip link set eth3 up +$ip link set eth4 up + +$ovsvsctl add-br br1 +$ovsvsctl add-port br1 eth0 tag=100 +$ovsvsctl add-port br1 eth1 tag=100 +$ovsvsctl add-port br1 eth2 tag=200 +$ovsvsctl add-port br1 eth3 tag=200 +$ovsvsctl add-port br1 eth4 trunks=100,200 + +$ip link set br1 up diff --git a/damwaar/openvswitch/ovs-router-on-a-stick/switch1/dummy b/damwaar/openvswitch/ovs-router-on-a-stick/switch1/dummy new file mode 100644 index 0000000..e69de29