mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
MAC OSX is needed to enable IP fowwarding
This commit is contained in:
parent
a20c96bc21
commit
b9f4dcf4ea
2 changed files with 5 additions and 1 deletions
|
|
@ -25,3 +25,7 @@ Install FreeDiameter, MongoDB C driver
|
|||
===========================================
|
||||
- brew install freediamter
|
||||
- brew install mongo-c-driver
|
||||
|
||||
Enable IP Fowarding
|
||||
====================
|
||||
- sysctl -w net.inet.ip.forwarding=1
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ int testgtpu_enb_send(net_sock_t *sock)
|
|||
ip_h->ip_p = IPPROTO_ICMP;
|
||||
ip_h->ip_len = gtp_h->length;
|
||||
ip_h->ip_src.s_addr = inet_addr("45.45.0.2");
|
||||
ip_h->ip_dst.s_addr = inet_addr("45.45.0.1");
|
||||
ip_h->ip_dst.s_addr = inet_addr("10.1.35.215");
|
||||
ip_h->ip_sum = in_cksum(
|
||||
(unsigned short *)ip_h, sizeof(struct ip));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue