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

local network with twisted rj45



I would need information on how to configure
a local network between two computers
with only a twested rj45.

I have two ethernet cards on each of the two computers
I aim to put together.

One of them is connected to a adsl via gateway.

I want the others to be configured for the two computers
to exchange files through ftp protocol.

I did like this in my /etc/network/interfaces file:
(only the part concerning the interfaces for this
local network. The others are set in dhcp)
#first computer
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.0
netmask 255.255.255.0

auto eth0

#(2) second computer
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0

auto eth0

And then ifup -a.

If I could do a ping it would be a first step.

One the first computer it says:
~$ ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
>From 192.168.10.0 icmp_seq=1 Destination Host Unreachable
>From 192.168.10.0 icmp_seq=2 Destination Host Unreachable

--- 192.168.10.1 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time
7000ms
, pipe 3

And one the second it says:
~$ ping 192.168.10.0
Do you want to ping broadcast? Then -b

And with -b: 100% lost.

And from the first computer:
~$ ping 192.168.10.0
PING 192.168.10.0 (192.168.10.0) 56(84) bytes of data.
64 bytes from 192.168.10.0: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from 192.168.10.0: icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from 192.168.10.0: icmp_seq=3 ttl=64 time=0.026 ms

--- 192.168.10.0 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.026/0.029/0.033/0.005 ms

Is it happy speaking with itself?


The purpose of this post is to be given links, or even keywords
that could lead me. Possibly reliable ones.

Ch.



Reply to: