Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] changing public IP to static fails
@ 2014-06-14  7:56 Dane Medic
  0 siblings, 0 replies; only message in thread
From: Dane Medic @ 2014-06-14  7:56 UTC (permalink / raw)
  To: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

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@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

[-- Attachment #2: Type: text/html, Size: 624 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-14  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-14  7:56 [Cerowrt-devel] changing public IP to static fails Dane Medic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox