LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 01-25-2009, 07:55 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 13.1multilib, Archlinux
Posts: 240
Blog Entries: 10

Rep: Reputation: 30
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
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,747

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
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
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
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: Slackware 13.1multilib, Archlinux
Posts: 240
Blog Entries: 10

Original Poster
Rep: Reputation: 30
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: Slackware 13.1multilib, Archlinux
Posts: 240
Blog Entries: 10

Original Poster
Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 01:28 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration