p4lang / p4factory

Compile P4 and run the P4 behavioral simulator
Apache License 2.0
174 stars 106 forks source link

Issue with mininet/swl_ospf.py #81

Open jaepark opened 8 years ago

jaepark commented 8 years ago

I have finished installing up to Integration with Mininet and Docker, and tried to run OSPF (Quagga), but I was not able to ping from h1 to h2. I got the following error. (I was able to ping using the statically configured setup mininet/swl_l3_static.py)

sudo ./swl_ospf.py * Configuring hosts h1 h2 * Starting controller

*\ Starting 2 switches sw1 Starting P4 docker switch sw1 sw2 Starting P4 docker switch sw2

*\ Starting CLI: mininet> h1 ping h2 PING 172.16.102.5 (172.16.102.5) 56(84) bytes of data. From 172.16.101.5 icmp_seq=1 Destination Host Unreachable From 172.16.101.5 icmp_seq=2 Destination Host Unreachable From 172.16.101.5 icmp_seq=3 Destination Host Unreachable

mininet> h1 arp Address HWtype HWaddress Flags Mask Iface 172.16.101.1 (incomplete) h1-eth0

Any idea on what the problem is and how I can fix this issue?

Thanks.

antoninbas commented 8 years ago

Hi,

Thanks for reporting this. We fixed it with this pull request: https://github.com/p4lang/p4factory/pull/82

haazy commented 7 years ago

Hello All, I am new here. I am trying to play around with p4 on mininet and I am looking for resources online to help me but I have not found any.

Kindly please help me

Haazy