#20650: ip support options in Busysbox can interfere with ip and ip-full package
choice
--------------------------+----------------------------------
  Reporter:  doddel       |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:  fixed        |   Keywords:  menuconfig
--------------------------+----------------------------------

Comment (by anonymous):

 @bittorf
 I have removed ip and ip-all and added ip rule support to busybox, but now
 the ip rule show command is messed up and shows this:


 {{{
 root@wrt201:~# ip rule show
 0:      from all ip: database /etc/iproute2/rt_tables is corrupted at line
 15
 lookup 128
 1:      from all ip: database /etc/iproute2/rt_tables is corrupted at line
 15
 lookup local
 32755:  from 10.0.0.23 ip: database /etc/iproute2/rt_tables is corrupted
 at line 15
 lookup vpn1
 32761:  from all fwmark 0x5 ip: database /etc/iproute2/rt_tables is
 corrupted at line 15
 lookup main
 32763:  from all fwmark 0x3 ip: database /etc/iproute2/rt_tables is
 corrupted at line 15
 lookup vpn2
 32764:  from all fwmark 0x2 ip: database /etc/iproute2/rt_tables is
 corrupted at line 15
 lookup vpn1
 32766:  from all ip: database /etc/iproute2/rt_tables is corrupted at line
 15
 lookup main
 32767:  from all ip: database /etc/iproute2/rt_tables is corrupted at line
 15
 lookup default
 root@wrt201:~#
 }}}

 my /etc/iproute2/rt_tables looks like this:


 {{{
 #
 # reserved values
 #
 255     local
 254     main
 253     default
 0       unspec
 #
 # local
 #
 #1      inr.ruhep
 100 vpn1
 200 vpn2
 #300 vpnkue
 400 alice
 }}}

 and my rules are:


 {{{
 ip rule add prio 32765 fwmark 1 table alice
 ip rule add prio 32764 fwmark 2 table vpn1
 ip rule add prio 32763 fwmark 3 table vpn2
 ip rule add prio 32761 fwmark 5 table main

 ip rule add prio 32760 from 10.0.0.11 table alice
 ip rule add prio 32759 from 10.0.0.22 table alice

 ip rule add prio 32758 from 10.0.0.236 table alice
 ip rule add prio 32757 from 10.0.0.237 table alice
 ip rule add prio 32756 from 10.0.0.238 table alice

 ip rule add prio 32755 from 10.0.0.23 table vpn1

 ip route flush table alice
 ip route add default via 10.0.1.203 dev eth1 table alice
 }}}


 With normal ip and not busybox build in I dont have these corrupted output
 lines and everything works fine.

--
Ticket URL: <https://dev.openwrt.org/ticket/20650#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to