Bug 89551 - RFE: networkctl: Canonical way to see information about network interface the default route goes to
Summary: RFE: networkctl: Canonical way to see information about network interface the...
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Tom Gundersen
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 06:20 UTC by Kai Hendry
Modified: 2015-04-14 13:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.