커널 2.4.20
Introduction
HUT AODV for IPv6 is an implementation of the Ad hoc On-demand Distance Vector (AODV) Routing Protocol[1] with IPv6 modifications[2], written by Antti J. Tuominen as part of his Master's Thesis.
This implementation supports all features of the specifications except for Data Flooding hop-by-hop options (which will probably be added later). A later release will also include Globalv6[3] support. HUT AODV for IPv6 was tested at the 1st MANET InterOp at UCSB. Report by Elizabeth Belding-Royer is available here.
News
HUT AODV for IPv6 0.20 will soon be available. It features full RFC 3561 compatibility, as well as Globalv6 support.
1. 다운 받기
hut-aodv6-0.11.tar.gz [다운]
구현 보고서 (0.11용) [다운]
2. 커널 컴파일 하기 (9.0에서는 할필요 없는듯.)
사전 작업 : IPv6 , Netfilter 가 커널서 작동하도록 컴파일
more..
3 설치 하기
[리눅스 전체 패키지 설치시]
* Redhat 9.0 전체 설치후 yum update 수행하면 아래와 같이 소스파일 존재
total 20
drwxr-xr-x 5 root root 4096 Jun 26 12:45 .
drwxr-xr-x 15 root root 4096 Jun 25 22:12 ..
drwxr-xr-x 2 root root 4096 Jan 24 2003 debug
lrwxrwxrwx 1 root root 14 Jun 25 23:00 linux-2.4 -> linux-2.4.20-8
drwxr-xr-x 16 root root 4096 Jun 25 22:59 linux-2.4.20-8
drwxr-xr-x 7 root root 4096 Jun 25 22:39 redhat
* 심볼 링크만 걸어 주기
# ln -s linux-2.4.20-8/ linux
[리눅스 서버 모드 설치시]
more..
4. Install
Netfilter. Kernel modules were made for the 2.4.x series.
cd hut-aodv6-x.y
make install
* make install에서 아래 에러 발생시
if test '!' -f /etc/aodvd.conf; then \
install -m 0644 aodvd.conf /etc/aodvd.conf; fi
install -o root -m 0644 aodvd.8 /usr/local/man/man8/aodvd.8
install: cannot create regular file `/usr/local/man/man8/aodvd.8': No such file or directory
make: *** [install-manuals] Error 1
폴더 생성 : mkdir -p /usr/local/man/man8 후 다시 make install
추가1: make 성공시의 메시지
more..
추가2: make install 성공시의메시지
more..
5. Quick setup
# insmod ip6_nf_aodv
위치 : /lib/modules/2.4.20-8/kernel/net/ipv6/netfilter
위 방식으로 안되면(맞는 방법인지는 모르겠지만 )
cd ./hut-aodv6-0.11/kernel
modprobe ipv6 (IPv6모듈 먼저 올리고)
insmod ip6_queue.o
insmod ip6_nf_aodv.o
추가3: 출력 에러 메시지
more..
/etc/modules.conf나 /etc/conf.modules에
alias net-pf-10 ipv6 #추가
ifconfig eth1 up
modprobe ipv6
ifconfig eth1 inet6 add 2001:0220:1404:5::1/64
iwconfig eth1 mode ad-hoc essid adioshun
insmod /root/hut-aodv6-0.11/kernel/ip6_queue.o
insmod /root/hut-aodv6-0.11/kernel/ip6_nf_aodv.o
ip link set aodv0 up
5.1 Then setup fake network interface aodv0 and add default route.
# ip -6 r a ::/0 dev aodv0
# ip -6 r d fe80::/10 dev aodv0 (link-local address)
# ip -6 r d ff00::/8 dev aodv0 (멀티 캐스트)
5.2 Set Linux IPv6 routing table garbage collector interval to 1.
5.3 설정 파일 수정
5: NodeAddressGlobal=2001:0220:1404:5::2/64; (콤마 추가)
6: NodeAddressSite=fec0:1336::1/64;
18: Interface=eth1;
6. 실행 하기
Now you are ready to start the aodvd daemon.
ex) /aodvd -C /etc/aodvd.conf
추가4: 실행후 ip6_queue 정상 동작 상태
more..
Tip1] Ad-hoc 모드 설정
ex) iwconfig eth1 mode ad-hoc essid adioshun
Tip2] IPv6 주소 추가
Tip3] IPv6 tcpdump
Tip4] 라우팅 기능
추가4: 옵션과 설정 파일
more..
관련 자료 :
- Charles E. Perkins, Elizabeth Belding-Royer and Samir Das, Ad hoc On-Demand Distance Vector (AODV) Routing RFC 3561, July 2003.
- Charles E. Perkins, Elizabeth Belding-Royer and Samir Das, Ad hoc On-Demand Distance Vector (AODV) Routing for IP version 6 Internet-Draft, November 2001, Work-in-progress.
- Ryuji Wakikawa, Jari T. Malinen, Charles E. Perkins, Anders Nilsson and Antti J. Tuominen Global Connectivity for IPv6 Mobile Ad Hoc Networks Internet-Draft, November 2002, Work-in-progress.
- Manel Guerrero Zapata, Secure Ad hoc On-Demand Distance Vector (SAODV) Routing, Internet-Draft, October 2001, Work-in-progress.
참조 링크 : http://www.tcs.hut.fi/~anttit/manet/aodv/
작성 : 2006.06.25 by 임헌정
http://www.4ellene.net
hut-aodv6-0.11.tar.tar
Comments List
以
移