Re: [LARTC] Software bridge problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 17 May 2003 14:11, Henrik Ramberg wrote:
> Dear list.
>
> I have a problem I hope someone can help me with. I am currently developing
> a "transparent" software bridge that connects a local area network to the
> Internet. eth0 is connected to the "Internet" and eth1 is connected to the
> LAN. The program is working just fine and packets are routed perfectly
> through the box. However my problems goes as follows: eht0 has got an IP
> stack so that the box can surf around on Internet (this is an necessity),
> while eth1 is protocol less. I want the clients in the LAN to reach the IP
> stack on eth0 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 seem to work. I have used pktdump to
> verify that packets are recieved on eth1 and sent out on eth0. The problem
> is that the IP stack will not accept the packets it sends out itself and
> just drops them. WHY? Is there a remedy to my problem??  I am currently
> running Linux 2.2.22-compact kernel.
>
> All replies will be deeply appreciated.
I'm not such a bridge specialist, but I suppose that adding a stack means 
adding an ip-address.  If you do so, why don't you add an other (or even the 
same) ip-address to the NIC connected to the LAN ?

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux