server-identifier cloud-noc01.fedorainfracloud.org;
ddns-update-style none;

#subnet 172.16.1.0 netmask 255.255.255.0 {
#}
#subnet 172.16.2.0 netmask 255.255.255.0 {
#}
#subnet 172.16.3.0 netmask 255.255.255.0 {
#}
#subnet 172.16.4.0 netmask 255.255.255.0 {
#}
#subnet 172.16.5.0 netmask 255.255.255.0 {
#}
#subnet 172.16.6.0 netmask 255.255.255.0 {
#}
#subnet 172.16.7.0 netmask 255.255.255.0 {
#}
#subnet 172.16.8.0 netmask 255.255.255.0 {
#}
#subnet 172.16.9.0 netmask 255.255.255.0 {
#}

# Internal cloud VLAN
shared-network cloud {
    option domain-name "cloud.fedoraproject.org";
    option domain-name-servers 8.43.85.74, 140.211.169.201;

    subnet 172.23.0.0 netmask 255.255.254.0 {
    	   allow booting;
    	   allow bootp;

    	   option routers 172.23.1.254;

           # Transitional
    	   host arm03-packager00-mgmt {
                hardware ethernet fc:2f:40:1b:64:4e;
         	fixed-address 172.23.0.70;
         	option host-name "arm03-packager00-mgmt";
         	next-server 172.23.0.17;
   	   }
   	   host arm03-packager01-mgmt {
                hardware ethernet fc:2f:40:08:d7:e2;
         	fixed-address 172.23.0.71;
         	option host-name "arm03-packager01-mgmt";
         	next-server 172.23.0.17;
           }
    	   host arm03-deaddrive00-mgmt {
                hardware ethernet fc:2f:40:a1:f8:36;
                fixed-address 172.23.0.72;
                option host-name "arm03-deaddrive-mgmt";
                next-server 172.23.0.17;
           }
    	   host arm03-qa01-mgmt {
                hardware ethernet fc:2f:40:1b:f6:da;
                fixed-address 172.23.0.73;
                option host-name "arm03-qa01-mgmt";
                next-server 172.23.0.17;
           }
    	   host arm03-qa00-mgmt {
                hardware ethernet fc:2f:40:16:c8:3a;
         	fixed-address 172.23.0.74;
         	option host-name "arm03-qa00-mgmt";
         	next-server 172.23.0.17;
           }
           host arm03-soc05-mgmt {
                hardware ethernet fc:2f:40:9b:1d:da;
                fixed-address 172.23.0.75;
                option host-name "arm03-soc05-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc06-mgmt {
                hardware ethernet fc:2f:40:00:4c:e2;
                fixed-address 172.23.0.76;
                option host-name "arm03-soc06-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc07-mgmt {
                hardware ethernet fc:2f:40:57:cb:b6;
                fixed-address 172.23.0.77;
                option host-name "arm03-soc07-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc08-mgmt {
                hardware ethernet fc:2f:40:12:6a:26;
                fixed-address 172.23.0.78;
                option host-name "arm03-soc08-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc09-mgmt {
                hardware ethernet fc:2f:40:5d:85:8a;
                fixed-address 172.23.0.79;
                option host-name "arm03-soc09-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc10-mgmt {
                hardware ethernet fc:2f:40:a5:5f:42;
		fixed-address 172.23.0.80;
         	option host-name "arm03-soc10-mgmt";
         	next-server 172.23.0.17;
           }
    	   host arm03-soc11-mgmt {
                hardware ethernet fc:2f:40:d2:a1:0e;
                fixed-address 172.23.0.81;
                option host-name "arm03-soc11-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc12-mgmt {
                hardware ethernet fc:2f:40:00:a4:c6;
         	fixed-address 172.23.0.82;
         	option host-name "arm03-soc12-mgmt";
         	next-server 172.23.0.17;
           }
           host arm03-soc13-mgmt {
                hardware ethernet fc:2f:40:59:27:ba;
                fixed-address 172.23.0.83;
                option host-name "arm03-soc13-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc14-mgmt {
                hardware ethernet fc:2f:40:7b:ab:f6;
                fixed-address 172.23.0.84;
                option host-name "arm03-soc14-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc15-mgmt {
                hardware ethernet fc:2f:40:8a:99:96;
                fixed-address 172.23.0.85;
                option host-name "arm03-soc15-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc16-mgmt {
                hardware ethernet fc:2f:40:ea:ff:16;
                fixed-address 172.23.0.86;
                option host-name "arm03-soc16-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc17-mgmt {
                hardware ethernet fc:2f:40:79:e3:8e;
                fixed-address 172.23.0.87;
                option host-name "arm03-soc17-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc18-mgmt {
                hardware ethernet fc:2f:40:7d:0c:9a;
                fixed-address 172.23.0.88;
                option host-name "arm03-soc18-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc19-mgmt {
                hardware ethernet fc:2f:40:04:29:9a;
                fixed-address 172.23.0.89;
                option host-name "arm03-soc19-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc20-mgmt {
                hardware ethernet fc:2f:40:3c:50:26;
                fixed-address 172.23.0.90;
                option host-name "arm03-soc20-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc21-mgmt {
                hardware ethernet fc:2f:40:cb:4f:66;
                fixed-address 172.23.0.91;
                option host-name "arm03-soc21-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc22-mgmt {
                hardware ethernet fc:2f:40:17:c0:ee;
                fixed-address 172.23.0.92;
                option host-name "arm03-soc22-mgmt";
                next-server 172.23.0.17;
           }
           host arm03-soc23-mgmt {
                hardware ethernet fc:2f:40:00:47:3e;
                fixed-address 172.23.0.93;
                option host-name "arm03-soc23-mgmt";
                next-server 172.23.0.17;
           }
    }
    subnet 172.24.0.0 netmask 255.255.255.0 {
    	   allow booting;
    	   allow bootp;

    	   #option routers 172.23.0.9;
    	   #option log-servers 172.23.0.9;

	   host fed-cloud15-int {
	        hardware ethernet ec:f4:bb:d2:85:4d;
		fixed-address 172.24.0.15;
		option host-name "fed-cloud15-int";
           }

           host fed-cloud-ppc01-int {
                hardware ethernet 40:f2:e9:5d:53:65;
                fixed-address 172.24.0.16;
                option host-name "fed-cloud-ppc01-int";
           }

	   host fed-cloud-ppc02-int {
	        hardware ethernet 40:f2:e9:5d:52:71;
		fixed-address 172.24.0.18;
		option host-name "fed-cloud-ppc02-int";
           }
    }
}

