GateWayNotes

Category:Sasecurity
back to http://scratchpad.wikia.com/wiki/Sasecurity
TableOfContents
==== GateWay Notes ====
A node will act as a gateway:
 * It is assigned a DhCp address thru eth0 as it boots up.
 * Or it has been configured with a static IP address.(StaticIp)
=== A node is either a Repeater or Gateway ===
 * ChangeGatewaytorepeater
 * SwitchingGateways
 * SearchingGateway
 * LocktoGateway
 * NodeActasgateway
 * PullcableOut
 * GatewayToUse
 * DefaultSettings
=== Two equi-distant routes to a Gateway ===
 AODV In its standard form it uses hop count. However Jon has modified it 
to also take signal strength into account. In the scenario you describe, 
you'll probably see some route flap as conditions change over time. For 
situations where this is a problem (e.g. host mapping), use the "lock to 
gateway" or "prefer gateway" function.
=== How to switch between Gateway/Non-gateway without Wiana? ===
Pull the LAN cable out of Tango and reboot, it will come up as a
repeater, when the SAT comes back you can put the LAN cable back in and
reboot again, it will turn back into a gateway.
> Background:
> After the storm last night we have list the Aramiska (satelite) feed
into our network. We do have an ADSL feed, connected to one node.
The node connection to the Aramiska feed is still up, the Aramiska
"Ground Station" is still up, but we have no data getting through that
Aramiska feed. The attached node (called Tango) still thinks it is a gateway,
as it will normally get an IP address on bootup.
The catch: You have to log into Wiana and turn OFF gateway functions
(or
> rather, set to NEVER gateway) but how do you do this if the node in
question
> cannot talk to WiaNa
> 
> Most nodes still see Tango as the gateway node, despite there being a
(lower
> hop) alternative gateway. I could turn the old one off (ssh into it
and
> then shutdown) and see if the 'net finds the new gateway, but that
node
> does not always do this, and it is in an attic elsewhere.
> 
> There seems to be no entry in /etc/wianasettings, and set route
default
> 'xxx.xxx.xxx.xxx' does not work.
}}}
See RepeaterNode