You are not logged in.

#1 2017-04-09 19:24:13

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

show default gateway

Hi

Is there a command that shows the default gateway, network mask, dhcp and dns servers in arch?
ip link shows only the ipaddress


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2017-04-09 19:40:03

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: show default gateway

theking2 wrote:

Hi

Is there a command that shows the default gateway, network mask, dhcp and dns servers in arch?
ip link shows only the ipaddress

Hi,

link is just one of the many commands that the ip command supports. ip route is what you are looking for. See man ip for details. Please do some research next time.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB