-
-
Save da-moon/4289575d4fc194b9453b070db46cd3b9 to your computer and use it in GitHub Desktop.
COE-865 : Lab2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >> ping << EOF | |
#!/usr/bin/env bash | |
traceroute 10.5.2.2 | |
traceroute 10.5.1.1 | |
traceroute 10.5.1.2 | |
traceroute 10.5.4.1 | |
traceroute 10.5.4.2 | |
traceroute 10.5.3.1 | |
traceroute 10.5.3.2 | |
traceroute 10.5.2.1 | |
EOF | |
chmod +x ./ping | |
./ping |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >> /etc/quagga/ripd.conf<<EOF | |
router rip | |
network 10.5.0.0/16 | |
redistribute kernel | |
passive-interface eth0 | |
log file /var/log/quagga/ripd.log | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat > /etc/quagga/zebra.conf <<EOF | |
hostname R18 | |
password zebra | |
enable password zebra | |
log file /var/log/quagga/zebra.log | |
EOF | |
Start Rip
service ripd start
Rip Log
tail -f /var/log/quagga/ripd.log
Start Zebra
service zebra start
Zebra log
tail -f /var/log/quagga/zebra.log
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.cs.unm.edu/~rudym/Running+Quagga+On+Ubuntu+16.04.html