Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235985
| From | Kanto Andria <avrkca@yahoo.ca> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | ifconfig <interface_name> stats ??? Wrong behavior OR BUG ? |
| Date | 2021-06-11 16:10 +0200 |
| Message-ID | <CoQ1b-2a1-1@gated-at.bofh.it> (permalink) |
| References | <CoQ1b-2a1-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello, First post here on this lists. I know about the the IP set of commands, BUT my concern is about the ifconfig one.I have 2 Debian 10 Buster systems and I have the same behavior - reading the man page did not give the specific options dada@Jradebian:~$ sudo ifconfig enp0s31f6 [sudo] password for dada: enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192..168.0.187 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::9afa:9bff:fed8:9776 prefixlen 64 scopeid 0x20<link> ether 98:fa:9b:d8:97:76 txqueuelen 1000 (Ethernet) RX packets 128087 bytes 129259424 (123.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 60117 bytes 11913581 (11..3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xec200000-ec220000 Not sure here but the command sudo ifconfig <interface_name> STATS seems to reset the IP address dada@Jradebian:~$ dada@Jradebian:~$ dada@Jradebian:~$ dada@Jradebian:~$ sudo ifconfig enp0s31f6 stats dada@Jradebian:~$ dada@Jradebian:~$ dada@Jradebian:~$ sudo ifconfig enp0s31f6 enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 54.36..162.17 netmask 255.0.0.0 broadcast 54.255.255.255 inet6 fe80::9afa:9bff:fed8:9776 prefixlen 64 scopeid 0x20<link> ether 98:fa:9b:d8:97:76 txqueuelen 1000 (Ethernet) RX packets 128151 bytes 129273250 (123.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 60132 bytes 11918134 (11.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xec200000-ec220000 I have experienced the same issue on a FreeBSD based product close to the 10.x release So the main question: Why the stats did not generate error like no such options ? Why the IP is reset to a public IP here belonging to OVH? Best regards Kanto
Back to linux.debian.user | Previous | Next — 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