More Related Content
Similar to Arch TCP/IP BOOTP
Similar to Arch TCP/IP BOOTP (20)
Arch TCP/IP BOOTP
- 12. ゲートウェイ
タグ =
3
データ長 =
N
(1バイト)
(1バイト)
有線ゲートウェイ
IPアドレス
(4バイト)
ゲートウェイ
IPアドレス
(4バイト)
N バイト
- 15. 例
1 0.0.0.0.68 > 255.255.255.255.67!
secs:100 ether 0:0:a7:0:62:7c!
要求送信!
2 mercury.bootp > proteus.68: secs:100 Y:proteus!
S:mercury G:mercury ether 0:0:a7:0:62:7c!
file “/local/var/bootfiles/Xncd19r”!
応答!
3 arp who-has proteus tell 0.0.0.0!
4 arp who-has proteus tell 0.0.0.0!
5 arp who-has proteus tell proteus!
- 16. 例
6 proteus.68 > 255.255.255.255.bootp:!
secs:100 ether0:0:a7:0:62:7c!
IP ヘッダに自 IP アドレスを載せ再要求!
7 mercury.bootp > proteus.68: secs:100
Y:proteus!
S:mercury G:mercury ether0:0:a7:0:62:7c!
file “/local/var/bootfiles/Xncd19r”!
同じサーバから同じ応答!
8 proteus.68 > 255.255.255.255.bootp:!
secs:100 ether0:0:a7:0:62:7c!
さらに別の要求をブロードキャスト!
- 17. 例
9 proteus.68 > 255.255.255.255.bootp:!
secs:100 ether0:0:a7:0:62:7c!
同じサーバから同じ応答!
10 arp who-has mercury tell proteus!
11 arp reply mercury is-at 8:0:2b:28:eb:1d!
12 proteus.tftp > mercury.tftp: 37 RRQ!
“/local/ver/bootfiles/Xncd19r”!
13 mercury.2352 > proteus.tftp: 516 DATA block 1!
14 proteus.tftp > mercury.2352: 4 ACK!
(略)!
15 mercury.2352 > proteus.tftp: 516 block 2463!
16 proteus.tftp > mercury.2352: 4 ACK!
17 mercury.2352 > proteus.tftp: 228 block 2464!
18 proteus.tftp > mercury.2352: 4 ACK!
- 20. ルータを経由する BOOTP
• RARP は同一セグメント内でしか使えない
• BOOTP はルータがサポートしていれば使える
– ほとんどの主要ルータ・ベンダはサポート
(本でいう主要ってどこですかね……)
– ディスクレス・ルータを念頭に置いたもの
- 21. ルータを経由する BOOTP
• BOOTP 要求を受け取ったルータは自 IP
アドレスをゲートウェイ IP アドレスフィールド
に書き込み本物の BOOTP サーバに送信
• 中継エージェントはホップフィールドを1増加
• サーバは応答を中継エージェントに送信