Bug 89551

Summary: RFE: networkctl: Canonical way to see information about network interface the default route goes to
Product: systemd Reporter: Kai Hendry <hendry>
Component: generalAssignee: Tom Gundersen <teg>
Status: NEW --- QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kai Hendry 2015-03-12 06:20:03 UTC
I'm using Systemd 218-2 on Archlinux and I was hoping for a quick way to see the actively routed interface with networkctl. 

Otherwise I'm left with screen scraping networkctl or using `ip route | egrep '^default' | sed -nr 's/.*dev (\S+).*/\1/p'`.

Many thanks,
Comment 1 Lennart Poettering 2015-04-12 19:13:58 UTC
What precisely do you mean by "the actively routed" interface? You mean the one where the default route goes to?
Comment 2 Kai Hendry 2015-04-13 07:23:50 UTC
Yes, where the default route goes to.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.