This file contains hidden or 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
>> sudo iptables -I OUTPUT -p icmp --icmp-type destination-unreachable -j DROP |
This file contains hidden or 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
# Delete lan0 entry | |
>> sudo route del -net 10.0.0.0 netmask 255.0.0.0 | |
# Delete the lan1 entry | |
>> sudo route del -net 10.1.2.0 netmask 255.255.255.0 | |
# Delete the link to rtr2 | |
>> sudo route del -net 10.10.3.0 netmask 255.255.255.0 | |
# Delete the link to rtr1 |
This file contains hidden or 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
# Server | |
>> iperf -u -s -w 1 -l 12 | |
# Client | |
>> iperf -u -c node4 -w 1 -l 12 |
This file contains hidden or 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
>> tar -xvzf quagaa.tar.gz |
This file contains hidden or 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
>> ./configure --enable-user=root --enable-group=root | |
>> make |
This file contains hidden or 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
! | |
! Example zebra configuration | |
! | |
hostname zebrad | |
password zebra | |
! | |
interface eth5 | |
ip address 10.10.1.1/24 | |
! | |
interface eth7 |
This file contains hidden or 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
>> ./zebra -d -u root -f /mnt/conf/zebra.conf |
This file contains hidden or 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
router rip | |
network 10.1.3.0/24 | |
network eth0 | |
network 10.1.2.0/24 | |
network eth2 |
This file contains hidden or 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
>> ./ripd -d |
This file contains hidden or 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 /var/run/ripd.pid |