How to get network access inside conrainer

I have installed the LXC and created the container with ubunu 16.04 host now my goal is to get the network access inside the system container. Do we have some links ?
I am using lxc 2.xx version

More information is needed in order to answer that question; for example, on lxc list did you create a local network bridge (say called lxdbr0)? If so, then adding networking to your container using a static IP address is as simple as

lxc network attach lxdbr0 my_container eth0
lxc config device set my_container eth0 ipv4.address 10.248.83.4

Someone can correct me if I’m wrong, but if you’re OK with a randomly assigned DHCP address, you only need to execute the first of these commands.