help

Jason Huddleston huddlesj at otc.edu
Mon Jul 12 15:26:03 UTC 2004


It seems as though you have taken the fuzzy sledge hammer approach. You
should not have to edit any source files to turn routing on. All you should
have to do is change the value of net.ipv4.ip_forward to '1' in the
/etc/sysctl.conf file


--
Jason Huddleston, CCSA
Network Security Admin, Firewall Technician
Ozarks Technical Community College
huddlesj at otc.edu
417-895-7798

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of kanhu rauta
Sent: Thursday, July 08, 2004 8:43 AM
To: redhat-list at redhat.com
Subject: help

Dear sir/madam,
>i have the following problem
--------------------------
>i have 3 system(a,b,c) connected by cross cable.thire connection is
a---->b------->c
the ip address are
system a:eth0::192.168.10.5 and 10.10.10.3
system  b:eth0::192.16810.7 and 10.10.10.7
system  b:eth1::192.168.18.7 and 10.10.10.5
system  c:eth0::192.168.18.5  and 10.10.10.5

mine objective   
===============
system b and c are shearing global ip(10.10.10.5).
server programe(tcp) is running on both system b and c
on b port::7500
on c port::5500
objective::system a request to get service from (10.10.10.5).this packet
goto system b and b will check the destination ip along with the destination
port ,
if port is 7500 it will accept the packet
else
b will forward to system c.
=============================

i have done
============
>enable ip_forward option in system b.
>modify the following files of kernel(system b only)
/usr/src/linux2.4.20-8/net/ipv4
ip_input.c
route.c
ip_output.c
==========================

problem faced by me
===================
if its udp packet this perfectely works.(system a can recive service from b
or c depending on the port)

if its tcp packet then the problem
a sends syn-packet to b.
b checking the ip and port forwards it to c.
c sends the ack packet to b but b drops it
if i try to bipass the drop stastment by goto then system halts
=============================


any type of suggestion are invited
Regards
 kanhu.



  


-- 
redhat-list mailing list
unsubscribe
mailto:redhat-list-request at redhat.com?subjecthttps://www.redhat.com/mailman/
listinfo/redhat-list





More information about the redhat-list mailing list