OpenBTS: Pola Multi OpenBTS

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://wush.net/trac/rangepublic/wiki/multiBTS

Di rangenetworks.com, multi-BTS biasa di jalankan. Sebuah network dengan 2-BTS adalah konfigurasi yang paling sederhana bagi kita yang ingin mengembangkan kemampuan mobilitas & handover.


Jaringan MultiBTS

Dengan semakin berkembangnya jaringan, kita biasanya menginginkan untuk dapat tersambung ke lebih dari satu OpenBTS system yang berjalan bersamaan. Hal ini relatif mudah untuk dilakukan. Pada dasarnya, setiap node OpenBTS berjalan di mesin yang berbeda, semua tersambung ke sipauthserve, PBX dan smqueue yang terpusat (tidak harus berjalan di satu mesin). Berikut adalah dokumentasi caranya.

Kebutuhan Awal

Pertama-tama, instalasi dasar tidak mendukung komunikasi VoIP yang aman. Di samping itu, kita perlu menginstalasi Asterisk Real-Time atau FreeSWITCH atau Yate.

Kedua, kita perlu memindahkan file konfigurasi (seperti, OpenBTS.db) ke mesin yang menjalankan proses OpenBTS. Ingat kita sekarang akan mempunyai banyak OpenBTS, file OpenBTS.db harus berbeda untuk setiap lokasi BTS. Jika harus kita angat bahwa semua proses (kecuali PBX) akan menginginkan file konfigurasinya di /etc/OpenBTS.

System Diagram

Openbts-multi system diagram.png

Configuration

Kita perlu mengubah konfigurasi default database untuk menunjuk ke mesin yang menjalankan server. Contoh:

   PBX (Asterisk)- 192.168.0.3:5060
   smqueue - 192.168.0.3:5063
   sipauthserve - 192.168.0.3: 5064
   OpenBTS (1st BTS) - 192.168.0.3:5062
   OpenBTS (2nd BTS) -192.168.0.122:5062

PBX

Asterisk

Beruntung, kita tidak perlu mengubah konfigurasi Asterisk Fortunately, Asterisk does not need to be reconfigured unless it is accessing the subscriber registry over the network.

FreeSWITCH

The FreeSWITCH install needs to know the location of smqueue in order to forward SIP MESSAGEs. To do this, change (FS ROOT)/conf/vars.xml to the network location of smqueue:

<X-PRE-PROCESS cmd="set" data="smqueue_port=5063"/>
<X-PRE-PROCESS cmd="set" data="smqueue_host=192.168.1.0"/>

Yate

Semoga tidak perlu di ubah apa-apa.

smqueue

/etc/OpenBTS/smqueue.db has numerous variables that need to be set to the new network locations of each service

Asterisk.address -> 192.168.1.0 The network location of the PBX
SIP.myIP2 -> 192.168.1.0 The external-facing IP address of smqueue
SIP.Proxy.Registration -> 192.168.1.0:5064 The location of sipauthserve 

sipauthserve

Beruntung, sipauthserve adalah layanan pasif yang tidak perlu mengetahui dimana layanan lain berada.

OpenBTS

Menjalankan multiple BTS secara bersamaan adalah tugas yang tidak gampang. Setiap BTS harus di konfigurasi untuk mengetahui lokasi dari layanan jaringan yang ada, juga di konfigurasi untuk tidak meng-interferensi BTS tetangga-nya.

Network Configuration

Setiap OpenBTS harus di konfigurasi (di /etc/OpenBTS/OpenBTS.db) untuk smqueue, sipauthserve, dan PBX. Ini dapat dilakukan baik melalui sqlite3 client atau melalui OpenBTSCLI

SIP.Local.IP -> 192.168.1.1 (or .2) The external IP of the OpenBTS install.
SIP.Proxy.Registration -> 192.168.1.0:5064 The IP/Port of sipauthserve
SIP.Proxy.SMS -> 192.168.1.0:5063 The IP/Port of smqueue (or FreeSWITCH)
SIP.Proxy.Speech -> 192.168.1.0:5060 The IP/Port of the PBX

Contoh

OpenBTS 1

config SIP.Local.IP 192.168.0.3
config SIP.Proxy.Registration 192.168.0.3:5064
config SIP.Proxy.SMS 192.168.0.3:5063
config SIP.Proxy.Speech 192.168.0.3:5060

OpenBTS 2

config SIP.Local.IP 192.168.0.122
config SIP.Proxy.Registration 192.168.0.3:5064
config SIP.Proxy.SMS 192.168.0.3:5063
config SIP.Proxy.Speech 192.168.0.3:5060

Konfigurasi BTS

Ada dua jenis konfigurasi BTS yang perlu diset untuk membuat jaringan. Pertama-tama, variabel yang harus SAMA untuk semua BTS di jaringan:

GSM.Identity.MCC The mobile country code
GSM.Identity.MNC The mobile network code
GSM.Identity.BSIC.NCC The network color code, must be unique from all other networks around you.
GSM.CellSelection.NCCsPermitted The NCCs permitted by your BTS. Should include the above. 

Contoh:

config GSM.Identity.MCC 001
config GSM.Identity.MNC 01
config GSM.Identity.BSIC.NCC 0
config GSM.CellSelection.NCCsPermitted 1

Variabel berikut harus BERBEDA untuk semua BTS.

GSM.CellSelection.BSIC.BCC The BTS color code. Each BTS should have a different color code.
GSM.Identity.LAC The Location area code. Have to be unique for each BTS
GSM.Identity.CID Cell ID, again unique per BTS.


OpenBTS 1

config GSM.CellSelection.BSIC.BCC 100
config GSM.Identity.LAC 1000
config GSM.Identity.CID 100

OpenBTS 2

config GSM.CellSelection.BSIC.BCC 101
config GSM.Identity.LAC 1001
config GSM.Identity.CID 101

Debugging

Sangat mudah untuk membuat kesalahan. Untuk konfigurasi jaringan, gunakan tool seperti wireshark untuk men-trace traffic.

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video