Networking Problems =(


Forum: Networking
Topic: Networking Problems =(
started by: Drakkath

Posted by Drakkath on May 23 2005,02:57
Okay, this is a long post so prepare:
My main computer is a Mandriva 10.1 box.  On a secondary computer I use DSL and I want to eventually transform this box into a webserver.  Here's a diagram of my network:
(CABLE MODEM)
|
eth0
(MDK BOX)
eth1
|
eth0
(DSL BOX)

I have the cable modem in eth0 of mdk box, and have a cable from eth1 of mdk box to eth0 of DSL box.

I have set up connection sharing in Mandrake.  So DHCP should work correctly, however it doesn't at all.  When I enter static information in netcardconfig it doesn't work either.

Mdk Box is set up as:
eth1 is set up as 192.168.0.1  (it is gateway) and eth1 is set up as 192.168.0.2.
DSL box is set up to:
192.168.0.2 - gateway 192.168.0.1 - netmask 255.255.255.0 - broadcast 192.168.0.255 - nameserver 192.168.0.1

That's my dilemma, but also, one last question.
Would it be better if I just bought a hub or even a splitter instead of using eth0 as a gateway and just FTP'd the files that I wanted to transfer?  the DSL box is mainly supposed to be webserver, so would that be more beneficial?

Thanks and sorry for the long post.

BTW, I love DSL.  It has transformed a AMD k6 w/ 233mhz and 24MB of ram into a nice workstation.

~Drakkath

Posted by ke4nt1 on May 23 2005,03:35
Maybe this would work..

(CABLE MODEM)
|
eth0 <--   192.168.0.1
(MDK BOX)
eth1 <--   192.168.0.2
|
eth2  <--  notice the # change..  192.168.0.3 ??
(DSL BOX)

This statement is a little confusing....
Quote
Mdk Box is set up as:
eth1 is set up as 192.168.0.1  (it is gateway) and eth1 is set up as 192.168.0.2.


I'm guessing your meaning eth0 as 192.168.0.1 and eth1 as 192.168.0.2

Quote
DSL box is set up to:
192.168.0.2 - gateway 192.168.0.1 - netmask 255.255.255.0 - broadcast 192.168.0.255 - nameserver 192.168.0.1


Try 192.168.0.3 for IP, 192.168.0.2 for gateway.
And are you really running a DNS nameserver on mandriva? (192.168.0.1)
If not, copy one from your Mandriva config
( probably one that is ISP assigned )

73
ke4nt

Posted by skaos on May 23 2005,11:25
Is the network cable between the two boxes a crossover cable? - I don't think an ordinary cable will work.
Posted by sega01 on May 27 2005,15:42
no, crossover cables are only for a single connection between 2 computers or connecting a switch to a switch in some cases
Posted by ke4nt1 on May 27 2005,18:24
No, skaos is correct..

If your connecting 2 nic cards together, without the use
of a hub or switch, you will NEED to use a crossover cable to
allow these two to communicate to eachother..

I usually have a throwdown hub lying around for this purpose..

73
ke4nt

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