Skip to content

Instantly share code, notes, and snippets.

@da-moon
Last active February 11, 2020 19:15
Show Gist options
  • Save da-moon/4289575d4fc194b9453b070db46cd3b9 to your computer and use it in GitHub Desktop.
Save da-moon/4289575d4fc194b9453b070db46cd3b9 to your computer and use it in GitHub Desktop.
COE-865 : Lab2
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
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
cat > /etc/quagga/zebra.conf <<EOF
hostname R18
password zebra
enable password zebra
log file /var/log/quagga/zebra.log
EOF
@da-moon
Copy link
Author

da-moon commented Feb 10, 2020

@da-moon
Copy link
Author

da-moon commented Feb 10, 2020

Start Rip

service ripd start

Rip Log

tail -f /var/log/quagga/ripd.log

@da-moon
Copy link
Author

da-moon commented Feb 10, 2020

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