Bug 3151

Summary: ip route show - dev argument
Product: Busybox Reporter: alex hauras <d77190>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.18.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description alex hauras 2011-01-26 19:16:11 UTC
busybox 1.18.2
I think showing routes by device is broken in current "ip" command:

busybox ip route show
195.xx.xx.0/23 via 172.16.254.146 dev eth0.951  metric 133
195.xx.xx.0/23 via 172.16.254.137 dev eth0.960  metric 133
212.xx.xx.0/24 via 172.31.0.170 dev eth1
213.xx.xx.0/18 via 172.31.0.170 dev eth1
217.xx.xx.0/19 via 172.31.0.170 dev eth1

busybox ip route show dev eth1
195.xx.xx.0/23 via 172.16.254.146  metric 133
195.xx.xx.0/23 via 172.16.254.137  metric 133
212.xx.xx.0/24 via 172.31.0.170
213.xx.xx.0/18 via 172.31.0.170
217.xx.xx.0/19 via 172.31.0.170

iproute package: ip route show dev eth1
212.xx.xx.0/24 via 172.31.0.170
213.xx.xx.0/18 via 172.31.0.170
217.xx.xx.0/19 via 172.31.0.170

and another, "ip" does not know about field "proto" (at least it must supply proto numeric instead "zebra" etc)

busybox ip route show
192.168.xx.xx via 172.16.254.6  metric 66
192.168.xx.xx via 172.16.254.1  metric 66

iproute package: ip route show
192.168.xx.xx via 172.16.254.6  proto zebra  metric 66
192.168.xx.xx via 172.16.254.1  proto zebra  metric 66
Comment 1 Denys Vlasenko 2011-02-10 11:49:21 UTC
Fixed in git, will be in 1.19.x