# Simple\_switch with physical interface

**URL:** <https://forum.p4.org/t/simple-switch-with-physical-interface/1206>\
**Category:** Getting Started with P4\
**Created:** [October 26, 2024, 9:00am UTC](https://forum.p4.org/t/simple-switch-with-physical-interface/1206 "2024-10-26T09:00:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malldisaesar](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@malldisaesar](https://forum.p4.org/u/malldisaesar)\
**Post date:** [October 26, 2024, 9:00am UTC](https://forum.p4.org/t/simple-switch-with-physical-interface/1206/1 "2024-10-26T09:00:27Z")

</div>

Hi, I would like to ask about associating a physical interface to simple\_switch. I am using the command sudo simple\_switch -i 0@ens3 -i 1@ens4 basic.json. and have added a table via simple\_switch\_CLI.

When I ping the server, it doesn’t work and when I tcpdump the server, it shows ICMP request but the client doesn’t show ICMP reply. is there a problem with simple\_switch or it only supports virtual ethernet?  
Thank you.

\*btw, I am using pnetlab.

---

<div class="post-metadata">

**Author:** ![andyfingerhut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.p4.org/andyfingerhut/32/17_2.png) [@andyfingerhut](https://forum.p4.org/u/andyfingerhut)\
**Post date:** [October 26, 2024, 3:45pm UTC](https://forum.p4.org/t/simple-switch-with-physical-interface/1206/2 "2024-10-26T15:45:48Z")

</div>

This Github issue, and in particular the comment by Antonin Bas that I am linking directly to, may have useful tips: [Performance issue of simple\_switch\_grpc · Issue #1172 · p4lang/behavioral-model · GitHub](https://github.com/p4lang/behavioral-model/issues/1172#issuecomment-1385948128)

---

<div class="post-metadata">

**Author:** ![malldisaesar](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@malldisaesar](https://forum.p4.org/u/malldisaesar)\
**Post date:** [October 27, 2024, 12:07am UTC](https://forum.p4.org/t/simple-switch-with-physical-interface/1206/3 "2024-10-27T00:07:09Z")

</div>

Okay, I will try it first, thank you for your help.
