Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-12 Thread Randy Kramer

Hanan Shargi wrote:
 SO Finally If I may rephrase the question here:  How do I connect my small LAN
 ( of 2 pc's ) to the bigger LAN ( the buildin's ) to make the smaller LAN see
 the internet ?!

Well, I'm glad to have helped a little bit.  Not sure I can help more,
but I think you got good suggestions from other people.  I think you
have three choices:

   * Get another IP on the LAN and use a hub (or switch) to connect both
machines to the gateway.  Now that I've slept on it I'm quite certain
a hub or switch will work -- a switch will work faster which is probably
a mute point at this time (I don't think you'll need the speed in your
two PC sub LAN), but if I could get a switch for only a nominal amount
more than a hub I probably would, just for future expansion
considerations.  (A switch has one advantage / disadvantage in that it
is harder to sniff all network traffic -- but you shouldn't normally
need to sniff the traffic, and you certainly don't want anyone else to. 
Of course they can sniff upstream of your switch, this issue is not
really a factor in the switch / hub decision.)
   * Let your Linux box serve as a (second) gateway for the Windows box
-- I think this is essentially what Gerald Waugh (and somebody else)
suggested.  (This is almost the traditional share an internet
connection approach, except you're sharing the LAN connection which
*has* an internet connection.)
   * Finally, as Gerald also suggested, get an external box that is a
router and hub -- I am not familiar with this approach or the hardware.

Good luck, write back to the list with more questions, looks like there
are lots of people willing to help.

Randy Kramer



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-12 Thread FemmeFatale

As an aside to all of Hanan's questions  I don't know if I should be
the one saying so but...

Hanan emailed me offlist, and it turns out he is a she as well.  I
didn't know either  apologized for the mixup :)

Femme

Randy Kramer wrote:
 
 Hanan Shargi wrote:
  SO Finally If I may rephrase the question here:  How do I connect my small LAN
  ( of 2 pc's ) to the bigger LAN ( the buildin's ) to make the smaller LAN see
  the internet ?!
 
 Well, I'm glad to have helped a little bit.  Not sure I can help more,
 but I think you got good suggestions from other people.  I think you
 have three choices:




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-12 Thread Dan LaBine

Don't feel bad, I know guys whose names are Laurie and Beverly, but these
guys are so tough now that you don't want to smirk in front of them !

Lanman

Kinda reminds me of the boy named Sue !
- Original Message -
From: FemmeFatale [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 6:55 PM
Subject: Re: [newbie] Do I need 2 NIC for connection sharing ?


 As an aside to all of Hanan's questions  I don't know if I should be
 the one saying so but...

 Hanan emailed me offlist, and it turns out he is a she as well.  I
 didn't know either  apologized for the mixup :)

 Femme

 Randy Kramer wrote:
 
  Hanan Shargi wrote:
   SO Finally If I may rephrase the question here:  How do I connect my
small LAN
   ( of 2 pc's ) to the bigger LAN ( the buildin's ) to make the smaller
LAN see
   the internet ?!
 
  Well, I'm glad to have helped a little bit.  Not sure I can help more,
  but I think you got good suggestions from other people.  I think you
  have three choices:
 








 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-11 Thread Randy Kramer

Hanan Shargi wrote:
 If I'm to set the NIC IP in the first machine to have 192.168.0.1 address ,
 then where does the IP that I'm given by the ISP gonna go ?!?
 and I dont have a DSL modem, the building is prewired for DSL, there is a
 cable that comes out of the phone jack on the wall, and this cable's other end
 goes into my NIC card.
 
 My ISP will win the prize for the worst tech support ever and they dont
 support WIN$ not to mention linux !!
 but here are the settings they gave me to set the DSL connection:
 my host name : hanan
 domain name:  company.com
 gateway : 10.0.0.x
 2 DNS IP's :
 and my static IP:  10.0.0.xx
 and thats about it
 
 SO where do I go from here ??

Hanan,

I know you've received several replies to this, some contradictory, and
you've now ordered another NIC.  That's fine, AFAIK, but this is a
confusing setup and possibly easier to handle than some have suggested
(and possibly not) -- it depends on exactly what your ISP has setup.  If
your system is set up as I suspect, the second NIC will not help you and
you eventually will need a hub (or switch -- more discussion below).

If you want to experiment until you get the second NIC, consider setting
up one computer at a time, and see if you can make them each work
separately.

Since the ISP is giving you a gateway address, I'm assuming he has
something set up as a gateway.  This is reinforced because the IP he has
given you for the static IP is a private  address (not on the public
Internet).  Thus the setup he is using is something like what I am using
at home.  I happen to own the gateway computer (at 192.168.0.10) and can
set up up to 254 computers on my private LAN using addresses like
192.168.0.x -- they will all have access to the Internet (via the
gateway) but they cannot act as servers to the Internet.  (I think there
are ways to do that, but I've never bothered).  (The difference between
your ISP's setup and mine is that I've chosen to use the private address
range at 192.168.x.x, your ISP has chosen to use the (larger) range at
10.x.x.x.)

If you can get each computer to work separately, then, IMHO, your best
bet is to ask the ISP to assign you a second static address (in the
10.0.0.xx range) for the second computer.

Then the last problem is to get both computers connected to the cable
coming out of the wall.  (At home I use coax, which means I can do this
without a hub or switch.  Yes, I'll use those terms in the same
sentence, because in some cases they serve the same (or similar)
purpose, and right now, my brain is not functioning well enough to
decide whether this is one of those cases of not.)  

To be safe (because I haven't thought through whether a switch will do
the job), I'd recommend a hub -- connect the RJ-45 from the wall and
RJ-45s from each computer to peer ports on the hub (not uplink), in
each case using a straight through cable, not a crossover (because the
hub serves as a crossover).  There is a chance that the RJ-45 supplied
by the ISP is already a crossover, in which case you need to replace it
with a non-crossover cable.  (And, if I was thinking better, it's
possible that you can use the crossover cable by connecting it to the
uplink port.)

I guess the reason I bring this all up is because I'm afraid that a
second NIC will not solve your problem -- with the setup you've
described so far, you are not quite in the traditional share an
Internet connection scenario.  You are behind a gateway, and the
gateway is inherently sharing the Internet.

It's also possible that you have two ISPs to deal with, so to speak. 
Surely, there is an ISP somewhere that is making the connection
available to the Internet.  It's possible that your landlord, separate
from the ISP, has set up the gateway in your building, and, even if he's
done it with permission of the ISP, not everyone at the ISP may
understand the setup you are working under.  Thus, for example, I don't
know if your ISP needs to give you another static IP or you need to get
it from your landlord.  (You could even try a number at random, but
there is a chance that you will pick a number used by someone else in
your building and just create more problems (potentially in the future,
if that person is not currently using their connection).

Sorry if this seems a little disjointed, I'm rushing a little bit this
morning, and am definitely not a networking expert.  I do know how my
home system works, and the (possible) analogy to your system seems
obvious to me.

If you have questions post again.  Maybe someone else can understand
what I'm trying to say and say it more clearly.

Randy Kramer



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-11 Thread Michael

Hanan Shargi wrote:
 
 Randy Wrote :
 
  with the setup you described so far, you are not quite in the traditional
 share an internet connection scenario. You are behind a gateway, and the
 gateway is inherently sharing the internet.
 
 BINGO !!
 
 This is EXACTLY what's been mkaing me go in circles here, since I knew from
 the 10.0.0.x IP they gave me and from the fact that I just plug the rj45 to
 the wall which makes it obviously like an office environment == we in the
 building are on a LAN and the gateway ( which they say is running Linux by the
 way ) is giving us a way out to the internet !!
 
 Thats why whenever I read  the howtos and tutorils on the net I feel that for
 somereason I cant apply it in my case ##
 
 SO Finally If I may rephrase the question here:  How do I connect my small LAN
 ( of 2 pc's ) to the bigger LAN ( the buildin's ) to make the smaller LAN see
 the internet ?!
 
 BOY it took me more than 15 msgs just to ask the correct  question  ... talk
 about newbies !!
 
 -
 Hanan AL-Shargi
 

If it was me - yes i'd use two NICs.

One to the building LAN / internet
One to the other computer/s

That way you can test each seperately. - ie you can get your linux box talking
to the lan as client and to the other box as server/gateway. Set each systen up
individually so they work then see if you can get the server passing through the
net to the other box/s. By the way it is recommended to use different NICs so
that it doesn't confuse linux. And a second NIC is cheaper than a hub or is it?

Michael

-- 
NT (as in Windows NT) is short for Nasty Technology.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Hanan Shargi

Hi,
I need some advise ( actually I'd rather specifuc steps :)) to get from 
Initial state below to Goal state ( also below ):

Initial State:
I have a 2 machines:
First machine: a dual booting notebook ( LM 8.1 + Win98 SE) connected to DSL + 
printer.
Second machine: a dual booting Desktop ( LM 7.2 + W2K )
both have NIC installed.


Goal State: 
I need the first machine always running linux, the second one always running 
W2K, I want to connect them through a LAN ( bought a hub and some cables ) so 
that the second machine can connect to internet through the first one, and I 
need both machines to see each other's hard drives, and share the printer.


DO I need 2 NIC's installed on the first machine to be able to do this ?( one 
to hold the LAN IP , one to hold the DSL IP )

All contributions welcomed :)

-
Hanan AL-Shargi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Dennis Myers

On Sunday 10 March 2002 13:49, you wrote:
 Hi,
 I need some advise ( actually I'd rather specifuc steps :)) to get from
 Initial state below to Goal state ( also below ):

 Initial State:
 I have a 2 machines:
 First machine: a dual booting notebook ( LM 8.1 + Win98 SE) connected to
 DSL + printer.
 Second machine: a dual booting Desktop ( LM 7.2 + W2K )
 both have NIC installed.


 Goal State:
 I need the first machine always running linux, the second one always
 running W2K, I want to connect them through a LAN ( bought a hub and some
 cables ) so that the second machine can connect to internet through the
 first one, and I need both machines to see each other's hard drives, and
 share the printer.


 DO I need 2 NIC's installed on the first machine to be able to do this ?(
 one to hold the LAN IP , one to hold the DSL IP )

 All contributions welcomed :)

 -
 Hanan AL-Shargi
