Hi, I am openBSC version 0.9.11.92-6d42 and I have compiled open-ggsn and the osmo-sgsn binary has been built when i recompiled openBSC. Now here is the problem. The GPRS indicator on the handset lights up, but no GPRS data passes. I have the following config files:
---------/etc/ggsn.conf--------- # TAG: listen # Specifies the local IP address to listen to listen 192.168.1.70
# TAG: dynip # Dynamic IP address pool. # Used for allocation of dynamic IP address when address is not given # by HLR. # If this option is not given then the net option is used as a substitute. dynip 192.168.254.0/24
# TAG: pcodns1/pcodns2 # Protocol configuration option domain name system server 1 & 2. pcodns1 208.67.222.222 pcodns2 208.67.220.220 --------------------------------
---------/etc/ggsn.conf--------- ! ! Osmocom SGSN configuration ! ! line vty no login ! sgsn gtp local-ip 192.168.1.80 ggsn 0 remote-ip 192.168.1.70 ggsn 0 gtp-version 1 ! ns timer tns-block 3 timer tns-block-retries 3 timer tns-reset 3 timer tns-reset-retries 3 timer tns-test 30 timer tns-alive 3 timer tns-alive-retries 10 encapsulation udp local-ip 192.168.1.60 encapsulation udp local-port 23000 encapsulation framerelay-gre enabled 0 ! bssgp ! --------------------------------
I have setup the server to have 4 virtual addresses: 192.168.1.50, 192.168.1.60, 192.168.1.70, 192.168.1.80.
When I start the ggsn and do a route -n it shows thats tun0 is up with the ip range 192.168.0.0/24. I have specified it to be 192.168.1.254 via the dynip argument in the /etc/ggsn.conf file. I have setup iptables to NAT eth0 so no issues there.
Thanks
Stuart
Hi Stuart,
what kind of output do you get from OsmoSGSN if you enable the DEBUG log level for 'mm', 'ns', 'bssgp' and 'gprs' ?
Also, why don't you use wireshark to look at both the Gb as well as the GTP protocol traces?
And what about using the VTY of the sgsn to inquire about the state of the NS, BSSGP protocol, show the mm-contexts, if any?
There are so many ways to obtain more information on what exactly is going on, please use them :)