AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[netboot](server)

Martin Hope
freezed
Asked: 2021-09-24 13:40:11 +0800 CST

在 QEMU 上启动 Debian Live ISO

  • 1

情况:

服务器:

  • 仅通过 SSH 访问(无物理访问,无 KVM)
  • 一个网络引导操作系统(Debian/Jessie)
  • 3 个 2T 硬盘
  • 16G 内存

最终目标:

ZFS pool使用本地硬盘构建并在 ZFS root上安装Debian,netboot OS 缺少用于安装 ZFS 的软件包apt,这就是我想启动 Live Debian 的原因。

问题:

  1. 我wget在debian-live-11.0.0-amd64-standard.iso_/tmp
  2. 我安装了QEMU(通过apt),过多的选项让我感到困惑(我正在发现它)。我最先进的尝试是这样的:
qemu-system-x86_64 -curses -net nic -net user -m 1024M
    -drive file=/tmp/11-live-amd64-std.iso,media=cdrom -boot c

该选项通过 install iso-curses给出了正确的结果,当消息出现时,我使用访问菜单并将选项传递给它,然后它就会运行(截图)640 x 480 Graphic mode<esc>boot:grubinstall vga=normal fb=false

但是对于 Live iso,它不起作用(截图)

这些是我的问题:

  1. 我是否错过了任何QEMU选项来显示不应该使用此标准iso 图形化的输出?
  2. 我是否需要在控制台模式下使用(例如)GRUB 配置我的 live iso ?
  3. 我是否无法配置端口转发以QEMU通过 SSH 或 telnet 访问控制台?
  4. 有没有其他解决方案(没有QEMU)?

提前致谢

debian netboot qemu openzfs
  • 1 个回答
  • 630 Views
Martin Hope
hookenz
Asked: 2012-09-25 13:57:39 +0800 CST

如何回退到 iPXE 脚本中从本地硬盘启动?

  • 4

我有一个从 iPXE 加载的脚本。

我想要的是让脚本在无法从 san 启动时回退到从本地硬盘驱动器(或 CDROM)启动。

这个想法是允许从本地 CDROM 或 USB 驱动器将操作系统安装到 SAN 目标上。

我在 iPXE 文档中看不到告诉我如何从本地内部驱动器启动的任何地方。我该怎么做呢?

netboot
  • 3 个回答
  • 6995 Views
Martin Hope
Andrey Sapegin
Asked: 2012-05-09 00:35:39 +0800 CST

从网络引导和/或同步 Linux 映像

  • 2

我正在寻找一种解决方案(或者至少是一些指南/途径/手册)来从网络引导和同步 Linux 映像。我已经了解网络引导(PXE、DHCP、TFTP)的工作原理。

在我的组织中,我们有许多 PC 具有与 Linux (Ubuntu LTS) 相同(或不同)的硬件配置。当我们进行升级时,我需要手动升级每台 PC。当有人要求软件更新(例如,LibreOffice、Eclipse、VMware)时也是如此。当然,我不喜欢手动操作。

现在我正在寻找允许我使用自定义软件集创建自定义 Linux 映像并在启动过程中将其与用户 PC 同步的解决方案。

目标是在所有(一个部门)用户的计算机上拥有一个操作系统,具有相同的配置和软件。

我对无盘客户端或 Linux 终端服务器不感兴趣。而且我不仅在寻找网络安装。我想制作一个自定义 Linux 映像,然后在引导期间将其安装在用户的计算机上 - 在每台用户计算机上创建一个本地安装。

但是,如果我在映像中更改某些内容(例如,将新软件添加到此映像中,或者只是运行“apt-get upgrade”),我希望这些更新在下次网络启动/同步期间出现在用户的计算机上。我想同步系统配置(/etc、/usr、/opt 和其他),而不需要用户的 /home 或 /media 中的数据。

非常感谢您。


PS 我也在寻找支持具有不同硬件的用户计算机的选项。

