Questions tagged [bootp]

Bootstrap Protocol, or BOOTP, is a network protocol used by a network client to obtain an IP address from a configuration server.

About BOOTP

BOOTP (Bootstrap Protocol) is a protocol that lets a network user be automatically configured (receive an IP address) and have an operating system booted (initiated) without user involvement. The BOOTP server, managed by a network administrator, automatically assigns the IP address from a pool of addresses for a certain duration of time.

BOOTP is the basis for a more advanced network manager protocol, the Dynamic Host Configuration Protocol (DHCP).

BOOTP is usually used during the bootstrap process when a computer is starting up. A BOOTP configuration server assigns an IP address to each client from a pool of addresses. BOOTP uses the User Datagram Protocol (UDP) as a transport on IPv4 networks only.

12 questions
4
votes
2 answers

Parse binary data for c# bootp server?

I need one of my C# .NET applications to act as a bootp server. The protocol is pretty simple but I dont know an easy way to build/parse the binary data. Any ideas: (source: tcpipguide.com)
Tim
  • 7,746
  • 3
  • 49
  • 83
3
votes
1 answer

Which adapter did I just receive this UDP packet on?

I'm trying to write a BOOTP server in c#. I'm receiving and parsing the BOOTP packet from the client and I need to reply with my server IP address. The problem is: The computer can have multiple network adapters The client doesn't yet have an IP…
Tim
  • 7,746
  • 3
  • 49
  • 83
3
votes
1 answer

DHCP Options field padding

According to RFC2132 "Pad Option" (0s) CAN be used to align subsequent fields on word boundaries. But looking at DHCP packets I can't tell what is the size of the "word". Onetime "Options" field is 32 bytes, one time is 60 bytes. In my setup the…
Chris
  • 1,213
  • 1
  • 21
  • 38
2
votes
0 answers

Change option DHCP/BOOTP in dhcp reservation

I'm using C# (Visual Studio 2010) to programmatically create a DHCP reservation. I've used the information in this post to get the DHCPOBJECTS.DLL. Connecting to the DHCP server works well. I'm also able to create a new reservation or enumerate…
Martin
  • 183
  • 2
  • 11
1
vote
1 answer

PXE Boot Arch Field DHCP Option 93

The PXE Specification (http://www.pix.net/software/pxeboot/archive/pxespec.pdf) specifies the following values for the client system architecture of the DHCP 0 = IA x86 PC(2) 1 = NEC/PC98(2) 2 = IA64 PC.(2) 3 = DEC Alpha (2) 4 = ArcX86 (2) 5 = Intel…
vijayvithal
  • 551
  • 1
  • 5
  • 13
1
vote
1 answer

TransactionID field of BootP/DHCP - random generated once or every time?

I have to work with a device sending BootP request with the same TransactionID every time, since DHCP RFC says that " xid 4 Transaction ID, a random number chosen by the client, used by the client and server to…
ALZ
  • 1,997
  • 2
  • 27
  • 44
1
vote
0 answers

BootP and UDP socket communication with Qt

I'm building a computer client that receives data from a medical patient monitor over UDP IP. I'm using QTs API and hence the QUdpSocket class to establish the communication. The monitor I want to recieve data from is dependent on a BootP server to…
Morten
  • 31
  • 3
1
vote
1 answer

How to send UDP broadcast packets through all interfaces in Objective-C / OS X 10.8 (DHCP)

I am creating a small utillity which has to serve an IP address and parameters over BOOTP on my MacBook Pro. I have used the AsyncUdpSocket library from GitHub (thanks RobbieHanson) and when I have my machine configured with just the wired ethernet…
justacodemonkey
  • 620
  • 1
  • 8
  • 20
0
votes
1 answer

Accessing Fields in scapy DHCP request

I've decided to try to request an IP using scapy. I am able to send out a discover and receive an offer in the variable ansD. Unfortunately I'm having trouble accessing the field that contains the offered IP address which should be…
Wilky
  • 35
  • 1
  • 5
0
votes
2 answers

How to give client mac for BOOTP, in DHCP scapy?

clientMac = "00:00:01:00:11:03" bootp = BOOTP(op = opcode,chaddr = clientMac, ciaddr = "0.0.0.0",xid = 0x01020304,flags= 0x8000) Here, I try to create bootp part for a DHCP offer packet. But in the packet capture, the clientMac is shown as…
Krishna
  • 49
  • 6
0
votes
1 answer

c++ - sprintf error "variable may be unsafe" (C4996)... alternatives?

Here's my code: #define _CRT_SECURE_NO_WARNINGS #pragma warning(disable : 4996) #pragma comment(lib,"ws2_32.lib") #include "stdafx.h" #include #include "Bootpd.h" #include #include #include char *MAC()…
0
votes
1 answer

Equals returning false when comparing equal strings

I'm trying to write a BOOTP Client/Server in Java, and one of the specifications in the RFC is that the client can write the nickname of the server it wants to connect to. If the packet reaches a server that is not the one specified, it should…
binkypv
  • 43
  • 1
  • 7