- # net stuff
- exectest ifconfig && ifconfig -v -a > ifconfig
- exectest ip && ip route show > ip_route
- exectest ip && ip link show > ip_link
- exectest route && route -n > route
+ # net stuff, iproute:
+ exectest ip && ip addrlabel list > ip_addrlabel
+ exectest ip && ip addr show > ip_addr
+ exectest ip && ip link show > ip_link
+ exectest ip && ip maddr show > ip_maddr
+ exectest ip && ip mroute show > ip_mroute
+ exectest ip && ip mrule show > ip_mrule 2>ip_mrule.error
+ exectest ip && ip neigh show > ip_neigh
+ exectest ip && ip netconf > ip_netconf
+ exectest ip && ip netns list > ip_netns
+ exectest ip && ip ntable show > ip_ntable
+ exectest ip && ip route show > ip_route
+ exectest ip && if [ -r /etc/iproute2/rt_tables ] ; then
+ grep -v '^#' /etc/iproute2/rt_tables | while read table _ ; do
+ ip route show table "${table}" > "ip_route_table_${table}" 2> "ip_route_table_${table}".error
+ done
+ fi
+ exectest ip && ip rule show > ip_rule
+ exectest ip && ip tunnel show > ip_tunnel
+ exectest ip && ip tuntap show > ip_tuntap