Re: problem setting up a local network
Just bringing up the eth0 interface should add the routing
information. If not "route add 192.168.1.0/24 dev eth0" should do it.
HTH,
Jeffrey
Quoting Tommaso Moroni <tommaso.m@tiscalinet.it>:
> Hi!
>
> I'd like to install Debian on an old pc (hereafter called A) using an
> ADSL connection I have on another PC (hereafter called B). The problem
> is that after configuring the network on A it doesn't "see" B: the
> interface is correctly configured but a simple ping to B fails.
> I've already checked the addresses (A is 192.168.1.2, B is 192.168.1.1)
> and I think the problem is the route table on B. In fact to manage the
> ADSL connection I use the italian version of the drivers at
> http://eciadsl.flashtux.org/. The command route on computer B gives this
> output:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.100.1 * 255.255.255.255 UH 0 0 0 ppp0
> default 192.168.100.1 0.0.0.0 UG 0 0 0 ppp0
>
> I think it lacks a default route for the eth0 interface, but I cannot
> add it as there's already another one and it's needed for the ADSL to work.
>
>
> Thanks in advance for help!
>
> Tommaso Moroni
>
>
Reply to: