[Cerowrt-devel] changing public IP to static fails

Dane Medic dm70dm at gmail.com
Sat Jun 14 03:56:00 EDT 2014


Hi,

I've found out, that when I switch to static IP on interface ge00 and
insert values:

uci set network.ge00.proto=static
uci set network.ge00.ipaddr=172.20.34.5
uci set network.ge00.netmask=255.255.255.224
*uci set network.ge00.gateway=172.20.34.1*
uci set network.ge00.dns=8.8.8.8

it doesn't make default route, so I have to do it manually like:

root at cerowrt:~# cat /etc/rc.local
#!/bin/sh
route add -net 0.0.0.0 netmask 0.0.0.0 dev ge00 gateway 172.20.34.1
exit 0


Regards,

Dane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/cerowrt-devel/attachments/20140614/d3c7f360/attachment-0002.html>


More information about the Cerowrt-devel mailing list