Oki B4300 Network User's Guide for OkiLAN 6020e - Page 143

Configuring the OkiLAN 6020e IP Address with RARP, power up of the OkiLAN 6020e using RARP

Page 143 highlights

Section 4 - Appendix B - Application Considerations Configuration Files The purpose of RARP is to look up a 32-bit IP address given a 48-bit network hardware address. The RARP server (which is usually a UNIX workstation running a rarpd daemon) performs this function using two configuration files and one or more daemons. The configuration files are "/etc/hosts" and "/etc/ethers" and the daemon is called rarpd. A name can be assigned to any device on a network and is arbitrary. For the following examples the name used for the OkiLAN 6020e is OKIPRINTER. Remember that this name is arbitrary; a customer can assign any name. /etc/hosts: The "/etc/hosts" file is where each entry maps a host name to an IP address. An example entry is shown below. 192.168.42.55 OKIPRINTER /etc/ethers: The "/etc/ethers" file is where each entry maps a host name to a network hardware address. An example entry is shown below. 00:02:16:17:50:A4 OKIPRINTER The following sequence of events occurs during the power up of the OkiLAN 6020e using RARP: 1. The OkiLAN 6020e powers up but does not know its IP address. However, it does know its network hardware address. 2. It sends out a RARP request message with its network hardware address. For this example, the OkiLAN 6020e address is 00:02:16:17:50:A4. 3. The rarpd daemon running on a RARP server (in this example the RARP server is a UNIX workstation) sees the RARP request along with the network hardware address in the "/etc/ethers" file. The rarpd daemon finds the host name, OKIPRINTER, listed as the name associated with the network hardware address. TCP/IP OKI OkiLAN 6020e User's Guide IV - 61

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226

IV - 61
Section 4 - Appendix B - Application Considerations
OKI OkiLAN 6020e User’s Guide
TCP/IP
Configuration Files
The purpose of RARP is to look up a 32-bit IP address
given a 48-bit network hardware address. The RARP
server (which is usually a UNIX workstation running a
rarpd daemon) performs this function using two
configuration files and one or more daemons. The
configuration files are “/etc/hosts” and “/etc/ethers” and
the daemon is called
rarpd
. A name can be assigned to
any device on a network and is arbitrary. For the
following examples the name used for the OkiLAN
6020e is OKIPRINTER. Remember that this name is
arbitrary; a customer can assign any name.
/etc/hosts:
The “/etc/hosts” file is where each entry
maps a host name to an IP address. An
example entry is shown below.
192.168.42.55 OKIPRINTER
/etc/ethers:
The “/etc/ethers” file is where each entry
maps a host name to a network hardware
address. An example entry is shown below.
00:02:16:17:50:A4 OKIPRINTER
The following sequence of events occurs during the
power up of the OkiLAN 6020e using RARP:
1. The OkiLAN 6020e powers up but does not know its
IP address. However, it does know its network
hardware address.
2.
It sends out a RARP request message with its
network hardware address. For this example, the
OkiLAN 6020e address is 00:02:16:17:50:A4.
3. The rarpd daemon running on a RARP server (in this
example the RARP server is a UNIX workstation)
sees the RARP request along with the network
hardware address in the “/etc/ethers” file. The rarpd
daemon finds the host name, OKIPRINTER, listed
as the name associated with the network hardware
address.