Re: routing between different subnets on same if.

Miquel van Smoorenburg (miquels@traveler.cistron-office.nl)
Sat, 27 Jan 2001 19:31:56 +0000 (UTC)


In article <20010127194659.A1326@MourOnLine.dnsalias.org>,
<patrick.mourlhon@wanadoo.fr> wrote:
>On Sat, 27 Jan 2001, Paul Jakma wrote:
>
>> On Sat, 27 Jan 2001 patrick.mourlhon@wanadoo.fr wrote:
>>
>> > Hi Paul,
>> >
>> > I just think you might look for aliasing on your linux box.
>>
>> i have the aliasing, the aliased machine can ping IP's on both
>> subnets. The machine is supposed to be a router though and clients on
>> both subnets are setup to use it as their default router.. but it
>> doesn't route... it notices that both IP's are on the same link and so
>> just sends ICMP redirects. which doesn't help. :(
>>
>> i need linux to completely route between 2 IP's even though they are
>> on the same link.

Did you enable forwarding with echo 1 > /proc/sys/net/ipv4/ip_forward ?

>did you install routed on the linux machine ?

Routed is a daemon which speaks RIP to other routers. That isn't
needed at all in this case.

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/