Skip to contentSkip to conversation

how to route the packet in my case

DISCUSSION kesineni sai pratap 1 participant 1 message Aug 7, 2004 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Guys ,

I have some problem , to route the packet

i made network like this

10.2.1.2 and 10.2.1.3 are in same network. 10.2.1.2 gateway is 10.2.1.3. 10.1.1.30 gateway is 10.1.1.254.

10.1.1.30 have three interfaces , first interface goes to 10.1.1.254, second interface goes to 10.2.1.3 , third interface goes to 10.2.1.2. 10.2.1.2 and 10.2.1.3 are bridged. if bridge is enabled packet s from 10.2.1.2 go through bridge to reach 10.2.1.3.

But my requirement is i want send 10.2.1.2 packets to routing module to send the packets to 10.2.1.3.

iam finding way 10.2.1.2 packets to reach 10.2.1.3, iam getting problem in ip_route_input_slow() because

another step is if(err = fib_lookup(&key,&res))!=0)

                        {
                            if(!IN_DEV_FORWARD(in_dev))
                                  goto e_inval;
                            goto no_route;
                         }

this steps , my system hang out.

How can i over come this problem

anybody help me

bye
sai pratap kesineni