jdbreg(8) System Manager's Manual jdbreg(8)NAME
jdbreg - Registers hosts in the DHCP dynamic databases.
SYNOPSIS
/usr/sbin/jdbreg [-d] [-e] [-f character] [-s] [-l | -n] [-o] [-w] filename...
OPTIONS
Deletes the records whose keys are implied by the input file(s). Uses character as the field separator. The default is the pipe | charac-
ter. Display all currently registered hosts.
DESCRIPTION
The jdbreg program registers (or removes) hosts for configuration by DHCP. When the registered_hosts_only policy is in effect, the server
configure only clients whose MAC addresses are so registered. When this policy is not in effect, registering hosts has no effect.
Each record to be loaded is terminated by a newline, and the fields within each record delimited by default with the pipe (|) character,
although this may be changed with the -f command line option.
The fields within the data file(s) to be loaded are as follows: MAC address MAC address type MAC address length (octets)
RESTRICTIONS
Because the database used by join does not support multiuser concurrently, applications that write to it, lock the entire database. This
means that you cannot use jdbreg while joind is running. The converse is also true.
FILES SEE ALSO
Commands: joind(8)jdbreg(8)
Check Out this Related Man Page
nets(4) Kernel Interfaces Manual nets(4)NAME
nets - JOIN DHCP server database
DESCRIPTION
The nets file is employed by joind, the JOIN DHCP server, to tell it which networks to administer and the ranges of IP addresses available
for dynamic assignment on each of those networks.
FORMAT
Blank lines and lines beginning with the number sign (#) are ignored. Entries are separated from one another by newline characters.
Entries consist of three fields: the network number (expressed as an IP address), the IP address or name of a host running joind, which
dynamically configures clients on the network, and a range of available addresses for dynamic allocation to hosts on the net. The range is
expressed as a pair of IP addresses separated with a dash (-). There must be no whitespace separating the dash from the IP addresses.
Several servers may administer a single network, and a single server may administer several networks. Each network-server pair may have
several ranges of IP addresses available for dynamic allocation. The network and server IP addresses do not have to be repeated for each
entry. A line containing a single field is assumed to be an IP range with the same server and network as the previous entry: a line of two
fields is assumed to be a server address and IP range with the same network as the preceding entry.
The ranges of addresses served by each cooperating server must be disjoint. This condition is checked by the server on startup.
RELATED INFORMATION joind(8), join.ipaddresses(4) delim off
nets(4)
Blasted data inputters :mad: they always have to screw my data up....My comma delimited file with three fields ( firstname,surname and address ) has been screwed up by people entering addresses like this (putting a comma in between the house number and the street name)
142,Stonewall Avenue
... (8 Replies)
hi,
i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session..
also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Hi there
I am running a script which requires the input of a MAC address from the user and was loooking for a regex that will verify the user has inputted a full 12 digit valid MAC with colons
Ive seen a few on some sites that look huge and was wondering if anybody had a one liner (or as... (21 Replies)
Ok here is the problem we have 2 v440 with same IP address running solars 9. one remains on the other remains off. They are both configured exactly the same for redundant purposes for the software we use. This was the best/worst idea. Great because down time is only a mere minutes. The bad is the... (7 Replies)
I have a file which contains 1 million records of the following format. Each field is delimited by a pipe tilda pipe "|~|" show below. I would like to print only one column ie the CARDDESC value.
for example here it says CARDDESC=A8T1.
so anything after CARDDESC= and before |~|CARDTYPE is what... (11 Replies)
I am a MAC user evaluating electronic medical record software. I found a package which is UNIX server based. Can anyone tell me if MAC OS X can be used in this situation. The software is nexgen (www.nexgen.com).
How UNIX "compatible" is MAC OS X?
I apologize for my very limited UNIX... (7 Replies)
hi,
I have written a script to search MAC address in a given directory.
MAC address would be in format XX.XX.XX.XX.
The digits contain hexadecimal numbers.
For this i have used grep as follows.
grep -rn '^\{1,2\}\.\{1,2\}\.\{1,2\}\.\{1,2\}\$' *
This is not working as required.... (17 Replies)
I have a ksh script and would like to validate a MAC address that is input by the user:
00:14:4F:FC:00:49
example:
MAC=`/usr/bin/ckint -p "Enter MAC address"`
echo $MAC
echo " "
Obviously chkint will not work, but does anyone have any suggestions?
Thanks (9 Replies)
Hi all gurus,
I need help in removing carriage return existed within a record delimited by pipe <|>.
Sample:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Test
ing2|Remarks2
A_03|Test3|Testing3|
Remarks3
Desire output:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Testing2|Remarks2... (10 Replies)
Hi All,
I have space delimited file similar to the one as shown below.. I need to convert it as a pipe delimited, the values inside the pipe delimited file should be as highlighted...
AA ATIU2345098809 009697 005374
BB ATIU2345097809 005445 006518
CC ATIU9685098809 003215 003571
DD... (7 Replies)
I have two files which are pipe delimited "|". Also, each record in these files will end with a "|"
File 1
====
EMPID|NAME|DEPT
1|AAA|PPP
2|BBB|QQQ
3|CCC|RRR
4|DDD|SSS
5|EEE|TTT
File 2 (EMPID of those employees who have left the organisation)
====
EMPID|
2|
5|
I have to... (8 Replies)
Hi Everybody,
Goal:
From my backup box on my local network, knowing the Wifi MAC address of my laptop, I would like to dynamically identify which ip address is attributed to my laptop.
The aim is to store this ip address in a local variable and that this information is retrieved by another... (11 Replies)
Hello All,
we have some 10 files wherein we are using the ASCII NULL as separator which is nothing but '^@' and we need to change it to pipe delimited file before loading to database. Most of the data seems to be fine but there are instances where this separator tends to appear in the middle of... (9 Replies)
Hy every body,
Unfortunately and without success, i want to write a bash script who maps a known IP addess to a known MAC address using iptables and for the FORWARD chain.
Within the DHCP server, i have assigned a fixed IP address to all clients based on their MAC addresses of their... (11 Replies)