Hanan, no you only need one nic per machine the dsl modem will take care of 
the internet connection. To share files between the two, SAMBA will be 
required.
The first machine will be your gateway and probably the SAMBA server dns 
server etc. give them both addresses and names like
Hanan1  192.168.0.1  
Hanan2  192.168.0.2
Samba will set up pretty well with the wizard as will Internet sharing and 
Network.  I have 4 connected to internet and sharing using a hub and it does 
work pretty good. I'm sure you will have more questions, well maybe, so  come 
on back to the list or check the archives,  HTH
-- 
Dennis M. registered linux user # 180842



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Hanan Shargi

Dennis, you gussed it I have many questions, here is the starter:

If I'm to set the NIC IP in the first machine to have 192.168.0.1 address , 
then where does the IP that I'm given by the ISP gonna go ?!?
and I dont have a DSL modem, the building is prewired for DSL, there is a 
cable that comes out of the phone jack on the wall, and this cable's other end 
goes into my NIC card.

My ISP will win the prize for the worst tech support ever and they dont 
support WIN$ not to mention linux !!
but here are the settings they gave me to set the DSL connection:
my host name : hanan
domain name:  company.com
gateway : 10.0.0.x
2 DNS IP's :
and my static IP:  10.0.0.xx 
and thats about it

SO where do I go from here ??

-
Hanan AL-Shargi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Dennis Myers

On Sun, 10 Mar 2002 17:01:46 -0500
Hanan Shargi [EMAIL PROTECTED] wrote:

 Dennis, you gussed it I have many questions, here is the starter:
 
 If I'm to set the NIC IP in the first machine to have 192.168.0.1 address , 
 then where does the IP that I'm given by the ISP gonna go ?!?
 and I dont have a DSL modem, the building is prewired for DSL, there is a 
 cable that comes out of the phone jack on the wall, and this cable's other end 
 goes into my NIC card.
 
 My ISP will win the prize for the worst tech support ever and they dont 
 support WIN$ not to mention linux !!
 but here are the settings they gave me to set the DSL connection:
 my host name : hanan
 domain name:  company.com
 gateway : 10.0.0.x
 2 DNS IP's :
 and my static IP:  10.0.0.xx 
 and thats about it
 
 SO where do I go from here ??
 
 -
 Hanan AL-Shargi
 
 
Hanan, I am not all that familiar with DSL but, there should be a jack on the hub 
marked link. That is the one that you would plug into the wall jack. I Don't know if 
you need a cat 5 cable for that, but I believe you do, not just a phone chord. List 
help! Anyway, you canplug both computers into the hub. If you want the laptop as your 
interior LAN gateway then  assign it  10.0.0.2  or whatever xx can represent on the 
windows box you will have to go to startdisplaynetwork and configure that at 
properties for the nic card in that computer. also assign it the address of 10.0.0.3 
and the gateway as 10.0.0.2 for the first computer. Then the first computer will have 
the gateway as the 10.0.0.x that the service gave you. So you will have two computers 
hooked to the internet through the main one to an external server. 

In the DNS settings you will show the Hostname as company.com with the 2 DNS IP 
addresses as the connection. Did they give you a password and the type of 
authentication? If not may have to wing that and try different things.  This is a 
start anyway, anyone with better instructions please jump in here. HTH




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Hanan Shargi

when trying Mandrake control center connection sharing ( the first screen ) 
there is a note saying:
Note: you need a dedicated Network adapter to set up a local area network 
(LAN)

I guess I do need 2 NIC's !!

-
Hanan AL-Shargi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Green Skin


Actually it is Category 5 (or 5E) Unshielded Twisted Pair cable.  Cat 5
transfers at 10/100 mbs and Cat 5E transfers data at 1000 mbs.

There are four sets of twisted pairs that are primarily there to help
prevent radio frequency Interference.

The ends of the four pairs get separated to make eight strands that get
firmly inserted into the plastic RJ 45 8 pin connector. The RJ 45 connector
is similar to the four pin RJ 11 telephone connector/plug.

Thanks and have a great day

: FWIW, that cable coming from his wall socket is an RJ45 cable (Ethernet
: cat5).  Its how they're wired.  I've seen some installations happening
: in office buildings * got 80 ft of cat5 free too*.
:




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Green Skin




That is exactly how it should be done.

BTW someone mentioned switches and hubs in the same sentence.  They are two
different things and should not be confused as being interchangable.

A hub is just a device that allows connectivity between two or more PCs.
This is a high collision device which means that packets collide during
transmission across the LAN, etc.  This reduces Data Transmission (without
being to technical).

A switch is an inteligent device that does not allow collisions and routes
the signal

Hope this helps and have a great day

: I should leave the
: cat5 cable coming from the wall where it is right now ( and then install
: another NIC and hook the cat5 cable going out of it to one of the ports in
the
: hub. The cat5 cable coming out of the other PC's NIC should also go to
another
: port on the hub is that it ?
:
: -
: Hanan AL-Shargi
:
:
:






: Want to buy your Pack or Services from MandrakeSoft?
: Go to http://www.mandrakestore.com
:




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread Hanan Shargi

Okay Folks,

Thanks for the overwhelming replies :)
I ordered an NIC, and I'll tell you how it goes after I get it, so be 
prepaired for some more Q's :)

Good night

... or Morning wherever you are :)

Isn't it great to be a Linuxian ():-)

-
Hanan AL-Shargi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread FemmeFatale

That was me.  Thx for clearing that up *puts on a dunce cap*.  I should
know better.

Femme

Green Skin wrote:
 
 That is exactly how it should be done.
 
 BTW someone mentioned switches and hubs in the same sentence.  They are two
 different things and should not be confused as being interchangable.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Do I need 2 NIC for connection sharing ?

2002-03-10 Thread FemmeFatale

Only on the days when every thing goes according to the plan.

:)  Femme

Hanan Shargi wrote:

 Isn't it great to be a Linuxian ():-)



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com