OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • Seeking help with installing OPNSense using PXE
« previous next »
  • Print
Pages: [1]

Author Topic: Seeking help with installing OPNSense using PXE  (Read 5224 times)

awnpbmdhmmfkbwlu

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Seeking help with installing OPNSense using PXE
« on: October 27, 2021, 06:06:37 pm »
I have a PXE server in a VM cluster and would like to use it to bring up instances of OPNSense.
I was able to accomplish this with no issues using pfSense, but OPNSense fails to launch the live environment.

FWIW;

Code: [Select]
subnet 10.10.10.0 netmask 255.255.255.0 {
  range  10.10.10.5 10.10.10.50;
  option routers 10.10.10.1;
  option domain-name "domain.local";
  option domain-name-servers 10.127.10.127;
}

host fw001 {
  hardware ethernet bc:30:d9:2a:c9:50;
  fixed-address 10.10.10.163;
  next-server 10.10.10.10;
  filename "/os/bsd/opnsense/boot/pxeboot";
  option root-path "10.10.10.10:/srv/tftp/os/bsd/opnsense/";
}

For OPNSense, the pxeboot is executed, the root-path is read, but eventually NFS connectivity is dropped (see screenshot link).

https://i.imgur.com/YyhdHFF.png

Can anyone assist, or is there a good doc out there for getting OPNSense to install over PXE?
Logged

awnpbmdhmmfkbwlu

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Seeking help with installing OPNSense using PXE
« Reply #1 on: October 29, 2021, 10:09:58 pm »
Adding the resolution discovered by my team lead;

The screenshot shows the interface flapping because OPNSense is trying repeatedly to grab it to reconnect.
The problem is that OPNSense had already reconfigured the interface as it expected >1 interfaces to start with.

By adding 3 interfaces, OPNSense installer was able to pick 1 for each of LAN/WAN, and PXE off the 3rd successfully.
Logged

KoS

  • Newbie
  • *
  • Posts: 34
  • Karma: 2
    • View Profile
Re: Seeking help with installing OPNSense using PXE
« Reply #2 on: May 10, 2022, 10:43:25 pm »
@awnpbmdhmmfkbwlu
I would like to use PXE for deploying OPNsense and I was wondering which image are using to boot OPNsense? What file is "/os/bsd/opnsense/boot/pxeboot"? Thanks for a hint :-)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • Seeking help with installing OPNSense using PXE
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2