PPS 另一种选择是将自定义手动预安装的 Linux 与来自网络的映像同步(映像应覆盖自定义安装)。

PPPS 我也梦想为 Windows 做同样的事情。

linux pxe-boot netboot tftp unison
  • 2 个回答
  • 211 Views
Martin Hope
user13654
Asked: 2010-03-31 10:26:52 +0800 CST

如何让 Mac 在 NetBooting 时从另一个并行运行的 DHCP 服务器请求新的 IP 地址?

  • 4

我有一个有趣的情况。

我正在尝试使用基于 Linux 的机器,通过与“全局”DHCP 服务器并行运行 DHCP 服务来允许 Mac 进行 Netboot(类似于 PXE 引导)。

本地 DHCP 服务器分发私有子网中的 IP,例如 10.168.0.10-10.168.254-254,而“全局”DHCP 服务器分发 IP 范围 10.0.0.1 - 10.0.1.254 中的 IP。

本地 DHCP 范围只应该在 Preboot Execution Environment 和 Netboot 中使用。本地 DHCP 服务器是我可以控制的,但我无权访问全局 DHCP 服务器。

我有一个过滤器,只允许具有供应商字符串“AAPLBSDPC/i386”和“PXEClient”的成员。

PXE 工作正常,但 Netboot 有一个怪癖。

尚未连接到网络的 Apple 系统可以正常启动网络。但是一旦它从全局 DHCP 服务器中获取了一个“真实的”IP 地址,它就会“保存”它并在下次我们希望它进行网络启动时请求它(本地 dhcp 服务器不会给它)。

这就是我要的:

Mar 30 10:52:28 dev01 dhcpd: DHCPDISCOVER from 34:15:xx:xx:xx:xx via eth1
Mar 30 10:52:29 dev01 dhcpd: DHCPOFFER on 10.168.222.46 to 34:15:xx:xx:xx:xx via eth1
Mar 30 10:52:31 dev01 dhcpd: DHCPREQUEST for 10.168.222.46 (10.168.0.1) from 34:15:xx:xx:xx:xx via eth1
Mar 30 10:52:31 dev01 dhcpd: DHCPACK on 10.168.222.46 to 34:15:xx:xx:xx:xx via eth1
Mar 30 10:52:32 dev01 in.tftpd[5890]: tftp: client does not accept options
Mar 30 10:52:53 dev01 in.tftpd[5891]: tftp: client does not accept options
Mar 30 10:52:53 dev01 in.tftpd[5893]: tftp: client does not accept options
Mar 30 10:52:54 dev01 in.tftpd[5895]: tftp: client does not accept options

当它已经有一个“存储的”IP时,这是我得到的:

Mar 30 10:51:29 dev01 dhcpd: DHCPDISCOVER from 00:25:xx:xx:xx:xx via eth1
Mar 30 10:51:30 dev01 dhcpd: DHCPOFFER on 10.168.222.45 to 00:25:xx:xx:xx:xx via eth1
Mar 30 10:51:31 dev01 dhcpd: DHCPREQUEST for 10.0.0.61 (10.0.0.1) from 00:25:xx:xx:xx:xx via eth1: ignored (not authoritative).

你有什么建议吗?将不胜感激。

编辑:我认为如果 DHCP 服务器在 Apple 类中,它应该对请求进行 NACK……我可以在过滤掉 Apple Netbooting 系统的类中粘贴“权威”声明吗?

[从本地 DHCP 服务器中删除 tcpdump]

我尝试用组合键来击打婴儿车,但没有奏效。它仍然在 DHCP 日志中报告相同的内容。我现在正在研究 DHCP 配置中的其他随机选项。

编辑:

有趣的是,如果我进入操作系统,关闭 en0,然后重新启动并尝试 NetBooting(因此释放 IP?)。Netboot 将从本地服务器和 Netboot 正确获取 IP。

您对为什么这样做有任何想法吗?

(我想感谢你到目前为止所做的所有努力,你真的很有帮助。)

这是通过 Netboot 客户端的镜像端口进行的端口跟踪。

图例(以防万一):

IP 地址

  • 10.0.* 是全球 IP 范围 [公共 LAN]
  • 10.168.* 是本地 IP 范围 [Private LAN/For Netboot/PXE]

苹果电脑

  • 34:15:xx:... 是 Netboot 客户端
  • 00:1e:xx:... 是本地 DHCP 服务器
  • 00:24:xx:... 是全局 DHCP 服务器

当它不起作用时跟踪:

tcpdump: listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:01:10.765615 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 16, id 163, offset 0, flags [none], proto UDP (17), length 576)
    0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 34:15:xx:xx:xx:xx, length 548, xid 0x2b93, secs 5, Flags [none] (0x0000)
      Client-Ethernet-Address 34:15:xx:xx:xx:xx
      Vendor-rfc1048 Extensions
        Magic Cookie 0x63825363
        DHCP-Message Option 53, length 1: Discover
        Parameter-Request Option 55, length 5: 
          Subnet-Mask, Default-Gateway, BF, Vendor-Option
          Vendor-Class
        Client-ID Option 61, length 7: ether 34:15:xx:xx:xx:xx
        Vendor-Class Option 60, length 28: "AAPLBSDPC/i386/MacBookPro5,3"
        Vendor-Option Option 43, length 4: 2.2.1.1
        END Option 255, length 0
        PAD Option 0, length 0, occurs 252
15:01:10.784087 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 346: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 17248, offset 0, flags [none], proto UDP (17), length 328)
    10.0.129.254.67 > 10.0.128.63.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x2b93, Flags [none] (0x0000)
      Your-IP 10.0.128.63
      Server-IP 10.0.178.10
      Gateway-IP 10.0.129.254
      Client-Ethernet-Address 34:15:xx:xx:xx:xx
      Vendor-rfc1048 Extensions
        Magic Cookie 0x63825363
        DHCP-Message Option 53, length 1: Offer
        Subnet-Mask Option 1, length 4: 255.255.254.0
        RN Option 58, length 4: 1296000
        RB Option 59, length 4: 2268000
        Lease-Time Option 51, length 4: 2592000
        Server-ID Option 54, length 4: 10.0.178.10
        Default-Gateway Option 3, length 4: 10.0.129.254
        END Option 255, length 0
        PAD Option 0, length 0, occurs 20
15:01:11.527910 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 416: vlan 1, p 0, ethertype IPv4, (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 398)
    10.168.0.1.67 > 10.168.0.11.68: [udp sum ok] BOOTP/DHCP, Reply, length 370, xid 0x2b93, secs 5, Flags [none] (0x0000)
      Your-IP 10.168.0.11
      Server-IP 10.168.0.1
      Client-Ethernet-Address 34:15:xx:xx:xx:xx
      sname "10.168.0.1"
      file "macnbi-i386/booter"
      Vendor-rfc1048 Extensions
        Magic Cookie 0x63825363
        DHCP-Message Option 53, length 1: Offer
        Server-ID Option 54, length 4: 10.168.0.1
        Lease-Time Option 51, length 4: 86400
        Subnet-Mask Option 1, length 4: 255.255.0.0
        Default-Gateway Option 3, length 4: 10.168.0.1
        RP Option 17, length 76: "http://10.0.128.1/Netboot/NetBootSP0/NetRestore.nbi/NetInstall-Restore.dmg"
        Vendor-Option Option 43, length 6: 8.4.129.0.0.103
        Vendor-Class Option 60, length 14: "AAPLBSDPC/i386"
        END Option 255, length 0
15:01:12.865888 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 16, id 39430, offset 0, flags [none], proto UDP (17), length 576)
    0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 34:15:xx:xx:xx:xx, length 548, xid 0x2b93, secs 5, Flags [none] (0x0000)
      Client-Ethernet-Address 34:15:xx:xx:xx:xx
      Vendor-rfc1048 Extensions
        Magic Cookie 0x63825363
        DHCP-Message Option 53, length 1: Request
        Parameter-Request Option 55, length 5: 
          Subnet-Mask, Default-Gateway, BF, Vendor-Option
          Vendor-Class
        Client-ID Option 61, length 7: ether 34:15:xx:xx:xx:xx
        Vendor-Class Option 60, length 28: "AAPLBSDPC/i386/MacBookPro5,3"
        Requested-IP Option 50, length 4: 10.0.128.63
        Server-ID Option 54, length 4: 10.0.178.10
        Vendor-Option Option 43, length 4: 2.2.1.1
        END Option 255, length 0
        PAD Option 0, length 0, occurs 240
15:01:12.868182 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 346: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 17251, offset 0, flags [none], proto UDP (17), length 328)
    10.0.129.254.67 > 10.0.128.63.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x2b93, Flags [none] (0x0000)
      Your-IP 10.0.128.63
      Gateway-IP 10.0.129.254
      Client-Ethernet-Address 34:15:xx:xx:xx:xx
      Vendor-rfc1048 Extensions
        Magic Cookie 0x63825363
        DHCP-Message Option 53, length 1: ACK
        RN Option 58, length 4: 1296000
        RB Option 59, length 4: 2268000
        Lease-Time Option 51, length 4: 2592000
        Server-ID Option 54, length 4: 10.0.178.10
        Subnet-Mask Option 1, length 4: 255.255.254.0
        Default-Gateway Option 3, length 4: 10.0.129.254
        END Option 255, length 0
        PAD Option 0, length 0, occurs 20
15:01:12.868185 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.128.63 tell 0.0.0.0, length 46
15:01:13.367995 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.128.63 tell 10.0.128.63, length 46
15:01:13.868312 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.129.254 tell 10.0.128.63, length 46
15:01:13.868854 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.0.129.254 is-at 00:24:xx:xx:xx:xx, length 46
15:01:13.868857 34:15:xx:xx:xx:xx > 00:24:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 89: (tos 0x0, ttl 16, id 39236, offset 0, flags [none], proto UDP (17), length 75)
    10.0.128.63.15789 > 10.168.0.1.69: [udp sum ok]  47 RRQ "macnbi-i386/booter" octet blksize 512 tsize 0
15:01:18.968010 34:15:xx:xx:xx:xx > 00:24:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 89: (tos 0x0, ttl 16, id 41750, offset 0, flags [none], proto UDP (17), length 75)
    10.0.128.63.15790 > 10.168.0.1.69: [udp sum ok]  47 RRQ "macnbi-i386/booter" octet blksize 512 tsize 0 
15:01:24.067221 34:15:xx:xx:xx:xx > 00:24:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 89: (tos 0x0, ttl 16, id 30380, offset 0, flags [none], proto UDP (17), length 75)
    10.0.128.63.15791 > 10.168.0.1.69: [udp sum ok]  47 RRQ "macnbi-i386/booter" octet blksize 512 tsize 0

看起来你是对的;它确实收到了多个回复,但我不确定这是否是它没有选择一个而不是另一个的原因。

这是一个成功的网络启动尝试的 tcpdump:

tcpdump: listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:31:26.287342 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 16, id 44354, offset 0, flags [none], proto UDP (17), length 576)
    0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 34:15:xx:xx:xx:xx, length 548, xid 0x32cc, secs 5, Flags [none] (0x0000)
     Client-Ethernet-Address 34:15:xx:xx:xx:xx
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Discover
       Parameter-Request Option 55, length 5: 
         Subnet-Mask, Default-Gateway, BF, Vendor-Option
         Vendor-Class
       Client-ID Option 61, length 7: ether 34:15:xx:xx:xx:xx
       Vendor-Class Option 60, length 28: "AAPLBSDPC/i386/MacBookPro5,3"
       Vendor-Option Option 43, length 4: 2.2.1.1
       END Option 255, length 0
       PAD Option 0, length 0, occurs 252
