Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235986
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? |
| Date | 2021-06-11 16:20 +0200 |
| Message-ID | <CoQaT-2dL-35@gated-at.bofh.it> (permalink) |
| References | <CoQ1b-2a1-3@gated-at.bofh.it> <CoQ1b-2a1-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Fri, Jun 11, 2021 at 02:01:02PM +0000, Kanto Andria wrote: > dada@Jradebian:~$ sudo ifconfig enp0s31f6 stats There's no "stats" option to ifconfig, at least according to the source of version 1.60+git20180626.aebd88e. But what a quick test does show me, is that in my environment "stats" apparently interpreted as a hostname, which cannot be resolved: $ /sbin/ifconfig eth0 stats stats: Unknown host ifconfig: `--help' gives usage information. So what actually happened to you is that on your host "stats" was resolved to 54.36.162.17, and then the resolved IP was set to your interface with /8 netmask. Since the setting was successful (and why would not it be, since you ran ifconfig as root) - you've got no error. > I have experienced the same issue on a FreeBSD based product close to the 10.x release I'm unfamiliar with FreeBSD's ifconfig, and too lazy to dig their sources. Probably the explanation is the same. Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? Kanto Andria <avrkca@yahoo.ca> - 2021-06-11 16:10 +0200 Re: ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? Reco <recoverym4n@enotuniq.net> - 2021-06-11 16:20 +0200 Re: ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? Andy Smith <andy@strugglers.net> - 2021-06-11 16:30 +0200 Re: ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? David Wright <deblis@lionunicorn.co.uk> - 2021-06-22 18:00 +0200
csiph-web