Networking Forums

Networking Forums > Computer Networking > Linux Networking > ip_forward is not working in small network

Reply
Thread Tools Display Modes

ip_forward is not working in small network

 
 
Franz
Guest
Posts: n/a

 
      04-14-2006, 05:17 PM
Hej!

I have set up a small network for testing with 3 computers:
PC1 (WinXP) <---> server (RedHat) <---> PC2 (WinXP)

On the server runs RedHat and I am using there nistnet for network
analyses. None of the computers are connected to the internet and thus
I turned off firewalls on all computers.

When I ping from PC1 to the server and vice versa everything is ok; the
same is for PC2 to the server and vice versa. But when I ping from PC1
to PC2 it's not working!

I set on the server the ip_forward-flag (command echo "1"
/proc/sys/net/ipv4/ip_forward).

Any idea why it is not working?

Thanks in advance,
Franz

 
Reply With Quote
 
 
 
 
waxinwaxout@hotmail.com
Guest
Posts: n/a

 
      04-14-2006, 10:00 PM
Franz wrote:
> Hej!
>
> I have set up a small network for testing with 3 computers:
> PC1 (WinXP) <---> server (RedHat) <---> PC2 (WinXP)
>
> On the server runs RedHat and I am using there nistnet for network
> analyses. None of the computers are connected to the internet and thus
> I turned off firewalls on all computers.
>
> When I ping from PC1 to the server and vice versa everything is ok; the
> same is for PC2 to the server and vice versa. But when I ping from PC1
> to PC2 it's not working!
>
> I set on the server the ip_forward-flag (command echo "1"
> /proc/sys/net/ipv4/ip_forward).
>
> Any idea why it is not working?


Try

echo "1" > /proc/sys/net/ipv4/ip_forward
instead of
echo "1" /proc/sys/net/ipv4/ip_forward

and/or readout the value afterwards

cat /proc/sys/net/ipv4/ip_forward


Miyagi

>
> Thanks in advance,
> Franz


 
Reply With Quote
 
Franz
Guest
Posts: n/a

 
      04-15-2006, 10:13 AM
Hej! Somehow the routing tables has been reset ... so I had to set the
routes again.
BTW: here's a good description for that:
http://www.comptechdoc.org/os/linux/...ugrouting.html

Regards, Franz

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ip_forward and conf/*/forwarding Rafal Dabrowa Linux Networking 2 07-16-2007 01:24 PM
Small LAN Hosed 'No network provider accepted the given network pa MattMJF@Yahoo.com Windows Networking 2 11-11-2005 05:26 AM
simple question about ip_forward and NAT routing. meneg Linux Networking 3 03-31-2005 08:55 AM
Redhat 9 and IP_Forward stewart menday Linux Networking 2 12-17-2003 07:55 PM
Small Network Pete Tomaini Windows Networking 1 11-27-2003 02:57 PM



1 2 3 4 5 6 7 8 9 10 11