以下のコマンドで取得できる。 ```console ip route show | grep -i default | awk '{ print $3}' ```