LinuxQuestions.org
Help answer threads with 0 replies.
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 01-25-2009, 07:55 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283
Blog Entries: 11

Rep: Reputation: 41
Question Switch is preventing connections to the LAN


My setting:

Quote:
cableISP
|
Router---Switch---PC1
|
PC2
Switch=http://www.ciao.com/Rosewill_RC_406_...orts__15362553
Router=Belkin N; IP=192.168.2.1
PC1=Windows Vista Home; IP=192.168.15.2
PC2=Slackware 12.1; IP=192.168.2.4

The Router is configured to act as a DHCP server. Both boxes are configured for dynamic IP.
Both boxes can connect well to the Internet.

My problem: None of the boxes can see each other. It's impossible to ping each other. I can't set up a network. It's a nightmare.

Please help.
 
Old 01-25-2009, 08:21 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Have you tried connecting both computers directly to the switch, setting manual IPs, and then pinging? You might also just want to try unplugging the switch for a little to let the MAC table clear. It could be there was some corruption in the tables, though it seems pretty unlikely.

Also, I assume there is some reason for the switch that you haven't explained? By the looks of that diagram, you could just connect both computers directly to the router's built-in switch.
 
Old 01-25-2009, 09:22 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
PC1=Windows Vista Home; IP=192.168.15.2
PC2=Slackware 12.1; IP=192.168.2.4
If the computers have a netmask of 255.255.255.0, then they are on different subnets. Either 1) change the netmask to 255.255.0.0, or 2) change the IP addresses so they are on different subnets or 3) add a route rule to each of the PCs so that they don't use the default gateway address when trying to connect to each other.
 
Old 01-27-2009, 08:57 PM   #4
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Thank you guys for the tips. I'll put them into practice tomorrow when I get to the office.
 
Old 02-09-2009, 10:34 PM   #5
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
As embarrassing as it is for me, I found out that somebody placed an ATA linked to a phone between the switch and the computer, so this ATA was acting like a DHCP server for that computer. I know, I should have checked the wiring before. I just saw the damn thing on that desk but thought it had been connected independently from the computer. Problem solved.
 
  


Reply

Tags
switch



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
kvm switch preventing monitor detection = low resolution pellgarlic Linux - Desktop 5 01-12-2009 09:08 AM
Preventing KWM desktop switch on mouse move pcyanide Linux - Desktop 3 11-12-2007 03:57 PM
How to switch easily between net connections on a box w/ PCImodem AND LAN connection? GrapefruiTgirl Linux - Networking 15 04-20-2007 01:28 PM
Resetting LAN connections d1l2w3 Mandriva 3 06-22-2006 09:29 AM
preventing users to make outgoing connections Shroom Linux - Security 5 06-15-2003 05:57 AM

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

All times are GMT -5. The time now is 06:45 PM.

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