LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Small home Network (https://www.linuxquestions.org/questions/linux-networking-3/small-home-network-568734/)

banajah 07-12-2007 08:50 AM

Small home Network
 
Hello....
Hope that you are having a nice day and sorry for any inconvenience.
just I'm still new in Linux and I want to do some training in Linux networking, so what I want to do is to connect 3 laptops with each other to make a small home network, running RHEL v.5 in the first laptop, SUSE in the second one, Fedora in the 3ed one, I have Lenovo laptops and already installed Linux on them and all of them working well now so what next ??!! is that any device required to connect this 3 laptops with each other if yes can you please let me know the name of the device (linux support please) so I can buy it.

Thanks,
:study:

tjyorkshire 07-12-2007 08:58 AM

Quote:

Hope that you are having a nice day and sorry for any inconvenience.
lol - that's what we are here for! , you are not causing inconvenience

To link the 3 computers up together i suggest you get a router (probably the easiest way i can think off). Seeing as routers are not normally operating system dependent any router should work. (hopefully)

Are these computers going to be connected using cables or wireless (im also assuming here you have all the required network cards? If not you can check here for compatible hardware - http://www.linuxquestions.org/hcl/)

Also, are you going to be sharing an internet connection between them?

acid_kewpie 07-12-2007 09:05 AM

well i'd be looking at a switch not a router, unless you're generically referring to an adsl modem with router and built in switch. i'd leave routing for another day really, and if you do want to look at routing, put a linux machine in there as the router itself.

banajah 07-12-2007 09:08 AM

Hello tjyorkshire,

Thanks for your prompt reply,

yes I want this laptops to be connected using cables, also want to be able to share an internet connection between them, so can you please let me know what I need? please name the device so I can buy it also any other required devices, I already have a network card on each laptops.

Thanks a lot...
:study:

tjyorkshire 07-12-2007 09:23 AM

yeah sorry, acid_kewpie is right, you'll probably want a switch . . . i was thinking of an adsl modem router.

what sort of internet connection do you want to share? ADSL/Cable or a dial-up connection? What hardware do you currently use to connect to the internet? (that is of course assuming you have a internet connection, currently, where you want to set up your network)

banajah 07-12-2007 09:25 AM

Hello acid_kewpie,

So do you mean that I need a switch beside the router to do this network? I have " 3Com ADSL Wireless 11g Firewall Router ", but I'm using it to connect this laptops to the Internet, and I don't think it will work to connect this laptops with each other. what do you think ?
thanks for your help...

:study:

tjyorkshire 07-12-2007 09:29 AM

so you already have a modem router? well you probably don't need to buy any more hardware . . . thats if the modem router has enough ports to connect with all the laptops?

banajah 07-12-2007 09:39 AM

Hello tjyorkshire,

Yes I have a "3Com ADSL Wireless 11g Firewall Router with 4 ports" but as I said I'm using it to connect this laptops to the internet as a gateway to Internet and not a network. and what I want to do is to make a home LAN. so is that require a switch and a router or the switch will be enough, I sorry since I'm still new in Linux and I love it :scratch:

acid_kewpie 07-12-2007 09:42 AM

yeah that has 4 lan ports, which means it has a built in switch. no need for any other hardware at all.

tjyorkshire 07-12-2007 09:49 AM

so, I'm guessing you have had them all working on the internet through the router then?
I'm assuming you are using a dynamic IP address for the laptops?
Well, if so, once they are all hooked up - you should try to ping one laptop from another

For example
Code:

ping -c5 192.168.0.2
(change the ip address depending on the address of the computer you are trying to ping)
This is just to make sure they can communicate with eachother first, before we start to set up file sharing or other network services.
Just ask if you need a little more help on that

banajah 07-12-2007 09:59 AM

Hello...
thanks for the help...
yes I can ping each laptops but the problem that I want to use a static IP addresses since my 3Com Router using DHCP. and I could not ssh from laptop to another laptop,

:cry:

indienick 07-12-2007 10:54 AM

If you can't ssh from from laptop to another, there's only a few possible causes:

1. You mistyped the command (or you referred to a remote host by it's hostname, and the hostname is not defined in /etc/hosts).

2. The built-in firewall on the router is blocking the ssh traffic.

3. You may not have openssh-server (or sshd) installed.

4. A local firewall on each Linux install on each laptop may be preventing ssh traffic.


All times are GMT -5. The time now is 08:25 AM.