WDS ISC-DHCP-SERVER PXE

2023-05-16

Debian Linux bullseye

$> cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

IP 地址 192.168.1.193,安装服务 isc-dhcp-server 用于提供 dhcp 服务, dnsmasq 用户提供 dns 服务。

ISC-DHCP-SERVER

# cat /etc/dhcp/dhcpd.conf

allow booting;
allow bootp;
option domain-name "domain.com";
option domain-name-servers 192.168.14.193;
option option-128 code 128=string;
option option-128 code 129=text;
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
option architecture-type code 93 = unsigned integer 16;

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
log-facility local7;
option ip-forwarding true;
option mask-supplier false;

subnet 192.168.x.0 netmask 255.255.255.0 {
    range 192.168.1.31 192.168.1.64;
    option domain-name-servers 192.168.1.193;
    default-lease-time 600;
    max-lease-time 7200;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.1;
    #ping-check true;
    # DHCP option 60 PXEClient
    option vendor-class-identifier "PXEClient";
    option vendor-encapsulated-options 01:04:00:00:00:00:ff;
    # DHCP option 66 tftp server
    next-server 192.168.1.195;
    # DHCP option 67 定义bootfile的文件名
    #option bootfile-name "\\boot\\x64\\wdsnbp.com";
    #option bootfile-name "\\boot\\x64\\bootmgfw.efi";
    #option bootfile-name "\\boot\\x86\\pxelinux.0";
    #
    class "pxeclients" {
      match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
        next-server 192.168.1.195;
        if option architecture-type = 00:07 {
          filename "\\boot\\x64\\bootmgfw.efi";
        } else {
          filename "\\boot\\x64\\wdsnbp.com";
        }
      }
      
    host client01 {
        hardware ethernet xx:xx:xx:xx:xx:xx;
        fixed-address 192.168.14.65;
    }
    ......
}

Windows Server 2019 Datacenter

安装 WDS Windows 部署服务,配置好安装映像和启动映像
开始-Windows 管理工具- Windows 部署服务
Windows 部署服务-服务器-Center(主机名)右键单击,选择属性

PXE 响应

响应所有客户端计算机(已知和未知)
在这里插入图片描述

启动

已知客户端 继续PXE启动,除非用户按 Esc 键
未知客户端 继续PXE启动,除非用户按 Esc 键
在这里插入图片描述

客户端

启动无人参与安装
选择无人参与安装的文件
勾选 安装之后,不要将客户端加入域
在这里插入图片描述

DHCP

两项都取消选择
不侦听 DCHP 端口
配置 DCHP 选项以指示此服务器也是 PXE 服务器
在这里插入图片描述

PXE 引导

当客户机开机后,启动网络引导,此时有两种情况,一种是旧的 BIOS 引导,一种是新的 UEFI 引导,上面配置的 DHCP 服务器会自行判断,给出不同的引导文件。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

WDS ISC-DHCP-SERVER PXE 的相关文章

随机推荐

  • Android AndroidManifest.xml

    package 主程序包的包名 xff0c 它也是一个应用进程的默认名称 versionCode 给设备程序识别版本 升级 用的必须是一个interger值代表app更新过多少次 xff0c 比如第一版一般为1 xff0c 之后若要更新版本
  • Android 全局变量 Application

    MainActivity span class token keyword public span span class token keyword class span span class token class name MainAc
  • 博客搬家

    博客搬家三次 xff0c 因CSDN原因 xff0c 一直失败 终于在上周搬家成功 博客新址 xff1a https www cnblogs com zhangxuechao 我真是无语了 xff0c 满屏的广告 xff0c 像看电影一样
  • netfilter

    通俗的说 xff0c netfilter的架构就是在整个网络流程的若干位置放置了一些检测点 xff08 HOOK xff09 xff0c 而在每个检测点上登记了一些处理函数进行处理 xff08 如包过滤 xff0c NAT等 xff0c 甚
  • Linux挂载Windows文件夹

    sudo mount t cifs o user 61 username Windows用户名 o uid 61 myname password 61 pass Linux用户名 密码 o gid 61 users o defaults m
  • 单幅图像场景理解,论文解读

    Karsch K Liu C Kang S B Depth Transfer Depth Extraction from Video Using Non Parametric Sampling J IEEE Transactions on
  • AD转换 XPT2046

    首先介绍一下csdn屏蔽广告 这个至关重要 xff0c 请参考 https blog csdn net Demo Liu article details 81538222 应用电路 引脚功能描述 控制位命令 控制字节各位描述 单端模式输入配
  • Windows VNC远程连接用法

    VNC Virtual Network Console 是虚拟网络控制台 被控端 被控端需要打开服务 xff0c 等待主控端连接 服务端已经启动成功 xff0c 右下角有小图标 主控端 打开主控端 xff0c 连接被控端 输入被控端ip 输
  • Cheat Engine 基本用法

    首先介绍一下csdn屏蔽广告 这个至关重要 xff0c 请参考 https blog csdn net Demo Liu article details 81538222 打开游戏 当前血量2620 打开Cheat Engine 扫描262
  • SPL06-001 气压计

    歌尔是全球领先的MEMS厂家 xff0c 最新推出新款气压传感器SPL06 001 xff0c 定位精度可达5cm 手册地址 https download csdn net download zhangxuechao 10548473 寄存
  • 易语言网页登录 POST

    首先介绍一下csdn屏蔽广告 这个至关重要 xff0c 请参考 https blog csdn net Demo Liu article details 81538222 使用精易模块 打开网页登录窗口 抓取数据 输入用户名密码 xff0c
  • 十六进制字符串转换为十进制

    十进制字符串转换为十进制数 char str 61 34 123 34 int n 61 atoi str printf 34 d n 34 n 输出 xff1a 123 十六进制字符串转换为十进制数 法一 long long change
  • QTableWidget获取选中行内容

    首先介绍一下csdn屏蔽广告 这个至关重要 xff0c 请参考 https blog csdn net Demo Liu article details 81538222 QList lt QTableWidgetItem gt items
  • AT+CNUM获取不到手机号

    原因是卡商没有写入SIM卡 解决办法 手动写入 1 先确认SIM卡的本机号码 2 选择电话本存储 span class hljs comment AT 43 CPBS Select phonebook memory storage 34 O
  • linux远程桌面连接 VNC Server

    更新源 sudo apt get update 安装vnc4server sudo apt get install vnc4server 修改vnc远程连接密码 vncpasswd 编辑vnc4server的配置文件 vi vnc xsta
  • 上传gitee教程,Gitee怎么上传代码到仓库

    目录 第一步 xff1a 配置git的用户名和邮箱 第二步 xff1a 上传到远程仓库 第三步 xff1a 将仓库的master分支拉取过来和本地的当前分支进行合并 第四步 xff1a 将修改的所有代码添加到暂存区 第五步 xff1a 将缓
  • HJ6 质数因子

    描述 功能 输入一个正整数 xff0c 按照从小到大的顺序输出它的所有质因子 xff08 重复的也要列举 xff09 xff08 如180的质因子为2 2 3 3 5 xff09 输入描述 xff1a 输入一个整数 输出描述 xff1a 按
  • strstr字符串查找

    1 查找字符串 strstr是在字符串str1中查找是否含有字符串str2 如果有则返回字符串 xff0c 无则返回NULL 没有找到字符串 using namespace std include lt iostream gt includ
  • pip install cupy安装缓慢,安装cupy-cuda101 (for CUDA 10.1)代替

    直接安装cupy会特别的慢 xff0c 甚至以为卡死了 直接安装对应的cupy cuda包即可 cupy cuda101 for CUDA 10 1 cupy cuda100 for CUDA 10 0 cupy cuda92 for CU
  • WDS ISC-DHCP-SERVER PXE

    Debian Linux bullseye gt cat etc os release PRETTY NAME 61 34 Debian GNU Linux bullseye sid 34 NAME 61 34 Debian GNU Lin