[P4-dev] ipv4_forward example

Mostafa Abdallah. Ammar mostafaammar at aast.edu
Sun Oct 1 14:02:56 EDT 2017


Dear Raj and hemant,

Thanks a lot for your help I reinstalled mininet from source , problem solved.

Also I edited the mac address values for hosts in  s1-commands.txt, s2-commands.txt, s3-commands.txt with the correct mac values for h1, h2 h3 and now ping is working successfully between all the 3 hosts.

________________________________
From: Raj Joshi <rajjoshi at comp.nus.edu.sg>
Sent: Sunday, October 1, 2017 4:55 AM
To: Mostafa Abdallah. Ammar
Cc: p4-dev at lists.p4.org
Subject: Re: [P4-dev] ipv4_forward example

It's a mininet issue when it is installed from the Ubuntu repository. See here: https://github.com/mininet/mininet/issues/629

Most likely you installed mininet using "sudo apt-get install mininet". Please uninstall it first and they re-install from source. Follow instructions here: http://mininet.org/download/#option-2-native-installation-from-source. Also preferably do a full install by running the install.sh script with -a option (when you reach that step).

Cheers,

Raj Joshi

On Sat, Sep 30, 2017 at 3:49 PM, Mostafa Abdallah. Ammar <mostafaammar at aast.edu<mailto:mostafaammar at aast.edu>> wrote:

Dear All,


I am trying the ipv4_forward in P4D2_2017


I am having the following errors after run


*** Adding links:
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(h1, s1) (0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(h2, s2) (0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(h3, s3) (0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(s1, s2) (0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(s1, s3) (0ms delay) *** Error: RTNETLINK answers: No such file or directory
(0ms delay) *** Error: RTNETLINK answers: No such file or directory
(s3, s2)

?




Best Regards,

Eng. Mostafa Abdallah Ammar,Msc.
Head of Information Security Department
CCIE security #23971
Arab Academy For Science And Technology & maritime Transport
Computer Networks & Data Center (CNDC)
Mobile: 002 01001983674

_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171001/2915306c/attachment-0002.html>


More information about the P4-dev mailing list