Project

General

Profile

Virtual Um » History » Version 2

laforge, 07/19/2017 03:11 PM
add graphviz drawings

1 1 laforge
h1. Virtual Um
2
3
In July 2017, the Osmocom project has inroduced a _Virtual Um interface_ (i.e. virtual radio layer) between [[OsmoBTS:]] and [[OsmocomBB:]].  This allows us to run a complete GSM network with 1-N BTSs and 1-M MSs without any actual radio hardware, which is of course excellent for all kinds of testing scenarios.
4
5
The Virtual Um layer is based on sending L2 frames (blocks) encapsulated via GSMTAP UDP multicast packets.  There are two separate multicast groups, one for uplink and one for downlink.  The multicast nature simulates the shared medium and enables any simulated phone to receive the signal from multiple BTSs via the downlink multicast group.
6
7
In [[OsmoBTS:]], this is implemented via the new @osmo-bts-virtual@ BTS model.
8
9
In [[OsmocomBB:]], this is realized by adding @virtphy@ virtual L1, which speask the same [[OsmocomBB:L1A_L23_Interface|L1CTL]] protocol that is used between the _real_ OsmcoomBB Layer1 and the Layer2/3 programs such as [[OsmocomBB:Mobile] and the like.
10
11
This page describes how to set up the Virtual Um layer.  It assumes that you are famliar with classic operation of [[OsmocomBB:]] and [[OsmoBTS:]] and [[OsmoNITB:]] with a real radio layer.  In case of doubt, look at the genric documentation and tutorials for real RF hardware.
12
13
h1. The big picture
14
15 2 laforge
h2. Using OsmoNITB
16 1 laforge
17 2 laforge
{{graphviz_link()
18
digraph G {
19
  rankdir = LR;
20
  bts [label="osmo-bts-virtual"];
21
  mobile [label="OsmocomBB mobile"];
22
  network [label="GSMTAP multicast\nUDP/IP" shape="diamond"];
23
  subgraph cluster_ms {
24
    label = "Mobile Station side"
25
    mobile -> virtphy
26
  }
27
  virtphy -> network
28
  network -> bts
29
  subgraph cluster_net {
30
    label = "Network side"
31
    bts -> OsmoNITB
32
  }
33
}
34
}}
35
36
h2. Using OsmoBSC, OsmoMSC, OsmoHLR
37
38
{{graphviz_link()
39
digraph G {
40
  rankdir = LR;
41
  bts [label="osmo-bts-virtual"];
42
  mobile [label="OsmocomBB mobile"];
43
  network [label="GSMTAP multicast\nUDP/IP" shape="diamond"];
44
  subgraph cluster_ms {
45
    label = "Mobile Station side"
46
    mobile -> virtphy
47
  }
48
  virtphy -> network
49
  network -> bts
50
  subgraph cluster_net {
51
    label = "Network side"
52
    bts -> OsmoBSC
53
    OsmoBSC -> OsmoMSC
54
    OsmoMSC -> OsmoHLR
55
  }
56
}
57
}}
58 1 laforge
59
h1. The BTS side
60
61
62
h1. The MS side
Add picture from clipboard (Maximum size: 48.8 MB)