-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support all properties (broadcase, netmask etc) for interfaces with multiple bindings #34
Comments
Ah yeah, after we added support for multiple IP addresses per interface, we didn't do anything about the remaining interface properties, that are also per IP binding. |
I think this needs to be in a major release change, since basically we need to adapt the whole API to handle multiple bindings. |
I haven't been able to replicate this. When I ran
|
@jamalex try on a system without net-tools (the package containing ifconfig). It's on default Unix-based systems for the past ~5 years that ifconfig hasn't been a standard utility. Red Hat has made a nice cheat sheet for the new commands: https://access.redhat.com/sites/default/files/attachments/rh_ip_command_cheatsheet_1214_jcs_print.pdf |
With a physical interface
enp11s0
, and a virtual interface created withifconfig enp11s0:0 192.168.0.4
,the output from
ip addr show
looks something like:I've removed
inet6
output lines as well aslocalhost
Trying to parse this gives:
The text was updated successfully, but these errors were encountered: