Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /proc/net/fib_trie
- cat /proc/net/fib_trie | grep "|--" | egrep -v "0.0.0.0| 127."
- |-- 193.136.1.0
- |-- 193.136.1.2
- |-- 193.136.1.255
- |-- 193.136.1.0
- |-- 193.136.1.2
- |-- 193.136.1.255
- $ ip addr | awk '/^[0-9]+/ { currentinterface=$2 } $1 == "inet" { split( $2, foo, "/" ); print currentinterface ,foo[1] }'
- lo: 127.0.0.1
- eth0: 10.28.9.29
Add Comment
Please, Sign In to add comment