15:31:26.289057 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 127, id 1530, offset 0, flags [none], proto ICMP (1), length 39)
    10.0.178.10 > 10.0.128.63: ICMP echo request, id 512, seq 22420, length 19
15:31:26.624305 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 416: vlan 1, p 0, ethertype IPv4, (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 398)
    10.168.0.1.67 > 10.168.0.11.68: [udp sum ok] BOOTP/DHCP, Reply, length 370, xid 0x32cc, secs 5, Flags [none] (0x0000)
     Your-IP 10.168.0.11
     Server-IP 10.168.0.1
     Client-Ethernet-Address 34:15:xx:xx:xx:xx
     sname "10.168.0.1"
     file "macnbi-i386/booter"
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Offer
       Server-ID Option 54, length 4: 10.168.0.1
       Lease-Time Option 51, length 4: 86400
       Subnet-Mask Option 1, length 4: 255.255.0.0
       Default-Gateway Option 3, length 4: 10.168.0.1
       RP Option 17, length 76: "http://10.0.128.1/Netboot/NetBootSP0/NetRestore.nbi/NetInstall-Restore.dmg"
       Vendor-Option Option 43, length 6: 8.4.129.0.0.103
       Vendor-Class Option 60, length 14: "AAPLBSDPC/i386"
       END Option 255, length 0
15:31:27.301638 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 127, id 1532, offset 0, flags [none], proto ICMP (1), length 39)
    10.0.178.10 > 10.0.128.63: ICMP echo request, id 512, seq 22676, length 19
15:31:28.387589 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 16, id 29575, offset 0, flags [none], proto UDP (17), length 576)
    0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 34:15:xx:xx:xx:xx, length 548, xid 0x32cc, secs 5, Flags [none] (0x0000)
     Client-Ethernet-Address 34:15:xx:xx:xx:xx
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Request
       Parameter-Request Option 55, length 5: 
         Subnet-Mask, Default-Gateway, BF, Vendor-Option
         Vendor-Class
       Client-ID Option 61, length 7: ether 34:15:xx:xx:xx:xx
       Vendor-Class Option 60, length 28: "AAPLBSDPC/i386/MacBookPro5,3"
       Requested-IP Option 50, length 4: 10.168.0.11
       Server-ID Option 54, length 4: 10.168.0.1
       Vendor-Option Option 43, length 4: 2.2.1.1
       END Option 255, length 0
       PAD Option 0, length 0, occurs 240
15:31:28.802414 00:24:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 346: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 255, id 19737, offset 0, flags [none], proto UDP (17), length 328)
    10.0.129.254.67 > 10.0.128.63.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x32cc, Flags [none] (0x0000)
     Your-IP 10.0.128.63
     Server-IP 10.0.178.10
     Gateway-IP 10.0.129.254
     Client-Ethernet-Address 34:15:xx:xx:xx:xx
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: Offer
       Subnet-Mask Option 1, length 4: 255.255.254.0
       RN Option 58, length 4: 1296000
       RB Option 59, length 4: 2268000
       Lease-Time Option 51, length 4: 2592000
       Server-ID Option 54, length 4: 10.0.178.10
       Default-Gateway Option 3, length 4: 10.0.129.254
       END Option 255, length 0
       PAD Option 0, length 0, occurs 20
15:31:28.899055 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 392: vlan 1, p 0, ethertype IPv4, (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 374)
    10.168.0.1.67 > 10.168.0.11.68: [udp sum ok] BOOTP/DHCP, Reply, length 346, xid 0x32cc, secs 5, Flags [none] (0x0000)
     Your-IP 10.168.0.11
     Server-IP 10.168.0.1
     Client-Ethernet-Address 34:15:xx:xx:xx:xx
     sname "10.168.0.1"
     file "macnbi-i386/booter"
     Vendor-rfc1048 Extensions
       Magic Cookie 0x63825363
       DHCP-Message Option 53, length 1: ACK
       Server-ID Option 54, length 4: 10.168.0.1
       Lease-Time Option 51, length 4: 86400
       Subnet-Mask Option 1, length 4: 255.255.0.0
       Default-Gateway Option 3, length 4: 10.168.0.1
       RP Option 17, length 76: "http://10.0.128.1/Netboot/NetBootSP0/NetRestore.nbi/NetInstall-Restore.dmg"
       END Option 255, length 0
15:31:28.899058 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.11 tell 0.0.0.0, length 46
15:31:29.398941 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.11 tell 10.168.0.11, length 46
15:31:29.899254 34:15:xx:xx:xx:xx > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.1 tell 10.168.0.11, length 46
15:31:29.899257 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.168.0.1 is-at 00:1e:xx:xx:xx:xx, length 46
15:31:29.899259 34:15:xx:xx:xx:xx > 00:1e:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 89: (tos 0x0, ttl 16, id 38655, offset 0, flags [none], proto UDP (17), length 75)
    10.168.0.11.17638 > 10.168.0.1.69: [udp sum ok]  47 RRQ "macnbi-i386/booter" octet blksize 512 tsize 0 
15:31:29.899924 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 73: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 25574, offset 0, flags [DF], proto UDP (17), length 55)
    10.168.0.1.43349 > 10.168.0.11.17638: [udp sum ok] UDP, length 27
15:31:29.900216 34:15:xx:xx:xx:xx > 00:1e:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 60: (tos 0x0, ttl 16, id 59278, offset 0, flags [none], proto UDP (17), length 33)
    10.168.0.11.17638 > 10.168.0.1.43349: [udp sum ok] UDP, length 5
15:31:34.900598 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.11 tell 10.168.0.1, length 46
15:31:35.900833 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.11 tell 10.168.0.1, length 46
15:31:36.901071 00:1e:xx:xx:xx:xx > 34:15:xx:xx:xx:xx, ethertype 802.1Q (0x8100), length 64: vlan 1, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.168.0.11 tell 10.168.0.1, length 46

看到这个日志你有什么想法?

编辑/更新:

我刚刚添加了更多选项,因此我的本地 DHCP 选项计数为 11,而全局 DHCP 选项计数为 9。它仍然无法从我的本地 DHCP 服务器获取 IP 地址。不知道我能做什么,我不应该每次需要 NetBoot 时都释放 IP。

所以看起来它会接受第一个 DHCP 提议,是否有确保本地 DHCP 服务器首先响应?

你有什么见解可以和我们分享吗?

mac-osx dhcp netboot netrestore
  • 2 个回答
  • 3719 Views
Martin Hope
ianfuture
Asked: 2010-02-07 06:07:12 +0800 CST

Debian 网络引导通过 PXE 所需文件

  • 1

我正在尝试执行网络引导以在我拥有的备用 PC 上安装 Debian。我正在使用 Windows XP Pro 机器作为“服务器”。它设置并运行了一个 TFTP/DHCP 服务器,但是关于将哪些特定文件放入 netboot driectory 的根文件夹以允许在“客户端”机器上开始 Debian 安装的信息是模糊和混乱的,并且到目前为止还没有为我工作,

据我了解,我应该(并且已经)为 Debain 下载了 netboot.tar.gz 文件,并将其解压缩并解压到指定的 TFTP 服务器的目录中。然后我需要从那里移动一些文件并更改它们?我真的不清楚下一步,我的实验失败了,搜索在线帮助也没有结果。因此,如果有人可以解释需要哪些文件以及如何组织它们以便可以开始网络引导,我将非常高兴!:)

提前谢谢..伊恩

编辑:有人有什么建议吗?

debian files pxe-boot netboot tftp
  • 1 个回答
  • 1040 Views
Martin Hope
seeker7
Asked: 2010-02-03 05:05:23 +0800 CST

如何在 VMware server 2.0 中对 Linux VM 进行网络引导?

  • 0

伙计们,

我是使用VMware的新手,所以如果这是一个新手问题,请原谅......

如何对来宾 Linux 虚拟机进行网络引导?我正在使用在 Linux 主机 ( Fedora ) 上运行的 VMware server 2.0。

将不胜感激任何指针......

干杯!!小号

linux vmware-server netboot
  • 1 个回答
  • 380 Views
Martin Hope
Clinton Blackmore
Asked: 2009-07-04 06:17:02 +0800 CST

NetBoot 服务器如何宣传自己?

  • 1

我在运行 Mac OS X 10.5.6 服务器的机器上运行 NetBoot 服务。我一直在更改图像以提供服务,并且大多数都可以使用,但是我尝试的最后一个没有-如果您在客户端上转到系统偏好设置->启动磁盘,它看不到特定的网络启动选项。

我突然想到服务器如何宣传其服务。我知道它使用引导服务发现协议(BSDP)(据我了解)也可以充当 DHCP 服务器。那时似乎正在运行:

ipconfig getpacket en0

可能作为 root,会显示与 NetBooting 相关的内容,但似乎没有。

同样,我知道 NetBoot 服务器不一定是您的 DHCP 服务器。因此有人会认为它使用 mDNS 来宣传自己。但是,当我启动Bonjour Browser时,我没有发现任何对我说“啊,我的 NetBoot 服务”的东西。

mac-osx netboot
  • 1 个回答
  • 1736 Views
Martin Hope
Jay Stevens
Asked: 2009-06-26 11:25:18 +0800 CST

在 SunBlade 6000/6250 上远程安装 Windows 2008... 有什么问题吗?

  • 1

我正准备将 Windows 2008 Standard 远程安装到安装在SunBlade 6000机箱机架中的 6250 刀片模块上。

是否有任何陷阱(除了与传输 ISO 时的带宽相关的可预测问题等)?有其他人成功完成此任务吗?

我不是硬件人,我是软件人,因为数据中心的人不想碰它,所以被交给了这项任务。

任何帮助表示赞赏。

windows-server-2008 sun provisioning netboot windows-pe
  • 1 个回答
  • 387 Views
Martin Hope
Doug Chase
Asked: 2009-05-16 04:12:44 +0800 CST

部署 DeployStudio

  • 1

另请参阅问题如何从 NetBoot 服务器禁用或卸载 NetRestore?.

编辑将此链接添加到一个很棒的文档中,我应该一直使用它,但直到为时已晚才找到。

我已经成功地从我的 NetBoot 服务器中删除了 NetRestore,并正在尝试安装 DeployStudio。据我了解,可启动的北向接口应该通过运行 DeployStudio 助手自动生成,但文档对此不是很清楚。

我是否需要在助手中运行单独的“创建 DeployStudio NetBoot 集”功能?助手对话框在这里令人困惑,因为它们指定您必须在“您拥有的最新 Mac OS X 系统”上创建 NBI。我是在 Mac 客户端上创建 NBI,然后将其移动到 Xserve,还是在 Xserve 上创建它,即使它不是我们拥有的最新 OS X 设备?

deployment mac-osx xserve netboot deploystudio
  • 2 个回答
  • 976 Views
Martin Hope
Doug Chase
Asked: 2009-05-14 08:58:46 +0800 CST

如何从 NetBoot 服务器禁用或卸载 NetRestore?

  • 1

我正在尝试从 NetRestore 迁移到 DeployStudio 以进行双引导 Apple 部署,但我不确定如何从 NetBoot 服务器中删除 NetRestore。当我 NetBoot 客户端时,它仍会自动启动 NetRestore 而不会启动 DeployStudio。我相信我已经在服务器上正确安装了 DeployStudio,并且我的存储库可以从客户端安装。

apple xserve netboot netrestore deploystudio
  • 1 个回答
  • 1758 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve