On Fri, 2003-09-19 at 03:14, Asbjorn Hoiland Aarrestad wrote:
> Got a challenging routing problem, and perhaps some of you can help me.
> 
> The network is as follows.
> We have 12 "standalone" nodes with wireless lan cards. The nodes are 
> placed on a line, and the average distance between each node is 400 
> meters. With good wireless cards, that means that we can reach two or 
> three node neighbours on each side of a node. (the nodes will be placed 
> in the middle of nowhere, security is not the issue since the biggest 
> security risk will be the ice and polar bears. This also means that 
> putting up tp-wires is not an option)
> 
> on each side of the line of nodes, there will be a server. There will 
> only be people at the first server (beside the first node) The nodes 
> will be collecting data, and we want to transfer the data to the server 
> beside the first node. But we also want to be able to telnet into each 
> of the nodes to be able to do maintainance (so we don't have to use a 
> snow-mobile and get very cold each time there is a problem on one of the 
> nodes)
> 
> Any ideas on how to make a "good enough" network, enabeling us to 
> communicate between the nods and the servers?
> 

To take Sean's suggestion of static routes at first I thought I would
start another sub-thread.

Given my limited experience ( I have never had more than one route to a
given location on our network). I would set it up so that each node has
its wifi interface subnetted to a minimum of two networks.

I would first set it up like this in the lab to test:


Design a series of networks (one between each machine) Each network can
be subnetted into 4 ipaddress blocks.  

lets use the ever popular 192.168.0.0 block:
if we subnet the 192.168.0.0/24 further into 192.168.0.0/30 or netmask
255.255.255.252 you get 64 subnets with 128 usable hosts (remember that
each subnet uses two addresses for network address and broadcast.


I use a perl script I found called ipcalc.pl to help me visualize this
sort of subnetting.  A portion of the output for this configuration
looks like this:
[EMAIL PROTECTED] bhughes]$ ipcalc.pl 192.168.0.0/24 255.255.255.252

Address:   192.168.0.0           11000000.10101000.00000000 .00000000
Netmask:   255.255.255.0 = 24    11111111.11111111.11111111 .00000000
Wildcard:  0.0.0.255             00000000.00000000.00000000 .11111111
=>
Network:   192.168.0.0/24        11000000.10101000.00000000 .00000000
(Class C)
Broadcast: 192.168.0.255         11000000.10101000.00000000 .11111111
HostMin:   192.168.0.1           11000000.10101000.00000000 .00000001
HostMax:   192.168.0.254         11000000.10101000.00000000 .11111110
Hosts/Net: 254                   (Private Internet RFC 1918)


Subnets

Netmask:   255.255.255.252 = 30  11111111.11111111.11111111.111111 00
Wildcard:  0.0.0.3               00000000.00000000.00000000.000000 11

Network:   192.168.0.0/30        11000000.10101000.00000000.000000 00
(Class C)
Broadcast: 192.168.0.3           11000000.10101000.00000000.000000 11
HostMin:   192.168.0.1           11000000.10101000.00000000.000000 01
HostMax:   192.168.0.2           11000000.10101000.00000000.000000 10
Hosts/Net: 2                     (Private Internet RFC 1918)


Network:   192.168.0.4/30        11000000.10101000.00000000.000001 00
(Class C)
Broadcast: 192.168.0.7           11000000.10101000.00000000.000001 11
HostMin:   192.168.0.5           11000000.10101000.00000000.000001 01
HostMax:   192.168.0.6           11000000.10101000.00000000.000001 10
Hosts/Net: 2                     (Private Internet RFC 1918)


Network:   192.168.0.8/30        11000000.10101000.00000000.000010 00
(Class C)
Broadcast: 192.168.0.11          11000000.10101000.00000000.000010 11
HostMin:   192.168.0.9           11000000.10101000.00000000.000010 01
HostMax:   192.168.0.10          11000000.10101000.00000000.000010 10
Hosts/Net: 2                     (Private Internet RFC 1918)





<big snip>


Network:   192.168.0.248/30      11000000.10101000.00000000.111110 00
(Class C)
Broadcast: 192.168.0.251         11000000.10101000.00000000.111110 11
HostMin:   192.168.0.249         11000000.10101000.00000000.111110 01
HostMax:   192.168.0.250         11000000.10101000.00000000.111110 10
Hosts/Net: 2                     (Private Internet RFC 1918)


Network:   192.168.0.252/30      11000000.10101000.00000000.111111 00
(Class C)
Broadcast: 192.168.0.255         11000000.10101000.00000000.111111 11
HostMin:   192.168.0.253         11000000.10101000.00000000.111111 01
HostMax:   192.168.0.254         11000000.10101000.00000000.111111 10
Hosts/Net: 2                     (Private Internet RFC 1918)



Subnets:   64 
Hosts:     128

you get the idea. 


server1
eth0:192.168.0.1/30
  |
  |
  |
eth0 - 192.168.0.2/30
node1
eth0:1 - 192.168.0.5/30
  |
  |
  |
eth0 - 192.168.0.6/30
node2
eth0:1 - 192.168.0.9/30
  |
  |
  |
. 
-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to