[P4-dev] How to connect two different P4 switch via veths

John Cruz john at barefootnetworks.com
Wed Mar 2 14:00:52 EST 2016


See

https://github.com/p4lang/p4factory#integration-with-mininet <https://github.com/p4lang/p4factory#integration-with-mininet>
https://github.com/p4lang/p4factory#integration-with-mininet-and-docker <https://github.com/p4lang/p4factory#integration-with-mininet-and-docker>

John


> On Mar 2, 2016, at 10:51 AM, Swaroop Thool <swaroopthool1991 at outlook.com> wrote:
> 
> Hello All,
> 
> I want to know, How to connect two veths(ports) of two different P4 switch?
> I want to send data process by one P4 switch to another P4 switch which implements different P4 programs. As of now, we can send packets from veth1(port1) and  sniff on veth6(port3) by scapy (from copy_to_cpu example).
> How to connect same port 3 of veth6 of 1st P4 switch to some incoming port of 2nd P4 switch?
> 
> Moreover, as I cannot run two instances (programs)on same P4 switch. Do I need to make another copy or folder of that switch (/targets/simple_switch)? and how to connect to other?Please help
> 
> 
> Thanks,
> Swaroop Thool
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org <mailto:P4-dev at lists.p4.org>
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org <http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20160302/58cf8456/attachment-0002.html>


More information about the P4-dev mailing list