Difference between revisions of "OpenBTS: Pola Multi OpenBTS"

From OnnoWiki
Jump to navigation Jump to search
Line 79: Line 79:
 
  GSM.Identity.BSIC.NCC The network color code, must be unique from all other networks around you.
 
  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.  
 
  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.
 
Variabel berikut harus '''BERBEDA''' untuk semua BTS.
Line 85: Line 92:
 
  GSM.Identity.LAC The Location area code. Have to be unique for each BTS
 
  GSM.Identity.LAC The Location area code. Have to be unique for each BTS
 
  GSM.Identity.CID Cell ID, again unique per BTS.
 
  GSM.Identity.CID Cell ID, again unique per BTS.
 +
 +
 +
===Contoh OpenBTS 1===
 +
 +
config GSM.CellSelection.BSIC.BCC
 +
config GSM.Identity.LAC
 +
config GSM.Identity.CID
 +
 +
===Contoh OpenBTS 2===
 +
 +
config GSM.CellSelection.BSIC.BCC
 +
config GSM.Identity.LAC
 +
config GSM.Identity.CID
  
 
==Debugging==
 
==Debugging==

Revision as of 10:48, 10 August 2012

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

Fortunately, sipauthserve is a passive engine that does not need to know where any other services are located.

OpenBTS

Running multiple BTS's concurrently is a difficult task. Each BTS must not only be configured to know the location of the network services, but also configured to not interfere with their nearby BTS neighbors.

Network Configuration

Every OpenBTS install must be configured (at /etc/OpenBTS/OpenBTS.db) to the smqueue, sipauthserve, and PBX services. This can be done either with the sqlite3 client or via the OpenBTS [command-line interface].

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 

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.


Contoh OpenBTS 1

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

Contoh OpenBTS 2

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

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