Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186064
| From | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | No ifconfig |
| Date | 2017-08-28 10:20 +0200 |
| Message-ID | <ujnr8-3du-81@gated-at.bofh.it> (permalink) |
| References | <ugUCT-4Nm-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Christian Seiler: > From my personal experience, the following two things are features I'm > actually using regularly and that don't work with it: > > 1. > > IPv6 doesn't really work properly (as explained elsewhere by other > people in this thread) > > 2. > > Can't add multiple IP addresses to the same interface and (worse) > even if multiple IP addresses are assigned to the same interfaces > it only shows the primary address > > (2) is really bad, especially the part where it does not show all of > the IPs that were assigned by other tools, for example NetworkManager, > or Debian's own |ifupdown| via |/etc/network/interfaces|. > Your second point is a conflation of two things. One is right, but the other is wrong. Here is what actually happens. Starting with this basis: > jdebp % ifconfig lo|head -n 4 > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > inet6 addr: ::2/128 Scope:Compat > jdebp % ip address show lo|fgrep -A 1 inet > inet 127.0.0.1/8 scope host lo > valid_lft forever preferred_lft forever > inet 127.53.53.1/8 scope host secondary lo:0 > valid_lft forever preferred_lft forever > inet6 ::2/128 scope global > valid_lft forever preferred_lft forever > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > jdebp % |ifconfig| cannot see additional addresses assigned by the likes of |ip| in its simplest fashion, as here: > jdebp % sudo ip address add 127.53.0.1 dev lo > jdebp % ifconfig lo|head -n 4 > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > inet6 addr: ::2/128 Scope:Compat > jdebp % ip address show lo|fgrep -A 1 inet > inet 127.0.0.1/8 scope host lo > valid_lft forever preferred_lft forever > inet 127.53.0.1/32 scope host lo > valid_lft forever preferred_lft forever > inet 127.53.53.1/8 scope host secondary lo:0 > valid_lft forever preferred_lft forever > inet6 ::2/128 scope global > valid_lft forever preferred_lft forever > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > jdebp % But it most definitely /can/ assign multiple IP addresses to a single interface, and these will be reported as such by |ip| even though |ifconfig| shows them differently: > jdebp % sudo ifconfig lo inet add 127.53.0.2 > jdebp % ifconfig lo|head -n 4 > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > inet6 addr: ::2/128 Scope:Compat > jdebp % ifconfig lo:0|head -n 2 > lo:0 Link encap:Local Loopback > inet addr:127.53.0.2 Mask:255.0.0.0 > jdebp % ip address show lo|fgrep -A 1 inet > inet 127.0.0.1/8 scope host lo > valid_lft forever preferred_lft forever > inet 127.53.0.1/32 scope host lo > valid_lft forever preferred_lft forever > inet 127.53.53.1/8 scope host secondary lo:0 > valid_lft forever preferred_lft forever > inet 127.53.0.2/8 scope host secondary lo:1 > valid_lft forever preferred_lft forever > inet6 ::2/128 scope global > valid_lft forever preferred_lft forever > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > jdebp % Moreover, one /can/ add multiple IP addresses to an interface with |ip| in such a way that |ifconfig| sees them, by assigning labels: > jdebp % sudo ip address del 127.53.0.1/32 dev lo > jdebp % sudo ip address add 127.53.0.1 dev lo label lo:2 > jdebp % ifconfig lo:2|head -n 2 > lo:2 Link encap:Local Loopback > inet addr:127.53.0.1 Mask:255.255.255.255 > jdebp % One interesting tidbit in the aforegiven: The network mask inference calculation differs. |ip| inferred 127.53.0.1/32 whereas |ifconfig| inferred 127.53.0.2/8.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 11:50 +0200
Re: no /etc/inittab Erik Christiansen <dvalin@internode.on.net> - 2017-08-14 13:00 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 13:10 +0200
Re: no /etc/inittab Nicolas George <george@nsup.org> - 2017-08-14 13:40 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 13:50 +0200
Re: no /etc/inittab Brian <ad44@cityscape.co.uk> - 2017-08-14 18:10 +0200
Re: no /etc/inittab Joel Rees <joel.rees@gmail.com> - 2017-08-14 23:20 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 14:00 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 15:00 +0200
Re: no /etc/inittab Nicolas George <george@nsup.org> - 2017-08-14 15:30 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 15:50 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 16:00 +0200
Re: no /etc/inittab Darac Marjal <mailinglist@darac.org.uk> - 2017-08-14 16:10 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 16:30 +0200
Re: no /etc/inittab Darac Marjal <mailinglist@darac.org.uk> - 2017-08-14 16:40 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 18:30 +0200
Re: no /etc/inittab Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-14 16:30 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 17:30 +0200
Re: no /etc/inittab Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-14 18:20 +0200
Re: no /etc/inittab David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 19:10 +0200
Re: no /etc/inittab Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 12:10 +0200
Re: no /etc/inittab David Wright <deblis@lionunicorn.co.uk> - 2017-08-19 22:10 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-19 23:00 +0200
Re: no /etc/inittab deloptes <deloptes@gmail.com> - 2017-08-14 16:30 +0200
No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 12:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 14:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 15:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Dejan Jocic <jodejka@gmail.com> - 2017-08-15 15:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 15:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 16:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Darac Marjal <mailinglist@darac.org.uk> - 2017-08-15 16:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 16:50 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 18:30 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:00 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 19:20 +0200
Re: No ifconfig David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:30 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 10:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 11:00 +0200
Re: No ifconfig [Was: no /etc/inittab] <tomas@tuxteam.de> - 2017-08-16 12:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-16 14:30 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 16:20 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] <tomas@tuxteam.de> - 2017-08-16 16:40 +0200
Re: Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 17:20 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 18:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-15 22:00 +0200
Re: No ifconfig Curt <curty@free.fr> - 2017-08-15 22:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-16 04:00 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:50 +0200
No ifconfig [Was: no /etc/inittab] Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 09:40 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 15:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Dejan Jocic <jodejka@gmail.com> - 2017-08-15 16:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 17:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:30 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 21:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 04:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 20:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Felix Miata <mrmazda@earthlink.net> - 2017-08-15 16:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-15 16:40 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:10 +0200
Re: No ifconfig Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-19 14:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 17:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Glenn English <ghe2001@gmail.com> - 2017-08-15 18:40 +0200
Re: No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:40 +0200
Re: No ifconfig Zenaan Harkness <zenaan@freedbms.net> - 2017-08-19 11:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 15:30 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 15:50 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:20 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:20 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:30 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 17:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 20:40 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 21:00 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:30 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 21:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:50 +0200
Re: No ifconfig Liam O'Toole <liam.p.otoole@gmail.com> - 2017-08-20 02:10 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 16:50 +0200
Re: No ifconfig Ansgar Burchardt <ansgar@debian.org> - 2017-08-20 12:00 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-21 15:30 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 16:30 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 19:50 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-20 14:40 +0200
Re: No ifconfig <tomas@tuxteam.de> - 2017-08-20 14:50 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-20 17:50 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-21 05:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 06:00 +0200
Re: No ifconfig Zenaan Harkness <zenaan@freedbms.net> - 2017-08-19 23:40 +0200
Re: No ifconfig Liam O'Toole <liam.p.otoole@gmail.com> - 2017-08-20 02:20 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-20 14:50 +0200
Re: No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-21 07:20 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-21 15:00 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 15:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 17:10 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 18:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 19:10 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 19:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 19:50 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 20:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 21:50 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-22 17:20 +0200
Re: No ifconfig Sven Hartge <sven@svenhartge.de> - 2017-08-22 17:20 +0200
Re: No ifconfig Eike Lantzsch <zp6cge@gmx.net> - 2017-08-21 17:30 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 10:40 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 10:20 +0200
Re: No ifconfig Curt <curty@free.fr> - 2017-08-21 17:30 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 19:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 20:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 20:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 21:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 03:40 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 21:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 03:50 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-16 06:40 +0200
Re: no /etc/inittab Brian <ad44@cityscape.co.uk> - 2017-08-14 21:30 +0200
Re: obsolete wiki (was: no /etc/inittab) Felix Miata <mrmazda@earthlink.net> - 2017-08-14 22:40 +0200
Re: obsolete wiki (was: no /etc/inittab) Brian <ad44@cityscape.co.uk> - 2017-08-14 23:20 +0200
Re: obsolete wiki Felix Miata <mrmazda@earthlink.net> - 2017-08-14 23:50 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-15 16:10 +0200
Re: obsolete wiki Brian <ad44@cityscape.co.uk> - 2017-08-15 19:20 +0200
Re: obsolete wiki Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:40 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-16 14:30 +0200
Re: obsolete wiki Brian <ad44@cityscape.co.uk> - 2017-08-16 16:20 +0200
Re: obsolete wiki Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 11:20 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-28 12:50 +0200
obsolete wiki (was: no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 08:20 +0200
Re: obsolete wiki (was: no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-15 00:20 +0200
Re: obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 11:50 +0200
Re: obsolete wiki (no /etc/inittab) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-19 15:10 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-19 16:00 +0200
Re: obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 20:00 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:10 +0200
Re: obsolete wiki (no /etc/inittab) Brian <ad44@cityscape.co.uk> - 2017-08-19 21:30 +0200
Re: obsolete wiki (no /etc/inittab) Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-21 15:10 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-21 16:30 +0200
obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 09:00 +0200
Re: no /etc/inittab Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:40 +0200
csiph-web