# Public VLAN
shared-network pubcloud {
    option domain-name "cloud.fedoraproject.org";
    option domain-name-servers 8.43.85.74, 140.211.169.201;

  # community openshift public net
  subnet 38.145.48.0 netmask 255.255.254.0 {
      allow booting;
      allow bootp;

      option domain-name "fedorainfracloud.org";
      option domain-name-servers 8.8.8.8, 8.8.4.4;
      option routers 38.145.49.254;
      #option log-servers 209.132.184.2;
      host virthost-cloud01 {
          hardware ethernet ec:f4:bb:cd:aa:a4;
          fixed-address 38.145.48.5;
          option host-name "virthost-cloud01.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }

      host os-node01 {
          hardware ethernet 40:5c:fd:a5:7f:c1;
          fixed-address 38.145.48.11;
          option host-name "os-node01.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node02 {
          hardware ethernet 40:5C:FD:A5:80:AF;
          fixed-address 38.145.48.12;
          option host-name "os-node02.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node03 {
          hardware ethernet 40:5C:FD:A5:80:29;
          fixed-address 38.145.48.13;
          option host-name "os-node03.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node04 {
          hardware ethernet 40:5C:FD:A5:86:67;
          fixed-address 38.145.48.14;
          option host-name "os-node04.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node05 {
          hardware ethernet 40:5C:FD:A5:7F:DB;
          fixed-address 38.145.48.15;
          option host-name "os-node05.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node06 {
          hardware ethernet 40:5C:FD:A5:82:1D;
          fixed-address 38.145.48.16;
          option host-name "os-node06.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node07 {
          hardware ethernet 40:5C:FD:A5:80:43;
          fixed-address 38.145.48.17;
          option host-name "os-node07.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node08 {
          hardware ethernet 40:5C:FD:A5:87:D5;
          fixed-address 38.145.48.18;
          option host-name "os-node08.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node09 {
          hardware ethernet 48:4D:7E:05:4E:F1;
          fixed-address 38.145.48.19;
          option host-name "os-node09.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node10 {
          hardware ethernet 48:4D:7E:05:4F:DF;
          fixed-address 38.145.48.20;
          option host-name "os-node10.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-node11 {
          hardware ethernet 48:4D:7E:05:4F:59;
          fixed-address 38.145.48.21;
          option host-name "os-node11.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host os-storage-node12 {
          hardware ethernet f0:1f:af:e2:6d:1d;
          fixed-address 38.145.48.22;
          option host-name "os-storage-node12.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }

      host os-storage-node13 {
          hardware ethernet f0:1f:af:e2:69:15;
          fixed-address 38.145.48.23;
          option host-name "os-storage-node13.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }

      host os-storage-node14 {
          hardware ethernet ec:f4:bb:d2:97:7c;
          fixed-address 38.145.48.24;
          option host-name "os-storage-node14.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }

      host cvmhost-aarch64-01-br0 {
          hardware ethernet 50:6b:4b:6a:c4:b0;
          fixed-address 38.145.48.29;
          option host-name "cloudvmhost-aarch64-01.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }


#      host virthost-ppc64le-os01 {
#          hardware ethernet TODO;
#          fixed-address 38.145.48.25;
#          option host-name "virthost-ppc64le-os01.fedorainfracloud.org";
#          next-server 38.145.48.10;
#          filename "pxelinux.0";
#      }

      host virthost-ppc64le-os02 {
          hardware ethernet 40:f2:e9:5d:52:70;
          fixed-address 38.145.48.28;
          option host-name "virthost-ppc64le-os02.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }

#      host virthost-aarch64-os01 {
#          hardware ethernet TODO;
#          fixed-address 38.145.48.26;
#          option host-name "virthost-aarch64-os01.fedorainfracloud.org";
#          next-server 38.145.48.10;
#          filename "pxelinux.0";
#      }

#      host virthost-aarch64-os02 {
#          hardware ethernet TODO;
#          fixed-address 38.145.48.27;
#          option host-name "virthost-aarch64-os02.fedorainfracloud.org";
#          next-server 38.145.48.10;
#          filename "pxelinux.0";
#      }

      host copr-vmhost01 {
          hardware ethernet f4:02:70:d0:05:00 ;
          fixed-address 38.145.48.31;
          option host-name "copr-vmhost01.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "pxelinux.0";
      }
      host copr-vmhost02 {
          hardware ethernet f4:02:70:d0:04:4a ;
          fixed-address 38.145.48.32;
          option host-name "copr-vmhost02.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }
      host copr-vmhost03 {
          hardware ethernet f4:02:70:d3:42:48 ;
          fixed-address 38.145.48.33;
          option host-name "copr-vmhost03.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }

      host retrace03 {
          hardware ethernet f4:02:70:fa:79:84;
          fixed-address 38.145.48.35;
          option host-name "retrace03.fedorainfracloud.org";
          next-server 38.145.48.10;
          filename "/uefi/grubx64.efi";
      }




  }
}
