Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class "b1-t1-r1" {
- match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp1");
- }
- class "b1-t1-r2" {
- match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp2");
- }
- class "b1-t1-r3" {
- match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp3");
- }
- class "b1-t1-r4" {
- match if (packet(24,4) = c0:a8:7b:c9 and option agent.circuit-id = "swp4");
- }
- shared-network brick1 {
- subnet 192.168.123.0 netmask 255.255.255.240 {
- authoritative;
- option subnet-mask 255.255.255.240;
- option broadcast-address 192.168.123.15;
- option routers 192.168.123.14;
- option tftp-server-name "192.168.235.2";
- option domain-name "metallicat";
- }
- pool {
- allow members of "b1-t1-r1";
- range 192.168.123.1 192.168.123.1;
- option host-name "b1-t1-r1";
- option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
- }
- pool {
- allow members of "b1-t1-r2";
- range 192.168.123.2 192.168.123.2;
- option bootfile-name "b1-t1-r2.conf";
- }
- pool {
- allow members of "b1-t1-r3";
- range 192.168.123.3 192.168.123.3;
- option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
- option host-name "b1-t1-r3";
- }
- pool {
- allow members of "b1-t1-r4";
- range 192.168.123.4 192.168.123.4;
- option bootfile-name "b1-t1-r4.conf";
- }
- }
- class "s1-r1" {
- match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp1");
- }
- class "s1-r2" {
- match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp2");
- }
- class "s1-r3" {
- match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp3");
- }
- class "s1-r4" {
- match if (packet(24,4) = c0:a8:7b:d1 and option agent.circuit-id = "swp4");
- }
- shared-network spine1 {
- subnet 192.168.123.32 netmask 255.255.255.240 {
- authoritative;
- option subnet-mask 255.255.255.240;
- option broadcast-address 192.168.123.47;
- option routers 192.168.123.46;
- option tftp-server-name "192.168.235.2";
- option domain-name "metallicat";
- }
- pool {
- allow members of "s1-r1";
- range 192.168.123.33 192.168.123.33;
- option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
- option host-name "s1-r1";
- }
- pool {
- allow members of "s1-r2";
- range 192.168.123.34 192.168.123.34;
- option bootfile-name "s1-r2.conf";
- }
- pool {
- allow members of "s1-r3";
- range 192.168.123.35 192.168.123.35;
- option cumulus-provision-url "http://192.168.235.2:8080/cumulus.sh";
- option host-name "s1-r3";
- }
- pool {
- allow members of "s1-r4";
- range 192.168.123.36 192.168.123.36;
- option bootfile-name "s1-r4.conf";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement