Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-25-2003, 06:30 AM   #1 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
home network

Hi guys,

I recently got a new computer that I am going to use as a server. Well, We have two computer upstairs already. We have the office computer which is right next to the switch and the cable modem. We also have my workstation which is a few rooms down from the office. When my house was getting built, we ran a ethernet cord from the office to my room. A singal cord.

Now, when I wanted to add another computer to my room, I bought a hub (yes, everything supports uplink). However, Only one internet connection works on the hub. Is this because my ISP gives me one IP and my switch can only accpet one connection?

Does anyboy know any ways around this problem? And No, running another ethernet cable from the office is not an option. And neither is making my computer that gateway because the cable modem is in the other room.

Thanks guys,


Ilya
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 05-25-2003, 07:40 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
Re: home network

Hmmm... I can't quite follow your setup here, I guess it is something like:
Code:
[internet]---[cable modem]---[switch]---[office]
                                |
                                '-------[worstation]
And now you want it to be something like:
Code:
[internet]---[cable modem]---[switch]---[office]
                                |
                                '-------[hub]----[worstation]
                                          |
                                          '------[new computer]
But as it seems theres only one of the two computers connected to the HUB which can connect to the internet, right?

Quote:
Originally posted by Ilya020
However, Only one internet connection works on the hub. Is this because my ISP gives me one IP and my switch can only accpet one connection?
Glad to clear that out, lets see, the reason can very well be, that your ISP only gives you two IPs, one for your office computer, and one for the first one requesting from your HUB.

If your cable modem can be configured to do IP_MASQ, and act as a DHCP, then that would be the easy way, just have it masqing your internal net, and from the outside be assigned the one IP from your ISP, then on your internal machines set the modems internal IP as the default gateway.

Quote:
Originally posted by Ilya020
Does anyboy know any ways around this problem? And No, running another ethernet cable from the office is not an option. And neither is making my computer that gateway because the cable modem is in the other room.
Well, if you can't get something to act as a gateway or something similar, then it's pretty touch to get it working, unless one of your connections to the hub is through an uplink cable..? And that's the reason there's no link....
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 05-25-2003, 07:53 AM   #3 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
You might consider going wireless. I've got a Linksys BEFW11S4 Wireless router with a 4 port switch for my in-home LAN. Use the wireless router at your access point, it will share the net connection with everything in a 300' or so range within your home in wireless mode, and has 4 ports to connect 10/100 cabling. The model I have is really an older model, running 802.11b wireless over 2.4ghz channel. The newer models, such as the model WRT54G run Wireless 'G' at faster speeds, although I'm quite happy with my 'B' router.

As far as wireless cards/adapters are concerned, no problem supporting Windows, of course. Linux used to have great support for a wide range of PCI cards, it would seem that every manufacturer has since put out a card with a non-linux compatible chipset. I use the Linksys WUSB11 USB wireless adapter on my linux machines, works great. You can, of course, just run a regular network cable to the router also.

I live in a single story home, with a couple of walls and about 40' between one of my PCs and the router, signal strength is perfect. I've heard that the signal across different floors may be a problem, so if the router was upstairs it may not have the greatest reach to the floor below, I can't verify this, however.
bdl is offline   Reply With Quote
Old 05-25-2003, 01:52 PM   #4 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Re: Re: home network

Quote:
Originally posted by redhead
Hmmm... I can't quite follow your setup here, I guess it is something like:
Code:
[internet]---[cable modem]---[switch]---[office]
                                |
                                '-------[worstation]
And now you want it to be something like:
Code:
[internet]---[cable modem]---[switch]---[office]
                                |
                                '-------[hub]----[worstation]
                                          |
                                          '------[new computer]
But as it seems theres only one of the two computers connected to the HUB which can connect to the internet, right?


Glad to clear that out, lets see, the reason can very well be, that your ISP only gives you two IPs, one for your office computer, and one for the first one requesting from your HUB.

If your cable modem can be configured to do IP_MASQ, and act as a DHCP, then that would be the easy way, just have it masqing your internal net, and from the outside be assigned the one IP from your ISP, then on your internal machines set the modems internal IP as the default gateway.


Well, if you can't get something to act as a gateway or something similar, then it's pretty touch to get it working, unless one of your connections to the hub is through an uplink cable..? And that's the reason there's no link....
Well, you got the setup right

I have a sb3100 "surfboard" modem, I have no idea how to configure it. :/

Ilya.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote
Old 05-26-2003, 04:28 AM   #5 (permalink)
EscapeCharacter
GNU/Punk
 
EscapeCharacter's Avatar
 
Join Date: Jul 2002
Location: stuffs
Posts: 66
EscapeCharacter is on a distinguished road
Send a message via AIM to EscapeCharacter
Re: Re: Re: home network

Quote:
Originally posted by Ilya020
Well, you got the setup right

I have a sb3100 "surfboard" modem, I have no idea how to configure it. :/

Ilya.
well the first thing you should do is figure out how to set it up. you say you have a switch, and a hub, why? drop the hub and hook everything to the switch and for the connections that you cant run wire too get a wireless access point like a previous poster said.
__________________
cd /usr/ports/misc/life && make install
EscapeCharacter is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
China's New Generation Of Ipv9 Network Technology Ready redhead Code Newbie News 0 07-05-2004 05:13 AM
Inheriting a badly setup network. DesertWolf Lounge 3 04-18-2004 09:18 PM
A New Peer-to-Peer Network iNaNimAtE Lounge 6 03-03-2004 05:58 PM
What makes a network application? sde Program Design and Methods 3 08-03-2003 05:19 PM
School District Fails Network Security sde Code Newbie News 0 07-03-2003 03:12 PM


All times are GMT -8. The time now is 10:53 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting