Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PXE; Getting a bootfile from a different subnett




hello :)

I've tested, searched all the online documentation, read some threads here 
and just about all i can think of now.
Still I can't make possible getting a bootfile from a different subnett. So 
any help here is very much appresiated!

My goal: I want a PC on subnet 129.240.200.xxx to get a IP from the local 
DHCP server and then get
               a bootfile from a different server on subnet 129.240.52.xxx. 
I get as far as getting an IP, no problem,
               but it just won't try an tftp connection on a different subnet!

The "easy" solution (..or so I thought..) "should" be in the option 
next-server I would recon, or no?
I might add that the server  I want to serve me the bootfile, already works 
fine with PCs on it's own
subnett. I just want it to server a PC on a different subnett also.
Here is my dhcpd.conf on morgoth.uio.no (the dhcp server without a bootfile)

thanks again for any help in this matter.

best regards
Alf Marius
IT maintainance
University of Oslo
-----------------------------------
# dhcpd.conf
#
# Configuration file for ISC dhcpd

server-identifier morgoth.uio.no;
option domain-name "uio.no";
option domain-name-servers ask.uio.no, nissen.uio.no;

subnet 129.240.200.0 netmask 255.255.254.0 {
   range "blah blah many ranges cut out"
   option routers 129.240.200.1;
   option subnet-mask 255.255.254.0;
   option broadcast-address 129.240.201.255;
   option netbios-name-servers 129.240.12.16, 129.240.12.26;
   option netbios-node-type 8;
   option netbios-scope "";
   default-lease-time 86400;
   max-lease-time 604800;
   deny bootp;
}


# Definition of PXE-specific options
# Code 1: Multicast IP address of bootfile
# Code 2: UDP port that client should monitor for MTFTP responses
# Code 3: UDP port that MTFTP servers are using to listen for MTFTP requests
# Code 4: Number of secondes a client must listen for activity before trying
#         to start a new MTFTP transfer
# Code 5: Number of secondes a client must listen before trying to restart
#         a MTFTP transfer
option space PXE;
option PXE.mtftp-ip    code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

class "pxeclients"
     {
          match if substring (option vendor-class-identifier, 0, 9) =
                 "PXEClient";
          option vendor-class-identifier "PXEClient";
          # At least one of the vendor-specific option must be set. We set
          # the MCAST IP address to 0.0.0.0 to tell the bootrom to still use
          # TFTP (address 0.0.0.0 is considered as "no address")
          option PXE.mtftp-ip 0.0.0.0;
          vendor-option-space PXE;
     }

group {
      host mais { (this is the PC that want the bootfile from the other 
subnett)
        hardware ethernet 00:c0:4f:07:3e:73;
        fixed-address mais.uio.no ;
        filename "bpbatch.P";
        option option-135 "menu";
        server-name "129.240.201.201"; (201.201 is morgoth)
        next-server 129.240.52.40; (the server containing the bootimage)
      }
-------------------------
--
takkskalduhadetbra
alf marius  -- usit/sydr/pcadm
http://www.uio.no/~alfol/
tlf: 228-40078

===========================================================================
This Mail was sent to netboot mailing list by:
Alf Marius Foss Olsen <a.m.f.olsen@usit.uio.no>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.