2015 shaares
45 private links
45 private links
2 results
tagged
network
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"
Grrr, le cache encore qui me fait des tours avec les routes.
To show the route cache:
ip route show cache
To clear the route cache:
ip route flush cache