Quote:
Originally Posted by abhiar
Hi!!
I am relatively new to Linux. Any help in this regard will be highly appreciated.
I am trying to setup private testbed network using Linux 2.4.18 kernel and for that purpose, I have some machines configured with 2 NICs. Although i can ping any two directly connected machines from each other on each of their interfaces but cant go any further than that.
I have tried setting /proc/sys/net/ipv4/ip_forward as 1 but to no avail. To my adventures, I realised that i couldn't ping eth0 from eth1 interface and vice versa.
Thanks in advance.
|
hi,
yes enable Ip farwarding by editing
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -i eth0 -o eth1
iptables -A FORWARD -i eth1 -o eth0
Kind regards,
Farrukh.