[CUWiN-Dev] static IP on gateway

Bill Comisky bcomisky at pobox.com
Tue Nov 1 13:31:22 CST 2005


I'm looking for help on setting a static IP address on a CUWiN gateway.  I 
am able to set it up so that it works for the gateway, but the default 
route does not propagate to the standalone CUWiN nodes in the network. 
Here's what I tried:

in /permanent/etc/

# Created ifconfig.sip0:
echo 'inet 192.168.1.254 netmask 255.255.255.0' > ifconfig.sip0

# Added default route (tried both of these ways) 
echo 'ip route 0.0.0.0/0 192.168.1.1' >> zebra.conf.preamble
echo 'defaultroute=192.168.1.1' >> /etc/rc.conf

# change 'dhcpselect=YES' to 'dhcpselect=NO' in rc.conf.d/dhcpselect


Tips?  Do I need a 10.x.x.x alias on sip0?

Bill

--
Bill Comisky
bcomisky at pobox.com


More information about the CU-Wireless-Dev mailing list