• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

PXE with severals vlans

Scheduled Pinned Locked Moved
FOG Problems
3
11
3.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jo2220
    last edited by Mar 13, 2015, 1:47 PM

    Another information . My fogserver has 4 IP adress ( one for each network )

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Mar 13, 2015, 6:26 PM

      in your /tftpboot/default.ipxe file, edit the last lines as such
      [CODE]# normal fog server
      chain http://<network 1 IP>/fog/service/ipxe/boot.php##params||chain http://<network 2 IP>/fog/service/ipxe/boot.php##params||chain http://<network 3 IP>/fog/service/ipxe/boot.php##params||chain http://<network 4 IP>/fog/service/ipxe/boot.php##params[/CODE]
      this will cause ipxe to attempt the next ip address for the fog server as each fails. it’s probably not the cleanest way to do it, but it should get you going

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • J
        Jo2220
        last edited by Mar 14, 2015, 11:20 AM

        [quote=“Junkhacker, post: 43855, member: 21583”]in your /tftpboot/default.ipxe file, edit the last lines as such
        [CODE]# normal fog server
        chain http://<network 1 IP>/fog/service/ipxe/boot.php##params||chain http://<network 2 IP>/fog/service/ipxe/boot.php##params||chain http://<network 3 IP>/fog/service/ipxe/boot.php##params||chain http://<network 4 IP>/fog/service/ipxe/boot.php##params[/CODE]
        this will cause ipxe to attempt the next ip address for the fog server as each fails. it’s probably not the cleanest way to do it, but it should get you going[/quote]
        Thank you for your answer.
        I will test it monday.

        Maybe , it’s possible to do a kind of script :

        • To get back a IP adress ( if IP adress start by 192 go to chain [url]http://192.168.x.x/fog/service/ipxe/boot.php##params[/url] )
          else continue at the next IP adress…
          Begin again for the 4 networks.

        What do you think about it?

        1 Reply Last reply Reply Quote 0
        • J
          Jo2220
          last edited by Mar 16, 2015, 7:00 AM

          I tested your solution any success
          Computer doesn’t boot on the 4 network. Only the primary “network IP”
          My dhcp-server’s filename is undionly.kpxe

          Thanks

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Mar 16, 2015, 12:32 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J
              Jo2220
              last edited by Mar 16, 2015, 12:35 PM

              Hi,
              My server is a Ubuntu desktop 14.04.2 LTS x64

              1 Reply Last reply Reply Quote 0
              • J
                Junkhacker Developer
                last edited by Mar 16, 2015, 2:13 PM

                on the systems that fail to work properly, can you tell if they’re trying to go to the boot.php locations or if they don’t get that far?

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • J
                  Jo2220
                  last edited by Mar 16, 2015, 2:24 PM

                  regardless of the default.ipxe 's configuration file , pxe boots on the primary IP network ( fog’s webinterface )
                  chain commands have any effect
                  I tested with only IP network (other Ip adress ) without success

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junkhacker Developer
                    last edited by Mar 16, 2015, 2:39 PM

                    on the line before the [CODE]chain http://<network 1 IP>/fog/service/ipxe/boot.php##params[/CODE] add a prompt, like so
                    [CODE]prompt
                    chain http://<network 1 IP>/fog/service/ipxe/boot.php##params[/CODE]
                    let me know what is shown on screen

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jo2220
                      last edited by Mar 16, 2015, 4:41 PM

                      So
                      I reinstalled a new machine with a clean install of fog (same OS)
                      If i use chain command like this:
                      chain [url]http://<network[/url] IP 1>/fog/service/ipxe/boot.php##params||chain [url]http://<network[/url] IP 2>/fog/service/ipxe/boot.php##params
                      [U]Boot on the Network IP 1:[/U]
                      Boot ok, menu fog appears -:)

                      [U]Boot from network IP 2:[/U]
                      TFPT…
                      Then
                      PXE-E32 : TFTP open timeout
                      then
                      TFTP…
                      And after 5 min , windows boots

                      But If I open the link [url]http://<network[/url] IP 2>/fog/service/ipxe/boot.php##params in my browser , I have :
                      #!ipxe
                      cpuid --ext 29 && set arch x86_64 || set arch i386
                      colour --rgb 0xff6600 2
                      cpair --foreground 7 --background 2 2
                      console --picture [url]http://<network[/url] IP 1>/fog/service/ipxe/bg.png --left 100 --right 80
                      :MENU
                      menu
                      colour --rgb 0xff0000 0
                      cpair --foreground 0 3

                      That can never work

                      I think the best way is open ACL (access control list) between all my network

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        11/11
                        Last post

                      177

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project