Last active
March 19, 2020 13:49
-
-
Save jparrill/57b1c1673da5711a8d7f28aeede4835c to your computer and use it in GitHub Desktop.
Dnsmasq Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HUB VLAN 152 2620:52:0:1302::/64 | |
| # SPOKE1 VLAN 153 2620:52:0:1303::/64 | |
| # SPOKE2 VLAN 154 2620:52:0:1304::/64 | |
| strict-order | |
| bind-dynamic | |
| bogus-priv | |
| # DHCP Range VLAN 152 - HUB | |
| dhcp-range=baremetal.152,2620:52:0:1302::11,2620:52:0:1302::20,64 | |
| dhcp-option=baremetal.152,option6:dns-server,[2620:52:0:1302::1] | |
| # DHCP Range VLAN 153 - SPOKE1 | |
| dhcp-range=baremetal.153,2620:52:0:1303::11,2620:52:0:1303::20,64 | |
| dhcp-option=baremetal.153,option6:dns-server,[2620:52:0:1303::1] | |
| resolv-file=/opt/dnsmasq/mgmt-converged/mgmt-conv-resolv.conf | |
| dhcp-leasefile=/opt/dnsmasq/mgmt-converged/ipv6conv.leases | |
| #dhcp-fqdn | |
| #log-queries | |
| except-interface=lo | |
| dhcp-lease-max=81 | |
| log-dhcp | |
| #enable-ra | |
| #local=/mgmt-hub.e2e.bos.redhat.com/ | |
| #domain=mgmt-hub.e2e.bos.redhat.com | |
| #local=/mgmt-spoke1.e2e.bos.redhat.com/ | |
| #domain=mgmt-spoke1.e2e.bos.redhat.com | |
| domain=mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::0/64,local | |
| domain=mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::0/64,local | |
| # static host-records | |
| address=/apps.mgmt-hub.e2e.bos.redhat.com/2620:52:0:1302::2 | |
| host-record=api.mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::3 | |
| host-record=ns1.mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::4 | |
| host-record=openshift-master-0.mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::5 | |
| host-record=openshift-master-1.mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::6 | |
| host-record=openshift-master-2.mgmt-hub.e2e.bos.redhat.com,2620:52:0:1302::7 | |
| address=/apps.mgmt-spoke1.e2e.bos.redhat.com/2620:52:0:1303::2 | |
| host-record=api.mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::3 | |
| host-record=ns1.mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::4 | |
| host-record=openshift-master-0.mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::5 | |
| host-record=openshift-master-1.mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::6 | |
| host-record=openshift-master-2.mgmt-spoke1.e2e.bos.redhat.com,2620:52:0:1303::7 | |
| # DHCP Reservations | |
| dhcp-hostsfile=/opt/dnsmasq/mgmt-converged/ipv6conv.hostsfile | |
| # Registry | |
| host-record=bm-cluster-1-hyper.e2e.bos.redhat.com,2620:52:0:1302::1 | |
| host-record=bm-cluster-1-hyper.e2e.bos.redhat.com,2620:52:0:1303::1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id:00:03:00:01:18:db:f2:8c:d5:92,openshift-master-0,[2620:52:0:1302::5] | |
| id:00:03:00:01:18:db:f2:8c:d5:9f,openshift-master-1,[2620:52:0:1302::6] | |
| id:00:03:00:01:18:db:f2:8c:d5:ac,openshift-master-2,[2620:52:0:1302::7] | |
| id:00:03:00:01:1c:40:24:1b:0c:41,openshift-master-0,[2620:52:0:1303::5] | |
| id:00:03:00:01:1c:40:24:1b:0c:4e,openshift-master-1,[2620:52:0:1303::6] | |
| id:00:03:00:01:1c:40:24:1b:0c:5b,openshift-master-2,[2620:52:0:1303::7] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface baremetal.152 | |
| { | |
| AdvManagedFlag on; | |
| AdvSendAdvert on; | |
| MinRtrAdvInterval 30; | |
| MaxRtrAdvInterval 100; | |
| AdvDefaultLifetime 0; | |
| prefix 2620:52:0:1302::/64 | |
| { | |
| AdvOnLink on; | |
| AdvAutonomous off; | |
| AdvRouterAddr off; | |
| }; | |
| route ::/0 { | |
| AdvRouteLifetime 0; | |
| AdvRoutePreference low; | |
| RemoveRoute on; | |
| }; | |
| }; | |
| interface baremetal.153 | |
| { | |
| AdvManagedFlag on; | |
| AdvSendAdvert on; | |
| MinRtrAdvInterval 3; | |
| MaxRtrAdvInterval 100; | |
| AdvDefaultLifetime 0; | |
| prefix 2620:52:0:1303::/64 | |
| { | |
| AdvOnLink on; | |
| AdvAutonomous off; | |
| AdvRouterAddr off; | |
| }; | |
| route ::/0 { | |
| AdvRouteLifetime 0; | |
| AdvRoutePreference low; | |
| RemoveRoute on; | |
| }; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment