Configure container network

Configure host network in Terminal 1 (Container)

  1. Ensure you’re in Terminal 1 - the container terminal and bring up the loopback interface. List the interfaces.

    ip link set lo up
    ifconfig -a
  2. Rename the c interface to eth0

    ip link set c<replaceitwithCPID> name eth0 up
  3. Assign IP address of /16 to our eth0 interface and set default gateway to

    ip addr add dev eth0
    ip route add default via
  4. Check the configuration and try to ping the outside world from our network namespace

    ifconfig -a