Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #182006
| From | Joel Rees <joel.rees@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: ifconfig network resolution |
| Date | 2017-06-10 12:20 +0200 |
| Message-ID | <tQLER-5LG-3@gated-at.bofh.it> (permalink) |
| References | <tQDQZ-Gs-1@gated-at.bofh.it> <tQIxj-3IT-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jun 10, 2017 at 3:52 PM, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote: > Le 10/06/2017 à 03:57, Joel Rees a écrit : >> >> Experimenting from the command line, I find myself puzzled about the >> arguments for ifconfig. >> >> Reading the manual, it would appear that the arguments for ifconfig >> should be something like this: >> >> ifconfig eth0 netmask 255.255.255.224 netmask 255.255.255.224 >> broadcast 10.19.23.223 10.19.23.94 >> >> But the command returns with >> >> SIOCSIFNETMASK: Can't allocate this address. >> SIOCSIFBRDADDR: Can't allocate this address. > > > You set the mask twice. Actually, I did not set the the mask twice, I just typed it it twice. ;/ I hand-typed it from memory, as I noted in my followup. But I did check, and I get the same kinds of results when I without typing extra parameters. > The address must be set before the mask and broadcast address. Now there's another puzzle, because the man page indicates that the address should come after the options. I had been used to typing it before the options, and was getting the same kind of results with the address before the parameters, I think. -- Joel Rees One of these days I'll get someone to pay me to design a language that combines the best of Forth and C. Then I'll be able to leap wide instruction sets with a single #ifdef, run faster than a speeding infinite loop with a #define, and stop all integer size bugs with a bare cast. More of my delusions: http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html http://reiisi.blogspot.jp/p/novels-i-am-writing.html
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point) Joel Rees <joel.rees@gmail.com> - 2017-06-10 04:00 +0200
Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point) Joel Rees <joel.rees@gmail.com> - 2017-06-10 08:50 +0200
Re: ifconfig network resolution Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-06-10 09:00 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-10 12:20 +0200
Re: ifconfig network resolution Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-06-10 13:20 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-10 16:40 +0200
Re: ifconfig network resolution Joe <joe@jretrading.com> - 2017-06-10 17:00 +0200
Re: ifconfig network resolution Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-06-10 22:10 +0200
Re: ifconfig network resolution Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-06-10 22:20 +0200
Re: ifconfig network resolution Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-11 07:10 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-11 10:00 +0200
Re: ifconfig network resolution Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-13 14:30 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-10 23:00 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-11 01:00 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-11 01:50 +0200
Re: ifconfig network resolution Andy Smith <andy@strugglers.net> - 2017-06-11 04:20 +0200
Re: ifconfig network resolution Joel Rees <joel.rees@gmail.com> - 2017-06-11 09:50 +0200
Re: ifconfig network resolution Richard Owlett <rowlett@cloud85.net> - 2017-06-13 12:30 +0200
Introductory iproute2 documentation (Was Re: ifconfig network resolution) Andy Smith <andy@strugglers.net> - 2017-06-13 14:40 +0200
Re: Introductory iproute2 documentation (Was Re: ifconfig network resolution) Richard Owlett <rowlett@cloud85.net> - 2017-06-13 16:50 +0200
Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point) Joe <joe@jretrading.com> - 2017-06-11 10:00 +0200
Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point) Joel Rees <joel.rees@gmail.com> - 2017-06-11 10:10 +0200
Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point) Joe <joe@jretrading.com> - 2017-06-11 10:20 +0200
csiph-web