Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. class "b1-t1-r1" {
  2. match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp1");
  3. }
  4. class "b1-t1-r2" {
  5. match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp2");
  6. }
  7. class "b1-t1-r3" {
  8. match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp3");
  9. }
  10. class "b1-t1-r4" {
  11. match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp4");
  12. }
  13.  
  14. shared-network brick1 {
  15. subnet 192.168.123.0 netmask 255.255.255.240 {
  16. authoritative;
  17. option subnet-mask 255.255.255.240;
  18. option broadcast-address 192.168.123.15;
  19. option routers 192.168.123.14;
  20. option tftp-server-name "192.168.235.2";
  21. option domain-name "metallicat";
  22. }
  23. pool {
  24. allow members of "b1-t1-r1";
  25. range 192.168.123.1 192.168.123.1;
  26. option host-name "b1-t1-r1";
  27. option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
  28. }
  29. pool {
  30. allow members of "b1-t1-r2";
  31. range 192.168.123.2 192.168.123.2;
  32. option bootfile-name "b1-t1-r2.conf";
  33. }
  34. pool {
  35. allow members of "b1-t1-r3";
  36. range 192.168.123.3 192.168.123.3;
  37. option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
  38. option host-name "b1-t1-r3";
  39. }
  40. pool {
  41. allow members of "b1-t1-r4";
  42. range 192.168.123.4 192.168.123.4;
  43. option bootfile-name "b1-t1-r4.conf";
  44. }
  45. }
  46.  
  47. class "s1-r1" {
  48. match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp1");
  49. }
  50. class "s1-r2" {
  51. match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp2");
  52. }
  53. class "s1-r3" {
  54. match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp3");
  55. }
  56. class "s1-r4" {
  57. match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp4");
  58. }
  59.  
  60. shared-network spine1 {
  61. subnet 192.168.123.32 netmask 255.255.255.240 {
  62. authoritative;
  63. option subnet-mask 255.255.255.240;
  64. option broadcast-address 192.168.123.47;
  65. option routers 192.168.123.46;
  66. option tftp-server-name "192.168.235.2";
  67. option domain-name "metallicat";
  68. }
  69. pool {
  70. allow members of "s1-r1";
  71. range 192.168.123.33 192.168.123.33;
  72. option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
  73. option host-name "s1-r1";
  74. }
  75. pool {
  76. allow members of "s1-r2";
  77. range 192.168.123.34 192.168.123.34;
  78. option bootfile-name "s1-r2.conf";
  79. }
  80. pool {
  81. allow members of "s1-r3";
  82. range 192.168.123.35 192.168.123.35;
  83. option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
  84. option host-name "s1-r3";
  85. }
  86. pool {
  87. allow members of "s1-r4";
  88. range 192.168.123.36 192.168.123.36;
  89. option bootfile-name "s1-r4.conf";
  90. }
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement