Dropping packet: ip_forward is not set

74 views
Skip to first unread message

Nemanja Pavlovic

unread,
Jan 28, 2016, 9:25:12 AM1/28/16
to Psimulator2 developers
Hi,

I am having a problem with packet forwarding from router to router. I get the message that the IP forwarding is not on as you can see in the attachement.
I tried to fix this by enabling routing in Registry settings. I changed IPEnableRouter value from 0 to 1 and that should be enough to turn IP forwarding on. But it doesn't help.

Can you please help me with this? I am using Windows 7.

With regards,
Nemanja Pavlovic from Serbia.

3.png

Stanislav Řehák

unread,
Jan 28, 2016, 4:06:38 PM1/28/16
to Psimulator2 developers
Hi Nemanja,
have you tried this?

Enable IP Forwarding on routers

To enable IP Forwarding on each router, write the value of “1” to the file/proc/sys/net/ipv4/ip_forward. Normally, this would be done using the echo command but Psimulator2 would not accept that command.

To edit the file, use the editor command on each router. On Router 1 and Router 2, enter the command:

# editor /proc/sys/net/ipv4/ip_forward

In the file, delete the number “0” and replace it with the value “1”. Save the file.


For more see http://www.brianlinkletter.com/psimulator2-graphical-network-simulator/


Regards,
Stanislav Rehak


čt 28. 1. 2016 v 15:25 odesílatel Nemanja Pavlovic <nemanjap...@gmail.com> napsal:
--
Tuto zprávu jste obdrželi, protože jste přihlášeni k odběru skupiny „Psimulator2 developers“ ve Skupinách Google.
Chcete-li zrušit odběr skupiny a přestat dostávat e-maily ze skupiny, zašlete e-mail na adresu psimulator2-devel...@googlegroups.com.
Další možnosti najdete na https://groups.google.com/d/optout.
--

S pozdravem
Stanislav Řehák

Message has been deleted

Nemanja Pavlovic

unread,
Jan 31, 2016, 2:47:29 PM1/31/16
to Psimulator2 developers
That works for Linux. In Windows it can not be done.
Since i last posted here, I installed Ubuntu OS and everything worked fine.
Thanks for this great simulator Stanislav. :)

Stanislav Řehák

unread,
Jan 31, 2016, 3:08:54 PM1/31/16
to Psimulator2 developers
Hi Nemanja,
you're welcome :)

Regards,
Stanislav Rehak

ne 31. 1. 2016 v 20:47 odesílatel Nemanja Pavlovic <nemanjap...@gmail.com> napsal:
That works for Linux. In Windows it can not be done.
Since i last posted here, I installed Ubuntu OS and everything worked fine.
Thanks for this great simulator Stanislav. :)

--
Tuto zprávu jste obdrželi, protože jste přihlášeni k odběru skupiny „Psimulator2 developers“ ve Skupinách Google.
Chcete-li zrušit odběr skupiny a přestat dostávat e-maily ze skupiny, zašlete e-mail na adresu psimulator2-devel...@googlegroups.com.
Další možnosti najdete na https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages