NETem - Network Link Emulator for GNS3

packages.sh 419B

123456789101112131415
  1. # Add extensions
  2. set -x
  3. # change tcedir to harddisk
  4. mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.bak
  5. ln -s /mnt/sda1/tce /etc/sysconfig/tcedir
  6. rm -rf /usr/local/tce.installed/*
  7. tce-load -wi ipv6-`uname -r` iptables iproute2
  8. tce-load -wi nano
  9. echo "modprobe ipv6" >> /opt/bootlocal.sh
  10. echo "sysctl -w net.ipv4.ip_forward=1" >> /opt/bootlocal.sh
  11. echo "sysctl -w net.ipv6.conf.all.forwarding=1" >> /opt/bootlocal.sh