2015 shaares
45 private links
45 private links
The table is pretty intelligible doing a mere, first comes the Main: and then Local:
cat /proc/net/fib_trie
or to see your network, IP addresses and netmask:
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
grep '32 host LOCAL' -B 1 /proc/net/fib_trie | grep -Po '|-- \K(.*)' | grep -v '127.0.0.1' | sort | uniq | tr '\n' ' '
sinon via une commande propre : "hostname --all-ip-addresses || hostname -I"