[CUWiN-Dev] Static IP and default route propagation

David Young dyoung at pobox.com
Sun Jun 4 21:34:17 CDT 2006


On Wed, May 31, 2006 at 05:50:05PM +0900, Jeongkeun Lee wrote:
> I have a problem with gateway static IP set-up.
> 
> According to the instruction on CUWIN-HOWTO,
> http://flatiron.cntwireless.org/cuwin/HOWTO/CUWiN-HOWTO.php#staticip
> I manually set up static IP address for a gateway node.
> But adding the line 'ip address 192.168.1.254/24' into zebra.conf.preamble
> of the gateway node caused the following error messages during booting
> (instead of '192.168.1.254/24', the assigned IP in my network was used):
> .....
>  Configuring hslsd and zebra.
> Writing zebra config for ath0 sip0
> Starting zebra.
> There is no such command.
> Error occured during reading below line.
> ip address 192.168.1.254/24 
> ......
> And zebra didn't work and 'netstat -rn -f inet' showed only several basic
> routing entries.
> 
> After googling, I changed the line 'ip address 192.168.1.254/24' of
> zebra.conf.preamble as follows:
> ...
> interface sip0
>  ip address 192.168.1.254/24
> ...
> 
> Then zebra started without an error message.
> But the default route does not propagate to the standalone CUWiN nodes in
> the network. I have set the default route to gateway by adding the default
> route (gateway's link-local address on ath0) into zebra.conf.preamble of
> each standalone CUWiN node. But it's bothersome and won't work with multiple
> gateways.
> 
> Similar question was posted in this mailing-list, but I couldn't find the
> answer on it.
> http://lists.chambana.net/mailman/archive/cu-wireless-dev/2005-November/0008
> 55.html
> 
> Is there any tips?

You need to add a static route to the hslsd command line.  Look at
generate_inet_stubs() in src/boot-image/extras/etc/rc.d/route_conf.

Dave

-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list