[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifconfig network resolution



On Sun, Jun 11, 2017 at 11:09 AM, Andy Smith <andy@strugglers.net> wrote:
> Hi Joel,
>
> On Sun, Jun 11, 2017 at 07:55:50AM +0900, Joel Rees wrote:
>> # If the address to be assigned is given first, which I think everyone
>> # pretty much does:
>>
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1 down
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1
>> 10.19.201.198 netmask 255.255.255.224 broadcast 10.19.201.223
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1
>> eth0:1    Link encap:Ethernet  HWaddr 53:bc:81:02:21:bb
>>           inet addr:10.19.201.198  Bcast:10.19.201.223  Mask:255.255.255.224
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           Interrupt:42 Base address:0xa000
>>
>> # it seems to see the address first and set things as intended in one pass.
>> ---------------------------------
>>
>> Which is confusing to my middle-aged brain.
>
> Have you considered just using "ip"?

Once upon a time, I tried to learn ip.
It does not stick in my memory.
The fires burning from systemd
Still feel fresh and hot to me.
Too hot to think of words more pithy.
But when I left RH behind I felt free.

For a year or two.

When the inevitable happens, I'll probably just kill myself trying to
rewrite the whole thing from scratch, with a unified,logical basis,
and short, concise commands that don't try to take over the whole
system and the kitchen sink.

Just leave me alone in my codgerism.

--
Joel Rees

Trying to re-invent the industry all by myself:
http://defining-computers.blogspot.jp/


Reply to: