差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
softwares:pxeboot [2020/10/15 21:00] – kobayash | softwares:pxeboot [2021/04/30 22:27] (現在) – kobayash | ||
---|---|---|---|
行 34: | 行 34: | ||
* 1つの解は、ローカルネットワークを作って自前でDHCP サーバーを運用すること。ただ、それはそれでルーターの設定が面倒。 | * 1つの解は、ローカルネットワークを作って自前でDHCP サーバーを運用すること。ただ、それはそれでルーターの設定が面倒。 | ||
* やはり、既存のネットワーク上で dnsmasqを走らせるのが良いか? | * やはり、既存のネットワーク上で dnsmasqを走らせるのが良いか? | ||
+ | |||
+ | ==== Memo 2 ==== | ||
+ | * Scientific Linux CERN 6.3 (i386nonpae) を yum groupinstall " | ||
+ | * / | ||
+ | * Two network card configuration of DNSMASQ< | ||
+ | # Configuration file for dnsmasq. | ||
+ | # | ||
+ | # Format is one option per line, legal options are the same | ||
+ | # as the long options legal on the command line. See | ||
+ | # "/ | ||
+ | |||
+ | # Listen on this specific port instead of the standard DNS port | ||
+ | # (53). Setting this to zero completely disables DNS function, | ||
+ | # leaving only DHCP and/or TFTP. | ||
+ | port=0 | ||
+ | |||
+ | # Log lots of extra information about DHCP transactions. | ||
+ | log-dhcp | ||
+ | |||
+ | interface=eno1 | ||
+ | interface=eno2 | ||
+ | |||
+ | # Uncomment this to enable the integrated DHCP server, you need | ||
+ | # to supply the range of addresses available for lease and optionally | ||
+ | # a lease time. If you have more than one network, you will need to | ||
+ | # repeat this for each network on which you want to supply DHCP | ||
+ | # service. | ||
+ | dhcp-range=192.168.2.0, | ||
+ | dhcp-range=172.16.192.0, | ||
+ | |||
+ | # Set the boot filename for netboot/ | ||
+ | # this if you want to boot machines over the network and you will need | ||
+ | # an TFTP server; either dnsmasq' | ||
+ | # external one. | ||
+ | dhcp-boot=tag: | ||
+ | dhcp-boot=tag: | ||
+ | # | ||
+ | |||
+ | # Loads < | ||
+ | pxe-service=tag: | ||
+ | pxe-service=tag: | ||
+ | # | ||
+ | |||
+ | # Nobu Kobayashi added on Apr. 8, 2021 | ||
+ | # List the MAC addresses of the VME-CPU clients. | ||
+ | # When it is matched, " | ||
+ | # (tag is an inner parameter of dnsmasq). | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | dhcp-host=00: | ||
+ | dhcp-host=00: | ||
+ | |||
+ | # Responds only to VME devices | ||
+ | dhcp-ignore=tag: | ||
+ | </ | ||
+ | |||
+ | |||