Hi,
I am using OpenWrt Chaos Calmer on an OM2P access point and
fail embed to setup of a default route into the configuration.
Adding the route manually does the job:
$route add default gw 10.250.247.1 dev eth0
Adding the following configuration block (as suggested on
https://wiki.openwrt.org/doc/uci/network)
config route
option interface 'lan'
option target '0.0.0.0'
option netmask '0.0.0.0'
option gateway '10.250.247.1'
does not seem to have any effect -- already tried with or without the
gateway option for interface 'lan'. (Full config is attached)
What am I missing here - any suggestions on how to set it up correctly?
Thanks
Thomas
--
Thomas Röhr (M.Sc.)
Space Robotics
Besuchsadresse der Nebengeschäftstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4151
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: [email protected]
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd64:80f1:4b03::/48'
config interface 'lan'
option ifname 'eth0'
option force_link '1'
option proto 'static'
option ip6assign '60'
option ipaddr '192.168.10.125'
option netmask '255.255.240.0'
option gateway '10.250.247.1'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
config interface 'mesh0'
option proto 'batadv'
option mtu '1532'
option mesh 'bat0'
config interface 'bat0'
option ifname 'bat0'
option proto 'static'
option mtu '1500'
option ipaddr '10.250.247.125'
option netmask '255.255.255.0'
config interface 'stabridge'
option proto 'relay'
option network 'lan bat0'
option ipaddr '10.250.247.125'
option netmask '255.255.255.0'
config route
option interface 'lan'
option target '0.0.0.0'
option netmask '0.0.0.0'
option gateway '10.250.247.1'
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users