# Pod-network-cidr and ip range allocation in CNI plugin

**URL:** <https://discuss.kubernetes.io/t/pod-network-cidr-and-ip-range-allocation-in-cni-plugin/24519>\
**Category:** General Discussions\
**Tags:** development, network\
**Created:** [June 14, 2023, 7:34pm UTC](https://discuss.kubernetes.io/t/pod-network-cidr-and-ip-range-allocation-in-cni-plugin/24519 "2023-06-14T19:34:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marwan](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@marwan](https://discuss.kubernetes.io/u/marwan)\
**Post date:** [June 14, 2023, 7:34pm UTC](https://discuss.kubernetes.io/t/pod-network-cidr-and-ip-range-allocation-in-cni-plugin/24519/1 "2023-06-14T19:34:21Z")

</div>

HI guys, question please, should the --pod-network-cidr be the same as the CIDR range used by weave net? for example if I add the kubeadm init --pod-network-cidr=10.244.0.0/16 then the below range in weave should be equal to 10.244.0.0/16? if not necessary to be the same IP, then the pod will get IP from which subnet, from the pod-network-cidr or weave?

I cant understand why we need the pod-network-cidr if the pods are getting IPs from the CNI plugin
