summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorOliver Graute <oliver.graute@gmail.com>2015-07-24 11:00:21 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-30 18:27:54 +0200
commit01a658fcec11fff13a712dc879209ff1675af6ae (patch)
tree78cf5c882f701e35bed9498225624c5622949ef0 /projectroot
parent122aeba132ff9d70025091b250233dfd65171bd2 (diff)
downloadptxdist-01a658fcec11fff13a712dc879209ff1675af6ae.tar.gz
ptxdist-01a658fcec11fff13a712dc879209ff1675af6ae.tar.xz
quagga: this patch adds quagga support to ptxdist
Quagga is a routing software suite, providing implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 for Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD. Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/etc/babeld.conf30
-rw-r--r--projectroot/etc/bgpd.conf29
-rw-r--r--projectroot/etc/ospf6d.conf52
-rw-r--r--projectroot/etc/ospfd.conf13
-rw-r--r--projectroot/etc/ripd.conf24
-rw-r--r--projectroot/etc/ripngd.conf22
-rw-r--r--projectroot/etc/vtysh.conf7
-rw-r--r--projectroot/etc/zebra.conf25
8 files changed, 202 insertions, 0 deletions
diff --git a/projectroot/etc/babeld.conf b/projectroot/etc/babeld.conf
new file mode 100644
index 000000000..a4924ec7b
--- /dev/null
+++ b/projectroot/etc/babeld.conf
@@ -0,0 +1,30 @@
+debug babel common
+!debug babel kernel
+!debug babel filter
+!debug babel timeout
+!debug babel interface
+!debug babel route
+!debug babel all
+
+router babel
+! network wlan0
+! network eth0
+! redistribute kernel
+! no redistribute static
+
+! The defaults are fine for a wireless interface
+
+!interface wlan0
+
+! A few optimisation tweaks are optional but recommended on a wired interface
+! Disable link quality estimation, enable split horizon processing, and
+! increase the hello and update intervals.
+
+!interface eth0
+! babel wired
+! babel split-horizon
+! babel hello-interval 12000
+! babel update-interval 36000
+
+! log file /var/log/quagga/babeld.log
+log stdout
diff --git a/projectroot/etc/bgpd.conf b/projectroot/etc/bgpd.conf
new file mode 100644
index 000000000..b6a8b6f10
--- /dev/null
+++ b/projectroot/etc/bgpd.conf
@@ -0,0 +1,29 @@
+! -*- bgp -*-
+!
+! BGPd sample configuratin file
+!
+! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $
+!
+hostname bgpd
+password zebra
+!enable password please-set-at-here
+!
+!bgp mulitple-instance
+!
+router bgp 7675
+! bgp router-id 10.0.0.1
+! network 10.0.0.0/8
+! neighbor 10.0.0.2 remote-as 7675
+! neighbor 10.0.0.2 route-map set-nexthop out
+! neighbor 10.0.0.2 ebgp-multihop
+! neighbor 10.0.0.2 next-hop-self
+!
+! access-list all permit any
+!
+!route-map set-nexthop permit 10
+! match ip address all
+! set ip next-hop 10.0.0.1
+!
+!log file bgpd.log
+!
+log stdout
diff --git a/projectroot/etc/ospf6d.conf b/projectroot/etc/ospf6d.conf
new file mode 100644
index 000000000..0a6ddb713
--- /dev/null
+++ b/projectroot/etc/ospf6d.conf
@@ -0,0 +1,52 @@
+!
+! Zebra configuration saved from vty
+! 2003/11/28 00:49:49
+!
+hostname ospf6d@plant
+password zebra
+log stdout
+service advanced-vty
+!
+debug ospf6 neighbor state
+!
+interface fxp0
+ ipv6 ospf6 cost 1
+ ipv6 ospf6 hello-interval 10
+ ipv6 ospf6 dead-interval 40
+ ipv6 ospf6 retransmit-interval 5
+ ipv6 ospf6 priority 0
+ ipv6 ospf6 transmit-delay 1
+ ipv6 ospf6 instance-id 0
+!
+interface lo0
+ ipv6 ospf6 cost 1
+ ipv6 ospf6 hello-interval 10
+ ipv6 ospf6 dead-interval 40
+ ipv6 ospf6 retransmit-interval 5
+ ipv6 ospf6 priority 1
+ ipv6 ospf6 transmit-delay 1
+ ipv6 ospf6 instance-id 0
+!
+router ospf6
+ router-id 255.1.1.1
+ redistribute static route-map static-ospf6
+ interface fxp0 area 0.0.0.0
+!
+access-list access4 permit 127.0.0.1/32
+!
+ipv6 access-list access6 permit 3ffe:501::/32
+ipv6 access-list access6 permit 2001:200::/48
+ipv6 access-list access6 permit ::1/128
+!
+ipv6 prefix-list test-prefix seq 1000 deny any
+!
+route-map static-ospf6 permit 10
+ match ipv6 address prefix-list test-prefix
+ set metric-type type-2
+ set metric 2000
+!
+line vty
+ access-class access4
+ ipv6 access-class access6
+ exec-timeout 0 0
+!
diff --git a/projectroot/etc/ospfd.conf b/projectroot/etc/ospfd.conf
new file mode 100644
index 000000000..0e8ac67bb
--- /dev/null
+++ b/projectroot/etc/ospfd.conf
@@ -0,0 +1,13 @@
+! -*- ospf -*-
+!
+! OSPFd sample configuration file
+!
+!
+hostname ospfd
+password zebra
+!enable password please-set-at-here
+!
+!router ospf
+! network 192.168.1.0/24 area 0
+!
+log stdout
diff --git a/projectroot/etc/ripd.conf b/projectroot/etc/ripd.conf
new file mode 100644
index 000000000..2902ff9cc
--- /dev/null
+++ b/projectroot/etc/ripd.conf
@@ -0,0 +1,24 @@
+! -*- rip -*-
+!
+! RIPd sample configuration file
+!
+! $Id: ripd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname ripd
+password zebra
+!
+! debug rip events
+! debug rip packet
+!
+router rip
+! network 11.0.0.0/8
+! network eth0
+! route 10.0.0.0/8
+! distribute-list private-only in eth0
+!
+!access-list private-only permit 10.0.0.0/8
+!access-list private-only deny any
+!
+!log file ripd.log
+!
+log stdout
diff --git a/projectroot/etc/ripngd.conf b/projectroot/etc/ripngd.conf
new file mode 100644
index 000000000..ad673e57e
--- /dev/null
+++ b/projectroot/etc/ripngd.conf
@@ -0,0 +1,22 @@
+! -*- rip -*-
+!
+! RIPngd sample configuration file
+!
+! $Id: ripngd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname ripngd
+password zebra
+!
+! debug ripng events
+! debug ripng packet
+!
+!
+router ripng
+! network sit1
+! route 3ffe:506::0/32
+! distribute-list local-only out sit1
+!
+!ipv6 access-list local-only permit 3ffe:506::0/32
+!ipv6 access-list local-only deny any
+!
+log stdout
diff --git a/projectroot/etc/vtysh.conf b/projectroot/etc/vtysh.conf
new file mode 100644
index 000000000..4e0a2beb4
--- /dev/null
+++ b/projectroot/etc/vtysh.conf
@@ -0,0 +1,7 @@
+!
+! Sample configuration file for vtysh.
+!
+!service integrated-vtysh-config
+!hostname quagga-router
+!username root nopassword
+!
diff --git a/projectroot/etc/zebra.conf b/projectroot/etc/zebra.conf
new file mode 100644
index 000000000..a5d0732f6
--- /dev/null
+++ b/projectroot/etc/zebra.conf
@@ -0,0 +1,25 @@
+! -*- zebra -*-
+!
+! zebra sample configuration file
+!
+! $Id: zebra.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname Router
+password zebra
+enable password zebra
+!
+! Interface's description.
+!
+!interface lo
+! description test of desc.
+!
+!interface sit0
+! multicast
+
+!
+! Static default route sample.
+!
+!ip route 0.0.0.0/0 203.181.89.241
+!
+
+!log file zebra.log