DHCP: Spanning Multiple Subnets

Article ID : 120932
Last Review : November 1, 2006
Revision : 2.1
This article was previously published under Q120932

SUMMARY

A DHCP (Dynamic Host Configuration Protocol) server can provide IP addresses to clients spanning multiple subnets if the router that separates them can act as an RFC 1542(BOOTP) relay agent. If the router cannot function as relay agent, each subnet that has DHCP clients requires a DHCP server.

MORE INFORMATION

A relay agent that conforms to RFC 1542 relays DHCP packets to the remote side even though they are broadcast packets. Before relaying a DHCP message from a DHCP client, the agent examines the GIADDR (gateway IP address) field. If the field has an IP address of 0.0.0.0, the agent fills it with the router's IP address. When the DHCP server receives the message, it examines the Relay IP Address field to see if it has a DHCP scope (a pool of IP addresses) that can be used to supply an IP address lease. If the DHCP server has multiple DHCP scopes, the address in the Relay IP Address field identifies the DHCP scope from which to offer an IP address lease. This process allows one DHCP server to manage different scopes for subnets.

You can use a multihomed Windows NT Server 3.5x system configured as a DHCP server, with multiple network cards and IP routing enabled, instead of a relay agent for subnetting purposes.

When it receives the DHCPDISCOVER message, the DHCP server sends a DHCPOFFER directly to the relay agent identified in the GIADDR field, and the agent relays the message to the DHCP client. The client's IP address is still unknown, thus it has to be a broadcast on the local subnet. Similarly, a DHCPREQUEST message is relayed from client to server and a DHCPACK message is relayed from server to client, according to RFC 1542.

When you have multiple DHCP servers, Microsoft recommends that you place your DHCP servers on different subnets to achieve a degree of fault tolerance, rather than having all the DHCP servers in one subnet. The servers should not have common IP addresses in their scopes (each server should have a unique pool of addresses).

If the DHCP server in the local subnet goes down, requests are relayed to a remote subnet, and the DHCP server there can respond to DHCP requests if it maintains a scope of IP addresses for the requesting subnet. If the remote server has no scope defined for the requesting subnet, it cannot provide IP addresses, even if it has available addresses for other scopes. If each DHCP server has a pool of addresses for each subnet, then it can provide IP addresses for remote clients whose DHCP server is down.

Trackbacks  0 | Comments  0

사용자 삽입 이미지

삼성에서 1월에 출시할 Yep-K3라는 모델이다.
내가 가지고 있는 모델은 T9인데 그것보다 훨씬 슬림하고 매끈한 디자인을 가지고 있는것 같다.
어찌보면 이전에 발표한 K5와도 비슷한 것 같은데 거기에서 스피커만 제거한 모델 라인일지도...

디자인은 매력적이다.
Zune이 이런 디자인을 가지고 있으면 좋으련만

Trackbacks  0 | Comments  2
사용자 삽입 이미지
Trackbacks  0 | Comments  1

아침일찍 일어나서(8시에 하롱베이로 투어가 출발하기 때문에) 씻고 1층에 내려가 간단한 아침식사(바게트 빵과 계란 후라이 그리고 주스가 나온다. 오렌지 주스인데 직접 갈아주는지 신선하긴 하지만 달진 않다)를 하고 tour 버스를 기다렸다.

사용자 삽입 이미지

하롱베이로 가는 길에 짐시 들른 기념품 파는 가게. 과자하고 과일 좀 사서 먹고 파는 물건 구경하면서 기다렸다. 원래 거쳐가는 곳인듯.

사용자 삽입 이미지

햇볕은 좋았는데 좀 심심했다. 무슨 표정인지 ^^

사용자 삽입 이미지
같이간 친구와 셀카. 얼굴 커보인다

사용자 삽입 이미지

하롱베이 도착. 사진처럼 수많은 junk(배)들이 정박해 있다. 우리가 탈 배는 한참 뒤에 있어서 앞에 있는 배들을 건너 건너 도착할 수 있었다. 배들이 뿜어대는 연기가 어찌나 심하던지 콜록

사용자 삽입 이미지

우리가 탄 배의 앞부분. Dragon 뭐였는데 이름은 잘 기억이 안난다.

사용자 삽입 이미지
드디어 출발이다. 하롱베이에 있는 섬들은 꼭 버섯처럼 생겼다. 물에 녹는 석회암으로 이루어져 있다고 한다. 그래서 이러한 모양이 되었다고.
전설에는 바다 건너에서 쳐들어온 침략자를 막기 위해 하늘에서 용이 내려와 입에서 보석과 구슬을 내뿜자, 갖가지 모양의 기암(奇岩)이 되어 침략자를 물리쳤다고 한다.

사용자 삽입 이미지

이렇게 수많은 배들이 하롱베이를 향해서 출발

사용자 삽입 이미지

배 위에 있는 의자에 앉아서 휴식중. 하롱베이 투어의 대부분을 이 의자에 앉아서 구경하였다.

사용자 삽입 이미지

친구와 내 발. 한가하다.

사용자 삽입 이미지

여기도 염장질이... 우리랑 같이 투어한 프랑스 커플

사용자 삽입 이미지

배에서의 첫 식사. 그렇게 맛있지는 않았다.

사용자 삽입 이미지

우리 앞자리에 앉아서 같이 여행한 프랑스 부부 그레고리와 나탈리
나탈리는 학교 선생님이라고 했고 그레고리는 between jobs 란다. 1년을 계획하고 여행중이란다. 오매 부러운거.

Trackbacks  0 | Comments  0

드디어 베트남이다!!!
가는날까지 일이 많아서 호텔이다 tour다 하나도 못알아보고 무작정 떠나게 되었다. 그래도 당일날 호텔은 예약해서 다행이었지만 아무튼 무계획 여행의 시작...

베트남에 도착해서 가장 먼저 한 일은 면세점에서 산 소주 한병들고 안주거리 찾아 나서기

사용자 삽입 이미지
볶음 쌀국수를 파는 곳을 발견했다. 이때부터 베트남 음식 기행 시작
가격은 30,000동정도 했던거 같은데 기똥차게 맛있었다. 약간 기름지긴 했지만 소주랑 궁합도 잘 맛고
12시쯤 넘으니 공안이 차를 타고 다니면서 순찰을 한다. 잠시 불꺼놓고 숨어있다가 다시 한잔
사용자 삽입 이미지

좀 더 자세한 사진. 향채가 한국 사람 입맛에는 잘 안맞는다고 하던데 나는 괜찮았다.
사용자 삽입 이미지
첫날 묶은 프린스1 호텔. 맨 꼭대기 층이었는데 가보니 더블 베드가 두개
TV에서는 KBS 뉴스도 나오고 깨끗하고 20$정도 했었는데 잘 잤다고 생각한다.
1층에서 내일 있을 하롱베이 투어를 예약하고 첫째날 일정을 마무리 했다.

Trackbacks  0 | Comments  1

파주소년’s Blog is powered by Daum & tistory