Vpair » History » Version 1
laforge, 07/02/2020 09:02 AM
1 | 1 | laforge | h1. vpair - virtual E1 interface pair |
---|---|---|---|
2 | |||
3 | The virtual E1 interface pair is used to test without any actual E1 hardware. It resembles the concept of a "virtual ethernet pair" (veth pair) |
||
4 | which is found in many containerized Linux applications of today. |
||
5 | |||
6 | The vpair implements two interfaces, each with a configurable number of lines. |
||
7 | |||
8 | Every line N of the first interface is 'virtually looped' to line N of the second interface in the pair. |
||
9 | |||
10 | This way two E1-using applications can talk back-to-back on a single system without any actual E1 interface cards or physical cabling. |
||
11 | |||
12 | In order to use a vpair, you must include the following line in your osmo-e1d.cfg: |
||
13 | <pre> |
||
14 | virtual-e1-pair 1 |
||
15 | </pre> |
||
16 | |||
17 | Where '1' is the number of lines the virtual interface shall have. |