+--+
|h4|
++-+
|
|
+--+ +--+ ++-+ +--+
|h1+------+s1+-----+s3+-----+h3|
+--+ +-++ +--+ +--+
|
|
+-++
|s2|
+-++
|
|
+-++
|h2|
+--+
The objective of this exercise is to write a P4 program that
implements basic forwarding but using two tables. This program
is a very simple extension of the ip_forwarding
example.
Run the topology:
sudo p4run
or
sudo python network.py
Try to ping from one host to another:
mininet> h1 ping h2
Ping from all host pairs to test for connectivity:
mininet> pingall