29-04-2009, 01:14 PM
|
#1 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
DHCP issues with new switch...
Hi guys.
One of my friends runs a cyber cafe. His network looks somewhat like this:
Code:
ADSL modem ----- Machine A ----- 10 Mbps Hub ----- Machines B through F
Machine A runs Windows XP, and handles the PPPoE dial-up part of the ADSL connection.
Machines B through F run Windows 2000/XP.
We wanted to add 6 more machines to the network. We grabbed ourselves a switch, and this is how our network now looks like:
Code:
ADSL modem ----- Machine A ----- 10 Mbps Hub ----- Machines B through F
ADSL modem ----- Machine A ----- 10/100 Mbps Switch ----- Machines G through K
Machines G through K run Windows XP.
The problem is that machines G through K consistently exhibit a "Limited or no connectivity" error. Hard-setting the IP address helps sometimes.
What do you guys think? Where did we go wrong?
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
29-04-2009, 01:22 PM
|
#2 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: DHCP issues with new switch...
Although I'm not quite sure of the problem Id rather just connect the Switch to the hub or remove the hub and use the switch if it has that many ports. I'm guessing that somehow that somehow one group is getting IPs assigned from one computer while the other is getting it assigned from the Switch hence using overlapping ranges. I might be wrong so you might want to post your configurations to confirm  .
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
29-04-2009, 02:10 PM
|
#3 (permalink)
|
|
In The Zone
Join Date: Nov 2008
Location: Ashoknagar
Posts: 271
|
Re: DHCP issues with new switch...
In my cyber cafe I have the layout of the connections as shown in Attached Image
If you have less than 10 Systems u even don't need Hub they make network slow and clumsy
This kind of network layout worked for me the most it is called "Star Networking"
And let me know how many port does your Switch has and how many Systems are there in Cyber cafe
Last edited by prateek007391; 29-04-2009 at 02:31 PM.
|
|
|
29-04-2009, 02:16 PM
|
#4 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by FilledVoid
Although I'm not quite sure of the problem Id rather just connect the Switch to the hub or remove the hub and use the switch if it has that many ports. I'm guessing that somehow that somehow one group is getting IPs assigned from one computer while the other is getting it assigned from the Switch hence using overlapping ranges. I might be wrong so you might want to post your configurations to confirm  .
|
2 Lan cards attached in machine A
Hub is getting connection from 1st lan card and that network working fine
switch is getting connection from 2nd lan card and not working.
I have tried giving connection from Hub to switch ( with Straight / Cross cables) but no results.
Both the lan cards, cables (straight/cross), switch are checked and are ok.
|
|
|
29-04-2009, 02:29 PM
|
#5 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by prateek007391
In my cyber cafe I have the following layout of the connection
ADSL Modem -------- Switch ----- 10 Mbps Hub ---Computer
|
Computer
If you have less than 10 Systems u even don't need Hub they make network slow and clumsy
This kind of network layout worked for me the most it is called "Star Networking"
And let me know how many port does your Switch has and how many Systems are there in Cyber cafe
|
I have a total of 12 computers.
6 computers are already running with the hub (8 port) from last 7 years without any problem. (Star Topology)
Now i have added another 6 computers with the switch (8 port) which is not getting the connection.
Last edited by passion_unlimitedd; 29-04-2009 at 02:58 PM.
|
|
|
29-04-2009, 02:34 PM
|
#6 (permalink)
|
|
In The Zone
Join Date: Nov 2008
Location: Ashoknagar
Posts: 271
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by passion_unlimitedd
I have a total of 12 computers.
6 computers are already running with the hub (8 port) from last 7 years without any problem. (Star Networking)
Now i have added another 6 computers with the switch (8 port) which is not getting the connection.
|
How many ports are there in ur Network Switch and Hub
|
|
|
29-04-2009, 02:35 PM
|
#7 (permalink)
|
|
lost in my world
Join Date: Mar 2009
Posts: 90
|
Re: DHCP issues with new switch...
what is the hub and switches ip?
|
|
|
29-04-2009, 03:00 PM
|
#8 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by prateek007391
How many ports are there in ur Network Switch and Hub
|
Already written. 8 each.
|
|
|
29-04-2009, 03:41 PM
|
#9 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: DHCP issues with new switch...
Basic checks.
1. Turn off the HUB
2. Does all machines connected to the switch work fine when the HUB and its respective group of computers is not functioning?
3. You might want to check also if the switch is assigning IP addresses to that set of computers while the other network is being assigned IP addresses from the machine / router/ hub whatever. In other words check the settings for each IP address on your machine. Why not just configure it with Static IP in the first place ?
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
29-04-2009, 03:45 PM
|
#10 (permalink)
|
|
lost in my world
Join Date: Mar 2009
Posts: 90
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by FilledVoid
Why not just configure it with Static IP in the first place ?
|
true it seems like ip/routing conflict to me...
|
|
|
29-04-2009, 03:47 PM
|
#11 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Quote:
Originally Posted by FilledVoid
Basic checks.
1. Turn off the HUB
2. Does all machines connected to the switch work fine when the HUB and its respective group of computers is not functioning?
3. You might want to check also if the switch is assigning IP addresses to that set of computers while the other network is being assigned IP addresses from the machine / router/ hub whatever. In other words check the settings for each IP address on your machine. Why not just configure it with Static IP in the first place ?
|
I will try step 1 & 2.
I already tried step 3 and the switch is not assigning any ip to the pcs.
|
|
|
30-04-2009, 03:55 PM
|
#12 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
No more suggestions ....
|
|
|
30-04-2009, 04:01 PM
|
#13 (permalink)
|
|
In The Zone
Join Date: Nov 2008
Location: Ashoknagar
Posts: 271
|
Re: DHCP issues with new switch...
- Then
- close
- down
- this
- thread
|
|
|
30-04-2009, 08:48 PM
|
#14 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: DHCP issues with new switch...
Why is his problem solved?
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
01-05-2009, 12:28 PM
|
#15 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: Guwahati
Posts: 812
|
Re: DHCP issues with new switch...
Guys ..... first of all .. i am not able to understand the logic to use a hub and a switch parallelly. User is having 12 PCs (6+6) and AFAIK, we can use a single switch to get connected. Long time back, i had a same requirement to go live with 16 PCs and i was successful straightway.
I had one PC with two lan card A and B, LAN A was connected to ADLS and LAN B was connected to the switch. I have made a workgroup called "MEGA INFO" and made the ADSL connection shared. I was using simple 192.168.1.10 - 24 for my switch connected pcs, and LAN B was having 192.168.1.5.
for above prob... i would suggest to create a workgroup and try to join the switch connected pcs into that. again, if you turn off the HUB, switch won't get connected. you can try another thing here
ADSL ---- PC --- HUB 1 ------- HUB 2
ADSL ---- PC --- HUB 1 ------- SWITCH
AFAIK, we need to register the new machines into the existing workgroup / domain to use the DHCP, correct me if i wrong
__________________
For every action, there is an equal and opposite criticism.
|
|
|
01-05-2009, 01:05 PM
|
#17 (permalink)
|
|
Alive Again...
Join Date: May 2005
Location: Mumbai
Posts: 1,668
|
Re: DHCP issues with new switch...
-----------------------------------------------------------------------------------
A Friend of My Who has 2 Offices one in 3rd floor and other in 1st floor shares a Same ADSL Connection (MTNL Triband) and all of his PC's are in same network (sharing files) has a system like this
__________________
! जय हिंद ! Proud to be INDIAN
|
|
|
01-05-2009, 01:28 PM
|
#18 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: DHCP issues with new switch...
Do this
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
01-05-2009, 01:38 PM
|
#19 (permalink)
|
|
In The Zone
Join Date: Nov 2008
Location: Ashoknagar
Posts: 271
|
Re: DHCP issues with new switch...
hey explain me more deeply
hub to hub the to switch
do we need different coding for patch cables
|
|
|
01-05-2009, 07:14 PM
|
#20 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: Guwahati
Posts: 812
|
Re: DHCP issues with new switch...
^^ it would be cross cable ..
@NucleusKore: i hope OP has posted the thread after trying the same, he used HUB instead of switch as per your method i suppose.
@satyamy: yes .. this is the most simple example if you need to establish connectivity, pl note that all 7 machines using static IP and in the same WG.
@ OP: hope this will help..
__________________
For every action, there is an equal and opposite criticism.
|
|
|
01-05-2009, 07:14 PM
|
#21 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: DHCP issues with new switch...
If you have a 8 port switch
one port to main broadband PC
one port to hub
six ports to cyber PCs
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
01-05-2009, 07:18 PM
|
#22 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: Guwahati
Posts: 812
|
Re: DHCP issues with new switch...
^^ i think OP has faced after doing that ....
__________________
For every action, there is an equal and opposite criticism.
|
|
|
01-05-2009, 08:30 PM
|
#23 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: DHCP issues with new switch...
Is it? Let's see what he says
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
01-05-2009, 08:49 PM
|
#24 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: DHCP issues with new switch...
As per OP
1. He has a 8 port switch and a 8 port hub.
2. Hes having connectivity issues when he uses DHCP
As per my suggestions
1. Change the IP addressing to Static (Its not likes its going to make a huge difference)
2. As said above make sure you are using the right IP addresses, Workgroup Name, Subnet Mask, gateway etc.
3. Specify explicitly where to get the DHCP address from if you insist on using DHCP. (I'm not using WIndows but I believe there's an option for this.
Quote:
|
Guys ..... first of all .. i am not able to understand the logic to use a hub and a switch parallelly. User is having 12 PCs (6+6) and AFAIK, we can use a single switch to get connected. Long time back, i had a same requirement to go live with 16 PCs and i was successful straightway.
|
If you have 12 machines and just an 8 port hub or switch then what exactly do you intend on doing ? You could of course return the switch and just get another one with more ports if you want.
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
02-05-2009, 02:45 PM
|
#25 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Thank you guys for all your suggestions.
I did it myself atlast.
1. I was using the 8 port Hub since last 7 years and working fine, so no point of replacing that with expensive 16 or 20 port switch. So I got a new 8 port switch (since Hub is not available these days here or I'd have bought a hub) to connect other PCs.
2. Switch was getting connection from the Hub. All the Pcs use DHCP. The PCs getting connection from Switch was not getting IP.
3. So the main problem was not getting the IP. The Hub was giving 10 Mbps and Switch 100 Mbps and the problem was somewhere there (though it should have worked)
4. My Hub was 10 base t and switch was 100.
5. That was the main problem and though the NICs were configured as auto it was not getting the desired IP.
6. So what I did is changed the NIC from Auto to 10 Full Duplex Mode and it solved my problem.
|
|
|
02-05-2009, 02:56 PM
|
#26 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Thank you guys for all your suggestions.
I did it myself atlast.
1. I was using the 8 port Hub since last 7 years and working fine, so no point of replacing that with expensive 16 or 20 port switch. So I got a new 8 port switch (since Hub is not available these days here or I'd have bought a hub) to connect other PCs.
2. Switch was getting connection from the Hub. All the Pcs use DHCP. The PCs getting connection from Switch was not getting IP.
3. So the main problem was not getting the IP. The Hub was giving 10 Mbps and Switch 100 Mbps and the problem was somewhere there (though it should have worked)
4. My Hub was 10 base t and switch was 100.
5. That was the main problem and though the NICs were configured as auto it was not getting the desired IP.
6. So what I did is changed the NIC from Auto to 10 Full Duplex Mode and it solved my problem.
|
|
|
02-05-2009, 02:57 PM
|
#27 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: DHCP issues with new switch...
Thank you guys for all your suggestions.
I did it myself atlast.
1. I was using the 8 port Hub since last 7 years and working fine, so no point of replacing that with expensive 16 or 20 port switch. So I got a new 8 port switch (since Hub is not available these days here or I'd have bought a hub) to connect other PCs.
2. Switch was getting connection from the Hub. All the Pcs use DHCP. The PCs getting connection from Switch was not getting IP.
3. So the main problem was not getting the IP. The Hub was giving 10 Mbps and Switch 100 Mbps and the problem was somewhere there (though it should have worked)
4. My Hub was 10 base t and switch was 100.
5. That was the main problem and though the NICs were configured as auto it was not getting the desired IP.
6. So what I did is changed the NIC from Auto to 10 Full Duplex Mode and it solved my problem.
|
|
|
02-05-2009, 03:36 PM
|
#28 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: DHCP issues with new switch...
Ok Ok I get the point
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
02-05-2009, 03:46 PM
|
#29 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: DHCP issues with new switch...
Quote:
|
2. Switch was getting connection from the Hub. All the Pcs use DHCP. The PCs getting connection from Switch was not getting IP.
|
Quote:
|
3. Specify explicitly where to get the DHCP address from if you insist on using DHCP. (I'm not using Windows but I believe there's an option for this.
|
Quote:
|
3. You might want to check also if the switch is assigning IP addresses to that set of computers while the other network is being assigned IP addresses from the machine / router/ hub whatever. In other words check the settings for each IP address on your machine. Why not just configure it with Static IP in the first place ?
|
Quote:
|
I'm guessing that somehow that somehow one group is getting IPs assigned from one computer while the other is getting it assigned from the Switch hence using overlapping ranges.
|
Had you taken the time to confirm that the IPs were being assigned correctly this problem would have been solved ages ago.
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
02-05-2009, 04:37 PM
|
#30 (permalink)
|
|
lost in my world
Join Date: Mar 2009
Posts: 90
|
Re: DHCP issues with new switch...
@passion_unlimitedd i told you before to check the ip's
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|