Fresh Blurbs

Linux: Determine Network Gateway on eth0 Interface

Easy-peasy:

> route -n | grep -v " 0.0.0.0" | grep "eth0" | awk '{print $2}' | head -n 1
comments powered by Disqus