# \[solved\] Rke2 network segmentation

**URL:** <https://forums.suse.com/t/solved-rke2-network-segmentation/42730>\
**Category:** SUSE Rancher Prime\
**Created:** [March 14, 2024, 2:27pm UTC](https://forums.suse.com/t/solved-rke2-network-segmentation/42730 "2024-03-14T14:27:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crc-error](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@crc-error](https://forums.suse.com/u/crc-error)\
**Post date:** [March 14, 2024, 2:27pm UTC](https://forums.suse.com/t/solved-rke2-network-segmentation/42730/1 "2024-03-14T14:27:59Z")

</div>

Hello everybody,  
this is my first post (hope that I got the right section).

I am learning rke2 and in general, the kubernates ecosystem, so I have created 2 vm (master and agent).  
Then I successfully installed rke2 on both and everything is running.

What I want to achieve is to separate services using different ingress (and different NIC), so some services can “live” and be “used” only on the iot network and the others will been accessible only by the main network.

I have already installed metallb and calico and I have applyed a default deny rule, but I think I miss something on the metallb/rke2-configuration side because each exposed services get a right address for the vlan, but are not reachable even by ping.

Also I want to install rancher and assign to its GUI an address on the main network.  
Can it work or do I have to add the main network even on the master node?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/d/daf936bbe8096581b2e5d4ebee20733edb8cd4bb.png)

Thanks

---

<div class="post-metadata">

**Author:** ![crc-error](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@crc-error](https://forums.suse.com/u/crc-error)\
**Post date:** [March 15, 2024, 7:06am UTC](https://forums.suse.com/t/solved-rke2-network-segmentation/42730/2 "2024-03-15T07:06:53Z")

</div>

It works, it was my fault…

I miss this step on the install guide:[Network Options | RKE2](https://docs.rke2.io/install/network_options)

Basically I had to install iptables on each nodes

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/b/b25e1dd0d03f20024d07d92056520394fa947635.png)
