From: Luo Y. <EY...@nt...> - 2004-07-20 09:22:38
|
Hello Vikas: I followed your instructions and the data flow works now!!!=20 Thanks a lot! Luo Yang From: Vikas Kawadia [mailto:ka...@co...]=20 To: Luo Yang Cc: asl...@li... I think I know your problem now. You should enable ip forwarding in your kernel and also turn off icmp=20 redirects. The fastest way would be to copy the snippet provided below onto=20 /etc/sysctl.conf and then run sysctl -p -vikas #------------------------------------- ### /etc/sysctl.conf # Enable packet forwarding net.ipv4.ip_forward =3D 1 # Enables source route verification net.ipv4.conf.default.rp_filter =3D = 1 # Enable the magic-sysrq key kernel.sysrq =3D 1 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid =3D 1 # disable all redirecting # useful in forcing certain topologies # escpecially when a weak link exists net.ipv4.conf.default.send_redirects =3D 0 net.ipv4.conf.default.accept_redirects =3D 0 net.ipv4.conf.default.secure_redirects =3D 0 net.ipv4.conf.all.send_redirects =3D 0 = net.ipv4.conf.all.accept_redirects =3D 0 net.ipv4.conf.all.secure_redirects =3D 0 #----------------------------------------- |