AD-HOC NETWORK1. 아이디어ad-hoc 무선연결Master는 유선인터넷과 연결되어 인터넷 사용가능하다slave 는 무선 ad-hoc으로 master과 연결되어있어 slave 에서도 인터넷이 가능한지 확인2. 구성- 2대의 노트북컴퓨터=> 무선랜 및 유선랜 가능한 것- 유선라인 (기숙사 유선망을사용)실제 구성Master sitemaster측 무선 설정무선네트워크 속성-> tcp/ip 속성에서 master와 slave간의 ip 주소를 서로 맞춘다.(※참고: 우리의 경우 IP를 192 168 0 1 ->master 192 168 0 2 ->slave )다음에 무선네트워크 탭에서 기본 네트워크부분에서 ad-hoc 선택 (없으면 추가한다) 그리고 확인-->무선설정 종료유선설정네트워크 환경의 로컬네트워크 연결의 속성 -->인터넷프로토콜(TCP/IP) 선택 ->속성->속성에서 사용하는 유선의 ip, 서브넷마스크, 게이트웨이 , DNS 등을 모두 입력 그리고 인터넷이 되는지 확인 한다.--> 유선 설정 완료Slave site-slave 는 무선설정만 한다네트워크속성-> 무선네트워크 속성-> 인터넷 프로토콜(TCP/IP) 선택, 속성 에서 ip, 서브넷마스크, 게이트웨이 DNS 주소등을 입력한다(※여기에서 slave의 기본 게이트웨이는 master의 ip로 하고 DNS는 master와 동일 하게 한다. ) 그리고 확인다음으로 무선네트워크 연결 속성에서 두번째 탭인 무선네트워크를 선택한다.기본설치 네트워크에서 ad-hoc를 찾는다 , 없으면 추가하여 만들고 다음과 같이 설정을 한다.*ad-hoc 설정기본설치 네트워크에 ad-hoc가 없으면 추가를누른다.네트워크이름을 ad-hoc로하고 네트워크 인증에는 “개방모드” 데이터 암호와 에는 “WEP” 네트워크키는 다른 사람이 우리쪽 무선네트워크로 들어오지 못하도록 하는 패스워드이다 임의의 숫자 5~10개 입력 키 인댁스도 임의로 입력 -> master와 동일하개 입력하여야 한다. 그리고 확인--> 무선설정종료master와 slave 가 무선으로 연결되었다*Master 무선연결!!slave site에서 인터넷 사용가능slave site에서 master site에서 공유해놓은 폴더가 보인다
Review Questions1. Reliability is not of primary importance in applications such as echo, daytime,BOOTP, TFTP and SNMP. In custom software, reliability can be built into the client/server applications to provide a more reliable, low overhead service.2. IP and UDP are both connectionless and unreliable protocols. The main differencein their reliability is that IP only calculates a checksum for the IP header andnot for the data while UDP calculates a checksum for the entire datagram.3. Port addresses do not need to be universally unique as long as each IP address/portaddress pair uniquely identify a particular process running on a particular host. Agood example would be a network consisting of 50 hosts, each running echo serversoftware. Each server uses the well known port number 7, but the IP address,together with the port number of 7, uniquely identify a particular server programon a particular host. Port addresses are shorter than IP addresses because theirdomain, a single system, is smaller than the domain of IP addresses, all systems onthe Internet.4. Ephemeral is defined as short-lived or transitory. Ephemeral port numbers areonly used for the duration of a single communication between client and server, sothey are indeed short-lived.5. The minimum size of a UDP datagram is 8 bytes at the transport layer and 28 bytesat the IP layer. This size datagram would contain no data–only an IP header withno options and a UDP header. The implementation may require padding.6. Since the length of a datagram must be contained in a 2 byte field, the maximumsize of a UDP datagram is 65,535 bytes (header plus data). However, given that theIP layer must also store the total length of the packet in a 2 byte field, the maximumlength would be 20 bytes less than this, or 65,515 bytes, to leave room for theIP header. The implementation may impose a smaller limit than this.7. The smallest amount of process data that can be encapsulated in a UDP datagram