forked from acouzens/open5gs
rollback
This commit is contained in:
parent
e424e554d7
commit
f069f19185
|
@ -162,22 +162,22 @@ sgw:
|
||||||
#
|
#
|
||||||
# o Specify SGW addresses the GTP-C must connect to
|
# o Specify SGW addresses the GTP-C must connect to
|
||||||
#
|
#
|
||||||
# o One SGW is defined. If prefer_ipv4 is not true, [fe80::2%@LO_DEV@] is selected.
|
# o One SGW is defined. If prefer_ipv4 is not true, [fec0::2] is selected.
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# addr:
|
# addr:
|
||||||
# - 127.0.0.2
|
# - 127.0.0.2
|
||||||
# - fe80::2%@LO_DEV@
|
# - fec0::2
|
||||||
#
|
#
|
||||||
# o Two SGW are defined. MME selects SGW with round-robin manner per UE
|
# o Two SGW are defined. MME selects SGW with round-robin manner per UE
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# - addr: 127.0.0.2
|
# - addr: 127.0.0.2
|
||||||
# - addr: fe80::2%@LO_DEV@
|
# - addr: fec0::2
|
||||||
#
|
#
|
||||||
# o Three SGW are defined. MME selects SGW with round-robin manner per UE
|
# o Three SGW are defined. MME selects SGW with round-robin manner per UE
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# - addr
|
# - addr
|
||||||
# - 127.0.0.2
|
# - 127.0.0.2
|
||||||
# - fe80::2%@LO_DEV@
|
# - fec0::2
|
||||||
# - addr
|
# - addr
|
||||||
# - 127.0.0.12
|
# - 127.0.0.12
|
||||||
# - fec0::12
|
# - fec0::12
|
||||||
|
@ -187,21 +187,21 @@ sgw:
|
||||||
#
|
#
|
||||||
# o Specify local addresses the GTP-C server must bind to
|
# o Specify local addresses the GTP-C server must bind to
|
||||||
#
|
#
|
||||||
# o GTP-C Server(127.0.0.2:2123, [fe80::2%@LO_DEV@]:2123)
|
# o GTP-C Server(127.0.0.2:2123, [fec0::2]:2123)
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# addr:
|
# addr:
|
||||||
# - 127.0.0.2
|
# - 127.0.0.2
|
||||||
# - fe80::2%@LO_DEV@
|
# - fec0::2
|
||||||
#
|
#
|
||||||
# o Same configuration(127.0.0.2:2123, [fe80::2%@LO_DEV@]:2123) as below.
|
# o Same configuration(127.0.0.2:2123, [fec0::2]:2123) as below.
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# - addr: 127.0.0.2
|
# - addr: 127.0.0.2
|
||||||
# - addr: fe80::2%@LO_DEV@
|
# - addr: fec0::2
|
||||||
#
|
#
|
||||||
gtpc:
|
gtpc:
|
||||||
addr:
|
addr:
|
||||||
- 127.0.0.2
|
- 127.0.0.2
|
||||||
- fe80::2%@LO_DEV@
|
- fec0::2
|
||||||
|
|
||||||
#
|
#
|
||||||
# <GTP-U Server>>
|
# <GTP-U Server>>
|
||||||
|
@ -229,26 +229,26 @@ pgw:
|
||||||
# - addr: 127.0.0.3
|
# - addr: 127.0.0.3
|
||||||
# - addr: ::3
|
# - addr: ::3
|
||||||
#
|
#
|
||||||
# o One PGW is defined. if prefer_ipv4 is not true, [fe80::2%@LO_DEV@] is selected.
|
# o One PGW is defined. if prefer_ipv4 is not true, [fec0::2] is selected.
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# - addr:
|
# - addr:
|
||||||
# - 127.0.0.3
|
# - 127.0.0.3
|
||||||
# - fe80::3%@LO_DEV@
|
# - fec0::3
|
||||||
#
|
#
|
||||||
# ------------------------ PGW --------------------------
|
# ------------------------ PGW --------------------------
|
||||||
#
|
#
|
||||||
# o Specify local addresses the GTP-C server must bind to
|
# o Specify local addresses the GTP-C server must bind to
|
||||||
#
|
#
|
||||||
# o GTP-C Server(127.0.0.3:2123, [fe80::3%@LO_DEV@]:2123)
|
# o GTP-C Server(127.0.0.3:2123, [fec0::3]:2123)
|
||||||
# gtpc:
|
# gtpc:
|
||||||
# addr:
|
# addr:
|
||||||
# - 127.0.0.3
|
# - 127.0.0.3
|
||||||
# - fe80::3%@LO_DEV@
|
# - fec0::3
|
||||||
#
|
#
|
||||||
gtpc:
|
gtpc:
|
||||||
addr:
|
addr:
|
||||||
- 127.0.0.3
|
- 127.0.0.3
|
||||||
- fe80::3%@LO_DEV@
|
- fec0::3
|
||||||
|
|
||||||
#
|
#
|
||||||
# <GTP-U Server>>
|
# <GTP-U Server>>
|
||||||
|
@ -258,10 +258,10 @@ pgw:
|
||||||
# o GTP-U Server(127.0.0.3:2152, [::3]:2152)
|
# o GTP-U Server(127.0.0.3:2152, [::3]:2152)
|
||||||
# gtpu:
|
# gtpu:
|
||||||
# - addr: 127.0.0.3
|
# - addr: 127.0.0.3
|
||||||
# - addr: fe80::3%@LO_DEV@
|
# - addr: fec0::3
|
||||||
gtpu:
|
gtpu:
|
||||||
- addr: 127.0.0.3
|
- addr: 127.0.0.3
|
||||||
- addr: fe80::3%@LO_DEV@
|
- addr: fec0::3
|
||||||
|
|
||||||
#
|
#
|
||||||
# <UE network>
|
# <UE network>
|
||||||
|
|
|
@ -8,17 +8,17 @@ if [ "$SYSTEM" = "Linux" ]; then
|
||||||
fi
|
fi
|
||||||
ip addr add 45.45.0.1/16 dev pgwtun
|
ip addr add 45.45.0.1/16 dev pgwtun
|
||||||
ip link set pgwtun up
|
ip link set pgwtun up
|
||||||
ip addr add fe80::2 dev lo
|
ip addr add fec0::2 dev lo
|
||||||
ip addr add fe80::3 dev lo
|
ip addr add fec0::3 dev lo
|
||||||
ip addr add fe80::4 dev lo
|
ip addr add fec0::4 dev lo
|
||||||
ip addr add fe80::5 dev lo
|
ip addr add fec0::5 dev lo
|
||||||
else
|
else
|
||||||
ifconfig lo0 alias 127.0.0.2 netmask 255.255.255.255
|
ifconfig lo0 alias 127.0.0.2 netmask 255.255.255.255
|
||||||
ifconfig lo0 alias 127.0.0.3 netmask 255.255.255.255
|
ifconfig lo0 alias 127.0.0.3 netmask 255.255.255.255
|
||||||
ifconfig lo0 alias 127.0.0.4 netmask 255.255.255.255
|
ifconfig lo0 alias 127.0.0.4 netmask 255.255.255.255
|
||||||
ifconfig lo0 alias 127.0.0.5 netmask 255.255.255.255
|
ifconfig lo0 alias 127.0.0.5 netmask 255.255.255.255
|
||||||
ifconfig lo0 inet6 fe80::2 prefixlen 128
|
ifconfig lo0 inet6 fec0::2 prefixlen 128
|
||||||
ifconfig lo0 inet6 fe80::3 prefixlen 128
|
ifconfig lo0 inet6 fec0::3 prefixlen 128
|
||||||
ifconfig lo0 inet6 fe80::4 prefixlen 128
|
ifconfig lo0 inet6 fec0::4 prefixlen 128
|
||||||
ifconfig lo0 inet6 fe80::5 prefixlen 128
|
ifconfig lo0 inet6 fec0::5 prefixlen 128
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue