Hello,

I'm a real newbie with arm-linux so I'm sorry if I bother for nothing
I'm running a 2.4.0-test6 kernel with patch (kernel
linux-2.4.0-test6-rmk6-bluemug3) on a board a with clep7211 and two
serial ports

I think I compiled the kernel with all the necessary options to do
ipforwarding, NAT and so on
I set up a network as follows:
on ARM server side :
 ifconfig lo 127.0.0.1
 ifconfig eth0 hw ether 11:22:33:44:55:66 193.54.84.120 netmask
255.255.255.0
 route add 127.0.0.1 lo
 route add 193.54.84.0 eth0
 route add -net 0.0.0.0 gw 193.54.84.100 eth0
 pppd local 193.54.84.121:193.54.84.122 /dev/ttyS1 115200 nocrtscts
noauth
proxyarp

on PC1 client side :
 pppd -detach debug local noipdefault defaultroute noauth nocrtscts
/dev/ttyS0
115200

PC1 <--PPP--> ARM board <--Ethernet--> LAN & PC2

and I do the following ipv4 settings after mounting /proc
echo "1" > /proc/sys/net/ipv4/ip_forward

echo "1" > /proc/sys/net/ipv4/conf/*/forwarding
echo "2" > /proc/sys/net/ipv4/conf/*/rp_filter
echo "1" > /proc/sys/net/ipv4/conf/*/accept_source_route
echo "1" > /proc/sys/net/ipv4/conf/*/secure_redirects
echo "1" > /proc/sys/net/ipv4/conf/*/proxy_arp
echo "1" > /proc/sys/net/ipv4/conf/*/send_redirects
echo "0" > /proc/sys/net/ipv4/conf/*/accept_redirects

the problem is that PC1 and PC2 can't ping themselves

so I tried to arranges the nat table with iptables to do postrouting and
masquerading but I get this error:
/ # iptables -t nat -I POSTROUTING -o ppp0 -j MASQUERADE
iptables: Target problem

I'm sure Masquerade target option is compiled in the kernel


Thanks a lot for any help

Happy new year

Mathieu Picard

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to