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

Re: two ethernet without routing



On Wed, 2002-03-13 at 12:16, jsalord@publicom1010.com wrote:
> Well, there some kind of routing even:
> 
> /etc/network/options:
> ip_forward=no
> 
> was already done.

> I still can connet to my server through both IP's even the eth1 has no cable
> connected.

This behaviour is not routing. The server is not 'moving' a packet from
one subnet to the other subnet. It is only just listening for every ip
it knows on every interface.

Use a firewall on the server to block unwanted connections (or better,
use a firewall to only allow wanted connections)

> From: "Stephane Bortzmeyer" <bortzmeyer@netaktiv.com>

> > On Wed, Mar 13, 2002 at 11:27:31AM +0100,
> >  jsalord@publicom1010.com <jsalord@publicom1010.com> wrote
> >  a message of 18 lines which said:
> >
> > > How can I deactivate the routing option betwen cards?
> >
> > /etc/network/options:
> >
> > ip_forward=no
> >
> > Check with 'cat /proc/sys/net/ipv4/ip_forward'.
> >
> > > There have to be some kind of routing now because I can connect to my
> apache
> > > typing the two IPs even I've just one cable connected to eth0.
> >
> > Wrong analysis. As soon as the machine receives a packert with one of
> > its IP addresses as the destination, it will handle it (even if it
> > does not come from the "right" network card).

-- 
Tot ziens,

Bart-Jan



Reply to: