슬라이드 1

Similar documents
TCP.IP.ppt

Microsoft Word doc

0. 들어가기 전

bn2019_2

PowerPoint 프레젠테이션

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

Chapter11OSPF

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

시스코 무선랜 설치운영 매뉴얼(AP1200s_v1.1)

Network seminar.key

0. 들어가기 전

SMB_ICMP_UDP(huichang).PDF

1. GigE Camera Interface를 위한 최소 PC 사양 CPU : Intel Core 2 Duo, 2.4GHz이상 RAM : 2GB 이상 LANcard : Intel PRO/1000xT 이상 VGA : PCI x 16, VRAM DDR2 RAM 256MB

chapter4

Subnet Address Internet Network G Network Network class B networ

UDP Flooding Attack 공격과 방어

1. What is AX1 AX1 Program은 WIZnet 사의 Hardwired TCP/IP Chip인 iinchip 들의성능평가및 Test를위해제작된 Windows 기반의 PC Program이다. AX1은 Internet을통해 iinchip Evaluation

untitled

Microsoft PowerPoint - 2.Catalyst Switch Intrastructure Protection_이충용_V1 0.ppt [호환 모드]

TTA Verified : HomeGateway :, : (NEtwork Testing Team)

Sena Device Server Serial/IP TM Version

1217 WebTrafMon II

BOOTP(Bootstrap Protocol)

6강.hwp

제20회_해킹방지워크샵_(이재석)

Microsoft PowerPoint - 06-IPAddress [호환 모드]

Microsoft PowerPoint - 12_name&address.ppt

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

Assign an IP Address and Access the Video Stream - Installation Guide

SRC PLUS 제어기 MANUAL

APOGEE Insight_KR_Base_3P11


<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>


User Guide

hd1300_k_v1r2_Final_.PDF

untitled

[ 네트워크 1] 3 주차 1 차시. IPv4 주소클래스 3 주차 1 차시 IPv4 주소클래스 학습목표 1. IP 헤더필드의구성을파악하고요약하여설명할수있다. 2. Subnet ID 및 Subnet Mask 를설명할수있고, 각클래스의사용가능한호스트수와사설 IP 주소및네트

PPP over Ethernet 개요 김학용 World Class Value Provider on the Net contents Ⅰ. PPP 개요 Ⅱ. PPPoE 개요및실험 Ⅲ. 요약및맺음말

슬라이드 제목 없음

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

CLX8380_KR.book

Solaris Express Developer Edition

BGP AS AS BGP AS BGP AS 65250

Microsoft PowerPoint - ch02_인터넷 이해와 활용.ppt

PowerPoint 프레젠테이션

Microsoft Word - ZIO-AP1500N-Manual.doc

Mstage.PDF

Microsoft PowerPoint - IPv6-세미나.ppt

Backup Exec

VZ94-한글매뉴얼

쿠폰형_상품소개서

ARMBOOT 1

자바-11장N'1-502

Remote UI Guide

DBPIA-NURIMEDIA

<C2F7BCBCB4EBC0CEC5CDB3DDC1D6BCD2C0DABFF8B1E2BCFAB5BFC7E2BAB8B0EDBCAD BFACB0A3BAB8B0EDBCAD292E687770>

歯최덕재.PDF

°í¼®ÁÖ Ãâ·Â

10X56_NWG_KOR.indd

0125_ 워크샵 발표자료_완성.key

슬라이드 제목 없음


Microsoft PowerPoint - IPv6-세미나.ppt

歯Cablexpert제안서.PDF

Tekla Structures 라이선싱 시스템

cam_IG.book

(SW3704) Gingerbread Source Build & Working Guide

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,,,,,,,,,,,,,.,..., U.S. GOVERNMENT END USERS. Oracle programs, including any operat

H3050(aap)

<C7D1BBF3C1F85FBFDC28B5B5B7CEB1B3C5EBBBE7B0ED20BABBB9AE5FB1B3C1A4292E687770>

¹æ¼Û±â¼ú-pdf-Äõ¼öÁ¤

KBS-¹æ¼Û±â¼ú¿¬±¸-1Àå-º°

歯I-3_무선통신기반차세대망-조동호.PDF

Microsoft PowerPoint ppt

