Re: two ethernet without routing
Well, there some kind of routing even:
/etc/network/options:
ip_forward=no
was already done.
cat /proc/sys/net/ipv4/ip_forward
returns
0
My inerfaces file:
iface eth0 inet static
address 192.168.1.27
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.2
iface eth1 inet static
address 192.168.1.28
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
I still can connet to my server through both IP's even the eth1 has no cable
connected.
Thanks
Josep
----- Original Message -----
From: "Stephane Bortzmeyer" <bortzmeyer@netaktiv.com>
To: <jsalord@publicom1010.com>
Cc: <debian-isp@lists.debian.org>
Sent: Wednesday, March 13, 2002 11:45 AM
Subject: Re: two ethernet without routing
> 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).
>
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>
Reply to: