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

ICMP redirect



Hello,

I would like to ask about the icmp messasages sending in linux 2.4.x. I have 
two subnets: 192.168.0.0/24 and 192.168.1.0/24 on the same ethernet segment. 
There is a gateway in each subnet (192.168.0.1 and 192.168.1.1). Clients use 
netmask 255.255.255.0. Routers have their own default routes (through DSL) and 
additional route to neighboring subnet:

For example, router on 192.168.0.1:

ip route add 192.168.1.1 dev eth0
ip route add 192.168.1.0/24 via 192.168.1.1

The problem is that client get redirect only for 1 hop: for instance 
192.168.0.x client accesses 192.168.1.x, receives redirect from 192.168.0.1 
that advises to send through 192.168.1.1. How can I configure routers so the 
clients could send traffic directly to each other? Is it necessary to add 
additional address'es to gateway so they would have their own addresses for 
each subnet?

Bye,
Tadas

P.S. Excuse me for my level of english

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



Reply to: