<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, Suman.<div><br></div><div>Let me try to explain how UE IP is configured in general.</div><div><br></div><div>o Read configuration.</div><div> - ./support/config/<a href="http://nextepc.conf.in:339">nextepc.conf.in:339</a></div><div><div>    ue_pool:</div><div>      - addr: <a href="http://45.45.0.1/16">45.45.0.1/16</a></div><div>      - addr: cafe::1/64</div></div><div> - src/pgw/pgw_context.c:739</div><div>     subnet = pgw_subnet_add(ipstr, mask_or_numbits, apn, dev);</div><div><br></div><div>o Generate UE Pool</div><div> - src/pgw/pgw_init.c:32</div><div>     rv = pgw_ue_pool_generate();<br></div><div><br></div><div>o If UE try to attach, new IP is allocated from the UE POOL.</div><div> - src/pgw/pgw_context.c:923</div><div>     pgw_sess_t *pgw_sess_add(....)</div><div>     {</div><div>          ...</div><div>     }</div><div> - src/pgw/pgw_context.c:960<br></div><div>      sess->ipv4 = pgw_ue_ip_alloc(AF_INET, apn);<br></div><div dir="ltr"><br></div><div>And then, the UE IP is delivered to SGW/MME using GTPv2-C.</div><div>Finally, MME is sending the UE IP through NAS message(Activate default EPS bearer context request.)</div><div><br></div><div>Let me know if you have more information.</div><div><br></div><div>Thanks!</div><div>   </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2019년 3월 23일 (토) 오전 8:41, Suman Bhunia <<a href="mailto:sbhunia@tamu.edu">sbhunia@tamu.edu</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello!</div><div><br></div><div>We just started using NextEPC at our lab and came across a few problems. I was wondering if anyone could provide me some guideline on how the EPC assigned IP address to the UEs.  Any document or even pointing me to the correct section of code in the GitHub will be helpful.</div><div><br></div><div>Thank you for your kind help.</div><div><br></div><div>Thanks,</div><div>Suman Bhunia</div><div>Postdoctoral scholar <br></div><div>Texas A&M University<br></div></div>
</blockquote></div>