StruxureWare Data Center Expert 7.2.x 의 새 기능 StruxureWare Data Center Expert 7.2.x 릴리스에서 사용할 수 있는 새 기능에 대해 자세히 알아보십시오. 웹 클라이언트 시작 화면: StruxureWare Cen

歯김병철.PDF

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,.,,,,,,,,,,,,.,...,. U.S. GOVERNMENT END USERS. Oracle programs, including any oper

歯T1-4김병철2.PDF

초보자를 위한 ASP.NET 2.0

Interstage5 SOAP서비스 설정 가이드

istay

Microsoft PowerPoint - ch07.ppt

IPv6Q 현배경 > 인터넷의급속한성장 -> IP 주소의고갈 개인휴대통신장치의보급 network TV, VOD 단말기등의인터넷연결 가정용품제어장치의인터넷연결 > 새로운 IP 로의이행문제 IPv4 호스트와의호환성문제를고려하여야합 ~ IPv4 의취약점보완 QoS 지원 인증

일반적인 네트워크의 구성은 다음과 같다

PowerPoint 프레젠테이션

본교재는수업용으로제작된게시물입니다. 영리목적으로사용할경우저작권법제 30 조항에의거법적처벌을받을수있습니다. [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase sta

vm-웨어-01장

歯규격(안).PDF

개요 IPv6 개요 IPv6 주소 IPv4와공존 IPv6 전환기술 (Transition Technologies)

KISA-GD

歯III-2_VPN-김이한.PDF

Microsoft PowerPoint - IRC_User_Manual.ppt

Microsoft PowerPoint - L4-7Switch기본교육자료.ppt

<32B1B3BDC32E687770>

Oracle Solaris 11.1 DHCP : E

목차 Q-1. 데이터를 통한 음성통화가 되지 않습니다 Q-2. WiFi 연결이 안됩니다 Q-3. 인터넷 또는 네트워크 연결이 안됩니다 Q-4. 표준 부속품을 알려주시기 바랍니다 Q-5. 구입하였습니다만, 배터리는 어떻게 장착하

BJFHOMINQJPS.hwp

부서: 기획감사실 정책: 지방행정 역량 강화 단위: 군정운영 및 의회협력 행정협의회 분담금 20,000,000원*1식 20, 행사운영비 2,000 2,000 0 행정협의회 지원 2,000,000원*1식 2,000 의원상해 지원 36,000 36,

Transcription:

DHCP (Dynamic Host Configuration Protocol) Oct 2006 Technical Support Div. Tel : 031-739-6800 Mail : support@corecess.com

DHCP Motivations Automatic network configuration for clients No administrator intervention Effective allocation of limited addresses Support for transient/roaming systems

Why BOOTP? 1. What s my IP address? 2. What s my subnet mask? 3. Who s my router? 4. Who s my DNS server? DNS Server File Server 192.168.10.2 192.168.10.3 00:90:a3:01:01:01 00:90:a3:01:01:02 00:90:a3:01:01:03 00:90:a3:01:01:04 Diskless Workstation Router 192.168.10.1 Internet Boot Server 192.168.10.4

BOOTP: Bootstrap Protocol RFC 951 Designed for diskless workstations Supplies static configuration: - IP address - Subnet mask - Router IP address - Name server IP address - Boot image

BOOTP Operation BOOTP Request BOOTP Client(A) BOOTP Server(B) BOOTP Request 67 68 B A BOOTP Reply 가입자 A DHCP Server B A 67 68 BOOTP Reply BOOTP UDP IP

BOOTP PDU Format 0 15 16 31 Opcode (1=Request, 2=Reply) Number of seconds Hardware Type Hardware Length Hop Count XID (Transaction ID) CIADDR (Client IP address) YIADDR (Your IP address) SIADDR (Server IP address) GIADDR (Gateway IP address) Unused CHADDR (Client hardware address) (16 bytes) 300 bytes Server name (64 bytes) Boot file name (128 bytes) Options (up to 64 bytes) 4 bytes

BOOTP Problem DNS Server File Server 192.168.10.2 192.168.10.3 00:90:a3:01:01:01 00:90:a3:01:01:02 00:90:a3:01:01:03 00:90:a3:01:01:04 What is my network configuration? Router 192.168.10.1 I don t know, I ve never seen you here before. New Roaming Client Internet Boot Server 192.168.10.4

BOOTP Limitations Static configuration Does not dynamically allocate IP addresses Manual administrator intervention to add/remove clients

DHCP Evolution DHCP is an extension of Bootstrap Protocol Uses same basic PDU format for backwards compatibility Introduces pool of IP addresses for dynamic assignment Concept of temporary leased addresses

DHCP PDU Format Operation Code Hardware Type Hardware Length Hop Count Number of seconds Transaction ID Client IP address Your IP address Server IP address Gateway IP address Client hardware address (16 bytes) Server name (64 bytes) Boot file name (128 bytes) Options (up to 312 bytes) Flag (1 bit) (15 unused bits) 4 bytes

DHCP PDU Format Broadcast bit is to inform server if client can receive unicast IP PDUs before initializing IP software with real address; otherwise local network broadcast address must be used DHCP PDU has 312 bytes for options versus 64 bytes in BOOTP PDU DHCP messages carried in options portion of the PDU

DHCP Optional Parameters RFC 2132 defines the available DHCP options

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Optional Parameters

DHCP Option 53 : Message Type Number Message Type Description 0x01 DHCP Discover DHCP Client 는부팅이시작되는동안에는 IP Address 를가지고 있지않음. 부팅이되고네트워크가시작되면먼저 IP Address 를 셋팅하여 TCP/IP 를초기화하려는시도를함. 그방법으로써 DHCP Server 를찾는요청을만들어서 Packet 을 Broadcast 함. 이때발생하는 Packet 이 Discover Packet 임. 0x02 DHCP Offer Discover Packet 을받은 DHCP Server 는사용가능한 IP Address 하나를담은 DHCP Offer Packet 을만들고, 역시네트워크 Broadcast 하여전송함. 이때발생하는 Packet 이 DHCP Offer Packet 임. 0x03 DHCP Request DHCP Server 로부터 IP Address 를받은 DHCP Client 가그즉시이 IP Address 를사용할수있는것은아님. DHCP Client 는 Server 로부터할당받은 IP Address 와이 IP Address 를 임대해준 Server 의. IP 를담은 Packet 을만들어서네트워크에다시 Broadcast 를날림.DHCP Server 가여러대있어서 Server 마다 Client 에 게각기다른 IP Address 를발송할수있는상황이있기에이러한작업이 진행되는것임. 이때발생하는 Packet 이 DHCP Request 임. 0x04 DHCP Decline Client에서 DHCP offer를받을경우, 그 IP에대한확인을 arp request을통해네트워크에서해당 IP가사용되고있는지확인함. 만약다른 User가해당 IP를사용중이라 arp request에응답이있다면, DHCP Server에게 DHCP decline이라는메시지를보내다시 IP Address를할당해달라고요청함. 이때발생하는 Packet이 DHCP Decline Packet임.

DHCP Option 53 : Message Type Number Message Type Description 0x05 DHCP ACK DHCP Client 의 Request Broadcast 를받은 DHCP Server 는둘중의 한가지작업을할수있음. 자신이보낸 IP Address 가채택되지않았다면 DHCP Server 는다시 DHCP Lease Table 을유지하고, 자신이보낸 IP 가채택되었다면 IP 임대기간, DNS, Default Gateway, WINS 등의 DHCP 옵션값을담은 " 확인 (Acknowledgment)" Packet 을만들어서최종적으로 Unicast 함. 0x06 DHCP NAK Client가 Request 한 Packet에서 DHCP Server의 Lease Table에있는 IP 를요청할경우 DHCP Server는해당 IP를 Client에게할당할수없기때문에 Client에게 DHCP Nak(Negative acknowledgement) Packet을전달함. 이때발생하는 Packet이 DHCP Nak Packet임. 0x07 DHCP Release Client에서할당받은 IP를 Lease Time이지났거나새로 Lease 할경우가필요할때 DHCP Server에게기존사용 IP를다시 Lease해줄것을요청하는 Packet임. 이경우 IP할당요청과정을처음부터다시시작해야함. 0x08 DHCP Inform OS Windows 2000, XP 등을사용하는 Client에서 DHCP Server에게 Subnet Mask, DNS 등의정보를확인하기위해서보내는 Packet임.

DHCP Client State Diagram

Allocating New Address

Address Renewing Scenario

DHCP Infrastructure Prohibitive/costly to have DHCP server on each physical LAN segment Use relay agents to forward DHCP messages between physical networks

DHCP Security Considerations Hostile environments with open physical access to network Rouge DHCP server on network Denial of service by exhausting address pool Authentication introduced in RFC 3118 but not implemented

DHCP Option 53 : Message Example IP Address 가필요한데 DHCP Server 가누구야? DHCP Discover a. DHCP Discover is broadcast DHCP Server 응! 내가 DHCP Sever 야! 나한테요청해 DHCP Offer b. DHCP Offer is broadcast DHCP Server

DHCP Option 53 : Message Example 알았어! IP Address 좀할당해줘 ~~~ DHCP Request c. DHCP Request is broadcast DHCP Server 그래너는 10.1.1.1 IP Address 를사용해 DHCP Ack d. DHCP Ack is unicast DHCP Server

DHCP Option 53 : Message Example 내가사용하는 Subnet Mask, DNS 가뭐야? 누가좀알려줘 ~~ DHCP Inform a. DHCP Inform is broadcast DHCP Server 네가사용하는 DNS 는 168.126.63.1 이야알았지 DHCP Ack b. DHCP Ack is unicast DHCP Server

DHCP Option 53 : Message Example UDP Src=0.0.0.0 sport=68 Dest=255.255.255.255 dport=67 Opcode Hardware Type Hardware Length HOPS XID (Transaction ID Number) SECS (Seconds Since Boot) FLAGS CIADDR (Client internet Address) YIADDR (Your Internet Address) SIADDR (Server Internet Address) GIADDR (Gateway Internet Address) CHADDR (Client Hardware Address(16bytes) 192 octets of 0's. BOOTP legacy DHCP option 53: DHCP Discover DHCP option 50: 10.1.1.2 requested DHCP Discover a. DHCP Discover is broadcast DHCP Server

DHCP Option 53 : Message Example UDP Src=10.1.1.254 sport=67 Dest=255.255.255.255 dport=68 Opcode Hardware Type Hardware Length HOPS XID (Transaction ID Number) SECS (Seconds Since Boot) FLAGS CIADDR (Client internet Address) YIADDR (Your Internet Address) SIADDR (Server Internet Address) GIADDR (Gateway Internet Address) CHADDR (Client Hardware Address(16bytes) 192 octets of 0's. BOOTP legacy DHCP option 53: DHCP Offer DHCP option 1: 255.255.255.0 subnet mask DHCP option 3: 10.1.1.254 router DHCP option 51: 1 day IP lease time DHCP option 54: 10.1.1.254 DHCP server DHCP Offer b. DHCP Offer is broadcast DHCP Server

DHCP Option 53 : Message Example UDP Src=0.0.0.0 sport=68 Dest=255.255.255.255 dport=67 Opcode Hardware Type Hardware Length HOPS XID (Transaction ID Number) SECS (Seconds Since Boot) FLAGS CIADDR (Client internet Address) YIADDR (Your Internet Address) SIADDR (Server Internet Address) GIADDR (Gateway Internet Address) CHADDR (Client Hardware Address(16bytes) 192 octets of 0's. BOOTP legacy DHCP option 53: DHCP Request DHCP option 50: 10.1.1.2 requested DHCP option 54: 10.1.1.254 DHCP server DHCP Request c. DHCP Request is broadcast DHCP Server

DHCP Option 53 : Message Example UDP Src=10.1.1.254 sport=67 Dest=255.255.255.255 dport=68 Opcode Hardware Type Hardware Length HOPS XID (Transaction ID Number) SECS (Seconds Since Boot) FLAGS CIADDR (Client internet Address) YIADDR (Your Internet Address) SIADDR (Server Internet Address) GIADDR (Gateway Internet Address) CHADDR (Client Hardware Address(16bytes) 192 octets of 0's. BOOTP legacy DHCP option 53: DHCP Ack DHCP option 1: 255.255.255.0 subnet mask DHCP option 3: 10.1.1.254 router DHCP option 51: 1 day IP lease time DHCP option 54: 10.1.1.254 DHCP server DHCP Ack d. DHCP Ack is unicast DHCP Server

Thank You! Your success is corecess www.corecess.com