arp-token.sh 650 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. # file: arp-token.sh
  3. # ====================================================================
  4. # interfaces;
  5. # --------------------------------------------------------------------
  6. IF0=eth0
  7. IF1=eth1
  8. IF2=eth2
  9. # ====================================================================
  10. # subnets;
  11. # --------------------------------------------------------------------
  12. NET1=192.168.1.0
  13. NET2=192.168.2.0
  14. # ====================================================================
  15. # host interfaces;
  16. # --------------------------------------------------------------------
  17. IP1=192.168.1.1
  18. IP2=192.168.2.1
  19. NIC1=00:50:04:B2:54:15
  20. NIC2=00:50:04:D3:4E:F2