Re: two ethernet without routing
On Wed, 2002-03-13 at 12:16, firstname.lastname@example.org wrote:
> Well, there some kind of routing even:
> was already done.
> I still can connet to my server through both IP's even the eth1 has no cable
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" <email@example.com>
> > On Wed, Mar 13, 2002 at 11:27:31AM +0100,
> > firstname.lastname@example.org <email@example.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
> > > 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).