Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Networking Problems =(, Boo hoo someone help mah< Next Oldest | Next Newest >
Drakkath Offline





Group: Members
Posts: 2
Joined: May 2005
Posted: May 23 2005,02:57 QUOTE

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
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 23 2005,03:35 QUOTE

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
Back to top
Profile PM 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: May 23 2005,11:25 QUOTE

Is the network cable between the two boxes a crossover cable? - I don't think an ordinary cable will work.
Back to top
Profile PM 
sega01 Offline





Group: Members
Posts: 38
Joined: Mar. 2005
Posted: May 27 2005,15:42 QUOTE

no, crossover cables are only for a single connection between 2 computers or connecting a switch to a switch in some cases

--------------
http://www.freewebs.com/doslinux/ - dos linux
Back to top
Profile PM WEB MSN 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 27 2005,18:24 QUOTE

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
Back to top
Profile PM 
4 replies since May 23 2005,02:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Networking Problems =(

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code