From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Henrik Ramberg" Date: Sat, 17 May 2003 12:11:19 +0000 Subject: [LARTC] Software bridge problem MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0036_01C31C7E.305A09D0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C31C7E.305A09D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear list. I have a problem I hope someone can help me with. I am currently = developing a "transparent" software bridge that=20 connects a local area network to the Internet. eth0 is connected to the = "Internet" and eth1 is connected=20 to the LAN. The program is working just fine and packets are routed = perfectly through the box. However my=20 problems goes as follows: eht0 has got an IP stack so that the box can = surf around on Internet (this is an=20 necessity), while eth1 is protocol less. I want the clients in the LAN = to reach the IP stack on eth0=20 via eth1 in order to recieve stats on whats been downloaded etc. In this = situation packets for eth0 would be recieved on eth1 and the go through my bridge and then sent out on = eth0 as every other packet. Then when eth0 has sent the packets it would recieve the newly sent packets in = normal manner. However this does not=20 seem to work. I have used pktdump to verify that packets are recieved on = eth1 and sent out on eth0.=20 The problem is that the IP stack will not accept the packets it sends = out itself and just drops them. WHY?=20 Is there a remedy to my problem?? I am currently running Linux = 2.2.22-compact kernel.=20 All replies will be deeply appreciated. Regards, Henrik Ramberg ------=_NextPart_000_0036_01C31C7E.305A09D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear list.
 
I have a problem I hope someone can = help me with. I=20 am currently developing a "transparent" software bridge that =
connects a=20 local area network to the Internet. eth0 is connected to the "Internet" = and eth1=20 is connected
to the LAN. The program is working just fine and = packets are=20 routed perfectly through the box. However my
problems goes as = follows: eht0=20 has got an IP stack so that the box can surf around on Internet (this is = an=20
necessity), while eth1 is protocol less. I want the clients in the = LAN to=20 reach the IP stack on eth0
via eth1 in order to recieve stats on = whats been=20 downloaded etc. In this situation packets for eth0 would
be recieved = on eth1=20 and the go through my bridge and  then sent out on eth0 as every = other=20 packet. Then when
eth0 has sent the packets it would recieve the = newly sent=20 packets in normal manner. However this does not
seem to work. I have = used=20 pktdump to verify that packets are recieved on eth1 and sent out on = eth0.=20
The problem is that the IP stack will not accept the packets it = sends out=20 itself and just drops them. WHY?
Is there a remedy to my = problem??  I=20 am currently running Linux 2.2.22-compact kernel.
 
All replies will be deeply=20 appreciated.
 
Regards,
Henrik=20 Ramberg
------=_NextPart_000_0036_01C31C7E.305A09D0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/