network 101... help


Forum: Networking
Topic: network 101... help
started by: kh1d

Posted by kh1d on July 16 2004,15:19
just wanna know what entries should be put into these fields when setting up a network:

broadcast address for eth0:
and
Nameserver(s):


forgive me for this dumb question.
but its my first time to try connecting to a network using linux.

been using dsl mainly for playing MP3's and typing texts on my old machine.

thanks in advance.
good day

Posted by ke4nt1 on July 16 2004,16:11
Most networks have DHCP setup to serve "leases" to clients

This means that the network "tells" the computer this information, such as
ip address, broadcast, dns/nameserver  information, etc..

If you do not have this on your network, and need to enter data in manually,
then only you have access to that specific information.
If you do not have it now, a call to your ISP would be next.
They can give you DNS/nameserver info, your IP address, etc.
Your network design, and choice of ip block, is your decision.
Youe broadcast address will be related to your choice of ip block.

Are you connecting to an existing network, or building one yourself?
If your connecting to an existing network, most of these decisions have
already been made by the network admin..  Contact them for more info.

73
ke4nt

Posted by kh1d on July 17 2004,05:06
ke4nt1,

thanks for your immediate reply.
i'll try this later.

we have a small network for file sharing purposes with 1 PC connected to internet. so, i have to enter all fields manually. i know the addresses. was only confused. hehehe

i dont like working on window$ environment anymore, too many crashes.

thats why i tried DSL.
and the DSL dics is also a great rescue dics. used it several times recovering files from a totally crashed window$ machine.

good day!

Posted by drkhero on July 27 2004,15:34
i also have the same problem with Kh1d, were both using linux dsl on old machines mine is 486dx4.
i have an existing network connected via switch. ;)
box 1: i have a win98 with internet connection sharing.
box 2: my other pc is also using win98 and connected to internet thru box 1,simply making the gateway of this pc to ip of box 1,
box 3: 486dx4 using dsL(damn small linux) with eth0 (edimax lancard)

problem: how can i connect my box 3 so that i can connect thru internet using box 1 as my gateway... is it like configuring to box 2? not that easy right? :) or i need to install samba? ;)

a help would be very appreciated! :)

Posted by roadie on July 27 2004,17:02
It's like ke4nt1 said, DHCP is the easiest way if your ISP gives out addresses with it.
How does box 1 get it's address? If by DHCP then open the Control Panel in DSL, ( I'm assuming you're using a newer version of DSL ) and launch the netconfig.
If it's a static IP then you'll have to input the address and gateway.

I'm also assuming box 3's ethernet card is recognised and a module is loaded.
Samba is used for file sharing, it won't work till you have the LAN net running on box 3

Posted by DonttPanic on July 27 2004,22:04
i have a similar problem. i have two computers connected by router, and that router goes to the modem. i can only get the first comp online (winxp) and the linux one wont. i get the address for the first comp from DHCP, but the other comp keeps returnining as operation failed. does this just mean my isp hates me?
Posted by ke4nt1 on July 27 2004,22:28
First, can you ping the other box, and your router ?
If not, check for bad cables, bad nics, etc.
Sometimes I see where a cable end has not remained
well seated in the nic port..  
Do you have any status lights on the nics, and are they lit ?
If you can ping the router, then you must be receiving a lease
from your DHCP server.

What does netcardconfig do for you on the linux box ?.
Is that the function that is giving you the "operation failed"
message ?
Try ifconfig, see if you have any other devices besides "lo"

Perhaps your network card is not supported..  (usb?)

Are you truly using a router, and not a hub or switch?
Many modems will act as a dhcp server, but will only issue
one ip address...

73
ke4nt

Posted by DonttPanic on July 27 2004,23:09
yes, i can get the comps to ping eachother, and all the status lights say it's connected.

i messed up with my terms: it's not a router, but a hub that i'm using

i have lo and eth0 (the network card) when i put in ifconfig. the nic is not usb and seems to be supported and recognised

Posted by ke4nt1 on July 27 2004,23:47
So, back to the modem issue...
Most modems will only issue you 1 ip address.
You need a router/gateway to nat for you, and provide
dhcp services on the inside of your network..
Use either a floppy-based router solution, with some
old "atticware" you have, or purchase a dsl/cable/router.
They are very affordable nowdays..

This will give out the ip leases your computers require to
be on a stand-alone network, and each have access to the
internet thru the back side of the router..

Computer #1 <--- \               65.68.xxx.xxx
192.168.1.100       | [router] <-- [cable/dsl] <-- internet
                          |   DHCP          MODEM
Computer #2 <--- /    NAT
192.168.1.101        

There is also the possibility of using your working box as a
sharing device, but with DSL, you may need to setup shares
, as well as config your DSL netcard setup manually.

73
ke4nt

Posted by duhmb on Aug. 19 2004,19:41
hi guys...

im totally new to linux.
just tried DSL, and its fantastic.

got similar problem with the other guys on top.
since we are using a win98(BOX1) for internet sharing on a small 8 PC LAN.

just wanna ask for clarification, cause i've tried following the instructions mentioned above, and no go.

Is there any Network Component Type ( Client ) and other networking protocols that need to be activated on BOX1 to enable another PC (running DSL on CD) to be connected to the LAN or perhaps access the net?

we have the IP addresses and DNS right, i think.

thanks in advance.

Posted by ke4nt1 on Aug. 19 2004,22:26
If your using a 98 box as your internet sharing focal point,
you're probably not using dhcp to distribute ip addresses, but
assigning them manually to all the computers.

You 'll also need to setup correctly the netmasks,
and especially the gateway addresses for the other boxes.
Normally, DHCP does this for you..

Usually, the gateway ip-address should be the one you assigned
to the network card on the LAN side of your 98 box..

The netmask is determined by the type of network and the
ip-group you selected to use with your lan..

Search the forums for an "add route" command for your DSL box.

73
ke4nt

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