LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2003, 10:00 AM   #1
Megamieuwsel
Member
 
Registered: Sep 2002
Location: Haarlem , the Netherlands
Distribution: VectorLinux SOHO 5.1
Posts: 470

Rep: Reputation: 35
Question Nooby network-question


Ok , here's the scenario :
4 PCs (1 Linux-only , 1 WndowsME(don't ask....), 1 Dual-boot Linux/Win98SE and one p100 Craptop , yet to be assigned an OS.I'm thinking of FreeDOS)
1 Network-hub ; uplink+4 ports. Uplink connected to ADSL-modem that also acts as a hardware-router and firewall.

So far , I have the first three pcs online without any problem , but here it comes:

Can I use the very same "infrastructure" to put up a lan as well?
I mean ; Without having to add more NICs? Ie- The NIC in the PC that acts as the Network-server can "switch" between the Internet and the LAN?

You see ; my current problem is : I have no slots left in that machine and can't afford a new mainboard right now.

Btw.- I'm totally unexperienced in networking , but I'd like to have this sorted out before fiddling with IP-tables and the like.

Last edited by Megamieuwsel; 10-06-2003 at 10:15 AM.
 
Old 10-06-2003, 11:18 AM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
If all of the PCs are connected to the same Hub behind a router, then my friend, you are ALREADY on a LAN. The hub will allow communications between all of the systems attached to it, provided that they all have IPs that are on the same subnet (which if your router does DHCP, they most likely do).

slight
 
Old 10-06-2003, 02:07 PM   #3
Megamieuwsel
Member
 
Registered: Sep 2002
Location: Haarlem , the Netherlands
Distribution: VectorLinux SOHO 5.1
Posts: 470

Original Poster
Rep: Reputation: 35
Uhmmmm.... No DHCP here ; It's all static IP-adresses.

OK , Off to read the numerous Samba-manuals!
Time to make them bugger talk to eachother.

Thanks a lot!

Last edited by Megamieuwsel; 10-06-2003 at 02:08 PM.
 
Old 10-06-2003, 02:54 PM   #4
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Ehhh... Static IP's huh?

You can set up multiple alias's for the NIC in the Linux box, and you can switch between them (example you can have one alias with an external IP for internet access, and one with an internal IP for LAN). You can also set up SAMBA to work with your existing IPs, but this would limit your bandwidth as your packets would have to go through your ISP. (Might be able to get around this with routing rules, doing what is called a virtual LAN or vlan).

Do you have a PC with multiple NICs in it? We can always use one of the PCs to do NAT (IPmasquerade).

slight
 
Old 10-06-2003, 10:35 PM   #5
Megamieuwsel
Member
 
Registered: Sep 2002
Location: Haarlem , the Netherlands
Distribution: VectorLinux SOHO 5.1
Posts: 470

Original Poster
Rep: Reputation: 35
I think the first option (multiple aliases for the NIC) is what I'm looking for.
Can this be done in Samba , or do I have to use some other prog for that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NoobY question Alien18 Linux - Networking 1 08-11-2004 11:00 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-04-2004 11:05 PM
howdy! --from a nooby spargonaut LinuxQuestions.org Member Intro 1 06-30-2004 02:46 AM
network question Oggy2003 Linux - Networking 3 08-29-2003 02:04 PM
Network Question Russy Linux - Networking 7 07-10-2003 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration