connect 2 dsl machines


Forum: Networking
Topic: connect 2 dsl machines
started by: morchel

Posted by morchel on Feb. 07 2004,16:15
I tried to connect two machines with dsl (booted from dsl-cd), but unfortunately without success.

i configured the network with netcardconfig on both machines

Machine 1:
IP 192.168.0.1
Netmask: 255.255.255.0
Bcast: 192.168.0.255

Machine 2:
IP 192.168.0.2
Netmask: 255.255.255.0
Bcast: 192.168.0.255

I tried it with and without specifying a default gateway,
but I'm not even able to ping it.

I do not know a lot about network-stuff, so maybe I didn't do something
obvious, or did it the wrong way, just give me a hint please.

Regards
Morchel

Posted by pipo on Feb. 07 2004,23:11
How do you connect, link the machines themselves :
with a hub, a router ?

Posted by morchel on Feb. 09 2004,15:23
I connected them just with a crossed-over ethernet cable. That
works, because I'm able to establish an connection under windows
(on both machines runs windows currently).

Posted by pipo on Feb. 09 2004,21:13
what answer do you get when you type
from machine 2
ping 192.168.0.1

or from machine 1
ping 192.168.0.2

Posted by morchel on Feb. 28 2004,11:45
no answer

# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes

after interupting it with ctrl-c

--- 192.168.0.2 ping statistics ---
245 packets transmitted, 0 packets received, 100% packet loss

same result on machine 1

I tried it with dsl 5.0 and dsl 6.1 (although I don't think that matters).

Do I have to do something else than configuring the cards with netcardconfig?

With dsl running on one machine and XP running on the other everything I need works fine (smbtree, smbclient, http-server etc).

Any ideas?

Posted by morchel on Feb. 28 2004,13:43
Ok, I kind of solved the problem.

I have two cards on one machine. Switching the cable from one to the other card was all I had to do. Sorry for bothering you.

What I still don't understand is that I configured both cards on that machine (192.168.0.2, 192.168.0.3). Why didn't ping work? Now (after switching the cable) I can ping both adapters from machine 1. Strange things happen.

Posted by Rapidweather on Feb. 28 2004,20:48
I don't have any networking experience, so could you tell us what you are able to do with the two networked machines. Are you able to share an internet connection? I have firewalls on Redhat 9 machines, and would like to network to a Damn Small Linux machine, and surf the web with MozillaFirebird, and have the protection of the Redhat box's firewall. Is this possible?
---

???

Posted by libretto on Mar. 01 2004,09:46
Rapidweather

In the house here weve got a firewall running Smoothwall 2.0 which serves internet to the whole house, including my DSL machine.

Posted by morchel on Mar. 01 2004,13:15
I don't have any networking experience either, so I will need some time to find out how things work.
Right now I just managed to connect the machines and use ssh and ftp (by starting the daemons on one machine).

My next step will be mounting shares via nfs.

Then I would like to use dsl to serve internet to the other machine(s), but I don't know if it's possible. I,ve heard something about that the kernel has to be ip-forwarding enabled. but as I said before I will have to do some research before.

And than I will install a firewall. And again I will need to read a lot before.

As soon as I find out how to do all that I will tell you.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.