Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > IBM PC Networking

How to setup a LAN with a switch

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2006, 03:20 AM
Default How to setup a LAN with a switch



Dear all,

I have three pcs running Win 98SE, Win XP and Knoppix (Debian Linux).
Each machine is equipped with a NIC card.

I also have a 5 ports switch I can use. Three Cat 5 cables.

I want to setup a LAN where both the Windows machines can access the
Linux box via Telnet and FTP.

I connected all 3 pcs to the switch with the straight thru cat 5
cables.

So what is the next step?

Rgds,
Chip Ling



Chip
Reply With Quote
  #2  
Old 02-12-2006, 03:50 AM
daytripper
Guest
 
Posts: n/a
Default Re: How to setup a LAN with a switch

On 11 Feb 2006 19:20:36 -0800, "Chip" <(E-Mail Removed)> wrote:

>Dear all,
>
>I have three pcs running Win 98SE, Win XP and Knoppix (Debian Linux).
>Each machine is equipped with a NIC card.
>
>I also have a 5 ports switch I can use. Three Cat 5 cables.
>
>I want to setup a LAN where both the Windows machines can access the
>Linux box via Telnet and FTP.
>
>I connected all 3 pcs to the switch with the straight thru cat 5
>cables.
>
>So what is the next step?
>
>Rgds,
>Chip Ling


Install TCPIP support on all systems, then configure them to use static,
private IP addresses (eg: in the 192.168.1.* space) with a netmask of
255.255.255.0. Reboot everyone and - firewall actions excepted - you should be
able to ping each node from all of its neighbors.

If you have the required applications installed on the Windows systems, they
should be able to ftp and telnet to your Linux box at that point, as long as
incoming access priv's allow...
Reply With Quote
  #3  
Old 02-16-2006, 03:58 PM
Chip
Guest
 
Posts: n/a
Default Re: How to setup a LAN with a switch

Thanks for the info. I am testing with just two machines at this point.
The windows xp one and the Linux one.

Now I can ping to each other but cannot do anything further. (i.e. ftp
nor telnet)

Here are the error message I got from both machines

1. run ftp from windows xp and try to connect to the Linux box:
"connect: unknown error number"

2. run ftp from Linux box and try to connect to the windows xp:
"connect: connection refused"

3. run telnet from windows xp and try to connect to the Linux box:
"could not open connection to the host, on port 23: connect failed"

4. run telnet from Linux and try to connect to windows xp: "telnet:
unable to connect to remote host: connection refused"

Anyone has any idea what I was missing?

Reply With Quote
  #4  
Old 02-24-2006, 07:52 PM
KW
Guest
 
Posts: n/a
Default Re: How to setup a LAN with a switch

Now I can ping to each other but cannot do anything further. (i.e. ftp
nor telnet)


Here are the error message I got from both machines


1. run ftp from windows xp and try to connect to the Linux box:
"connect: unknown error number"

Are you running an FTP server on the Linux box? Running any
firewall daemon?

2. run ftp from Linux box and try to connect to the windows xp:
"connect: connection refused"

Is the Windows XP box running an FTP Server? Also, is this XP box
SP2? IS the firewall running?

3. run telnet from windows xp and try to connect to the Linux box:
"could not open connection to the host, on port 23: connect failed"

Same questions as above...

4. run telnet from Linux and try to connect to windows xp: "telnet:
unable to connect to remote host: connection refused"

Same questions as above....

Anyone has any idea what I was missing?


For each service you are wanting to use (telnet, FTP, etc.), you have
to ensure that you have an application or service (daemon in the Linux
world) that is listening for those connections and will answer them.
Also, you need to make sure that you aren't running a firewall on the
hosts that would prevent the communication.

Reply With Quote
Reply

Tags
lan, setup, switch

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.