Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 04-08-2005, 01:47 PM   #1 (permalink)
Insane
 
Location: Vermont
Semi-complicated Home Network

I'm redoing my home network and running into some problems.
We have dsl and 5 static ip addresses.
What I would like to do is have 2 lans with routers and 3 others for various other things (i.e. we haven't decided yet).
I have the neccessary ip's, gateways, subnet mask, and dns servers.
I have hooked router1 and router2 (each with a different ip) up to the hub that hooks up to the modem.
Here is the problem, when I am trying to use both I have collision problems.
For testing, I've been having been running pings to my isp on a computer on each router. One will ping fine for 20 pings or so and then timeout for a while. The other router will behave in the opposite manner.

So to finish, any suggestions on how to clear up this mess to it runs correctly?


Really Crude drawing of the network:
Code:
|  Modem     | ----------------> | HUB|
           ---------------------------  -----------------------
          \/                                                        \/
     |Router 1|                                             | Router 2|

Last edited by RAGEAngel9; 04-08-2005 at 01:48 PM.. Reason: formatting woes- close enough
RAGEAngel9 is offline  
Old 04-08-2005, 01:54 PM   #2 (permalink)
Tilted Cat Head
 
Cynthetiq's Avatar
 
Administrator
Location: Manhattan, NY
while the routers have different IPs do they have different subnets?
__________________
I don't care if you are black, white, purple, green, Chinese, Japanese, Korean, hippie, cop, bum, admin, user, English, Irish, French, Catholic, Protestant, Jewish, Buddhist, Muslim, indian, cowboy, tall, short, fat, skinny, emo, punk, mod, rocker, straight, gay, lesbian, jock, nerd, geek, Democrat, Republican, Libertarian, Independent, driver, pedestrian, or bicyclist, either you're an asshole or you're not.
Cynthetiq is offline  
Old 04-08-2005, 04:45 PM   #3 (permalink)
Professional Loafer
 
bendsley's Avatar
 
Location: texas
setup your routers like cyn said.

Router 1: 192.168.1.0
Router 2: 192.168.2.0
Router 3: 192.168.3.0 and so on

If both routers are set to 192.168.1.0 then of course you're going to have collisions. Since you're being able to ping for a few seconds, thats the CSMA/CD protocol kicking in.

Carrier Sense Multiple Access/Collision Detect is the protocol for carrier transmission access in Ethernet networks. On Ethernet, any device can try to send a frame at any time. Each device senses whether the line is idle and therefore available to be used. If it is, the device begins to transmit its first frame. If another device has tried to send at the same time, a collision is said to occur and the frames are discarded. Each device then waits a random amount of time and retries until successful in getting its transmission sent.

CSMA/CD is specified in the IEEE 802.3 standard.
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane."
bendsley is offline  
Old 04-09-2005, 05:20 PM   #4 (permalink)
Insane
 
Location: Vermont
Quote:
Originally Posted by bendsley
setup your routers like cyn said.

Router 1: 192.168.1.0
Router 2: 192.168.2.0
Router 3: 192.168.3.0 and so on

If both routers are set to 192.168.1.0 then of course you're going to have collisions. Since you're being able to ping for a few seconds, thats the CSMA/CD protocol kicking in.

Carrier Sense Multiple Access/Collision Detect is the protocol for carrier transmission access in Ethernet networks. On Ethernet, any device can try to send a frame at any time. Each device senses whether the line is idle and therefore available to be used. If it is, the device begins to transmit its first frame. If another device has tried to send at the same time, a collision is said to occur and the frames are discarded. Each device then waits a random amount of time and retries until successful in getting its transmission sent.

CSMA/CD is specified in the IEEE 802.3 standard.
I understand CSMA/CD, well what it does if not how to explictly avoid it.

Anyway, my subnet masks are all set the same: 255.255.255.248.
If I understand where you're going, should the next 5 masks be:
1. 255.255.255.249 - 11111001
2. 255.255.255.250 - 11111010
3. 255.255.255.251 - 11111011
4. 255.255.255.252 - 11111100
5. 255.255.255.253 - 11111101
?

EDIT - Wait did I get that right?
I don't get how I'm supposed to set the subnet correctly.
Is it just a matter of changing the subnet mask as I said above?


Thanks for the help by the way.

Last edited by RAGEAngel9; 04-09-2005 at 05:53 PM..
RAGEAngel9 is offline  
Old 04-09-2005, 05:56 PM   #5 (permalink)
Crazy
 
Location: The state of denial
I may be way off but.... I think your subnet masks should be 255.255.255.0 if you set up the routers like bendsley said, so each 192.168.XXX would be a seperate network.
__________________
Smoke me a kipper, I'll be back for breakfast.
madcow is offline  
Old 04-09-2005, 06:09 PM   #6 (permalink)
Cracking the Whip
 
Lebell's Avatar
 
Location: Sexymama's arms...
Hmm, I personally think that if you have two LAN's, you need to connect them with a bridge.

It's the bridge's job to either a) ignore traffic that doesn't need to cross over or to b) route over traffic that does.
__________________
"Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." – C. S. Lewis

The ONLY sponsors we have are YOU!

Please Donate!
Lebell is offline  
Old 04-09-2005, 07:17 PM   #7 (permalink)
Professional Loafer
 
bendsley's Avatar
 
Location: texas
forget about subnet masks, for that address subnet, just make it 255.255.255.0. You're not going to fill up each subnet with that many computers to have the need to change subnets.

xxx.xxx.xxx.xxx or first octet. second octet.third octet.fourth octet

the third octet is your subnet.

the subnet and subnet mask are different.
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane."

Last edited by bendsley; 04-09-2005 at 07:23 PM..
bendsley is offline  
Old 04-09-2005, 10:22 PM   #8 (permalink)
Insane
 
Location: Vermont
Ok I understand that I was looking at the wrong thing.

But I still am not sure how I am supposed to set the subnet.
I am using a couple of Linksys routers( WTRG54 and BEFSR81).
I have the following things (using made up variables for my sake and readability):
IpAddresses: w.x.y.(z1|z2|z3|z4|z5)
IpNetmask: 255.255.255.248
Gateway: w.x.y.z0
2 DNS servers

Using one of the routers, shouldn't I just need 1 of the ip's, the mask, gateway, and the dns servers. I would set the local mask to 255.255.255.0 and the local ip for the router to whatever.

I guess I'm not sure where I'd actually use (or setup for that matter) the other subnets.

Sorry if I'm a little think on this. I've never set up more than a single router network.
RAGEAngel9 is offline  
Old 04-09-2005, 10:33 PM   #9 (permalink)
AHH! Custom Title!!
 
liquidlight's Avatar
 
Location: The twisted warpings of my brain.
What hardware is doing the DSL connection, and does it have routing capabilities as well, are you running NAT on the DSL device and are you intending the networks behind the Linksys devices to be DHCP assigned?
__________________
Halfway to hell and picking up speed.
liquidlight is offline  
Old 04-09-2005, 11:58 PM   #10 (permalink)
a-j
Tilted
 
If you wanted to use 192.168.1.0/29 (255.255.255.248) as your subnet mask, then your networks would look like this (the subnet masks shouldn't change):

192.168.1.0
192.168.1.8
192.168.1.16
192.168.1.24
192.168.1.32

And it would only give you 6 hosts per network

By the way, what bendsley suggested is 192.168.1.0/24 (255.255.255.0).
a-j is offline  
Old 04-11-2005, 09:30 AM   #11 (permalink)
a-j
Tilted
 
Oops, I thought you wanted your internal subnet masks to be 255.255.255.248. I see now that that is the subnet mask of your external IP.
I think this is how you would likely setup the routers behind the hub -- which strikes me as an odd way to do things (I would probably put in a switch instead of a hub, or even a router but that setup is more complicated, and prone to configuration problems).

Network 1.2.3.0/29 (suppose this is the network assigned by your ISP)
Subnet mask (255.255.255.248, the /29 above)
Broadcast 1.2.3.7
External IPs: 1.2.3.1 - 1.2.3.5 (assuming you only have 5 of the possible 6)

Router 1:
external IP - 1.2.3.1 (suppose this is one of your external IPs)
subnet mask - 255.255.255.248
LAN Network - 192.168.1.0
LAN Broadcast - 192.168.1.255
LAN Subnet mask - 255.255.255.0
LAN IPs 192.168.1.1-192.168.1.254 (use as you wish or setup DHCP)


Router 2:
external IP - 1.2.3.2 (suppose this is one of your external IPs)
subnet mask - 255.255.255.248
LAN Network - 192.168.2.0
LAN Broadcast - 192.168.2.255
LAN Subnet mask - 255.255.255.0
LAN IPs 192.168.2.1-192.168.2.254

... Repeat procedure for routers 3-5

It's been a while since I did any networking so hopefully I haven't messed anything up. If anyone sees errors, please point them out.
a-j is offline  
Old 04-11-2005, 12:42 PM   #12 (permalink)
Insane
 
Location: Vermont
Quote:
Originally Posted by a-j
Oops, I thought you wanted your internal subnet masks to be 255.255.255.248. I see now that that is the subnet mask of your external IP.
I think this is how you would likely setup the routers behind the hub -- which strikes me as an odd way to do things (I would probably put in a switch instead of a hub, or even a router but that setup is more complicated, and prone to configuration problems).

Network 1.2.3.0/29 (suppose this is the network assigned by your ISP)
Subnet mask (255.255.255.248, the /29 above)
Broadcast 1.2.3.7
External IPs: 1.2.3.1 - 1.2.3.5 (assuming you only have 5 of the possible 6)

Router 1:
external IP - 1.2.3.1 (suppose this is one of your external IPs)
subnet mask - 255.255.255.248
LAN Network - 192.168.1.0
LAN Broadcast - 192.168.1.255
LAN Subnet mask - 255.255.255.0
LAN IPs 192.168.1.1-192.168.1.254 (use as you wish or setup DHCP)


Router 2:
external IP - 1.2.3.2 (suppose this is one of your external IPs)
subnet mask - 255.255.255.248
LAN Network - 192.168.2.0
LAN Broadcast - 192.168.2.255
LAN Subnet mask - 255.255.255.0
LAN IPs 192.168.2.1-192.168.2.254

... Repeat procedure for routers 3-5

It's been a while since I did any networking so hopefully I haven't messed anything up. If anyone sees errors, please point them out.
Thanks
It turns out our line to the isp got hosed up some how recently. BEcause of this I wasn't able to correctly diagnos my problems.
I pretty much have it like you said now.

And for anyone who cares, the 6th ip in this case is the gateway (the modem/router).

Oh also I did switch the hub to a switch. I thought that the hub would function in more or less the same manner, but I guess not. I thought abotu a router instead, but don't have one available at the moment.


Thanks again for the help guys.
RAGEAngel9 is offline  
 

Tags
home, network, semicomplicated


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



All times are GMT -8. The time now is 12:14 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76