GPRS Problem

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Stuart Baggs stuart at bluewave.im
Wed Dec 1 15:12:49 UTC 2010


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



More information about the OpenBSC mailing list