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 06:07 PM.

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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360