boc-bs is a simulated WiMAX Base Station. It performs the following:
- communicate with an AsnGateway using the R6 protocol
- establish GRE tunnels with the AsnGateway to carry data to/from the MobileStation
- listen on an UDP port to communicate with the fake MobileStation
The simulated Base Station needs to be run on the same local network as the simulated MobileStation. It will periodically broadcast UDP datagrams simulating the WiMAX DL MAP, allowing a fake MobileStation to detect the IP address of the Base Station.
Configuration
Let us assume the following configuration:
- ASN Gateway IP: 192.168.95.233
- Base Station IP: 192.168.95.230
- Base Station broadcast on: 192.168.95.255
The configuration file bs.conf would look like this:
# Configuration file for the Base Station. [asn] # port=2231 server=192.168.95.233 [bs] id=30:30:30:30:31:32 server=192.168.95.230 broadcast=192.168.95.255 # port=32100
Running
If you want to use a configuration file called bs.conf, you would run:
sudo src/boc-bs bs.conf
