Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7278

ifconfig(8) vs. iproute

From Ivan Shmakov <oneingray@gmail.com>
Newsgroups comp.os.linux.networking, comp.os.linux.misc
Subject ifconfig(8) vs. iproute
Followup-To comp.os.linux.networking
Date 2013-02-09 17:18 +0000
Organization Aioe.org NNTP Server
Message-ID <871ucp8ky7.fsf_-_@violet.siamics.net> (permalink)
References (16 earlier) <ketnio$d8v$1@news.albasani.net> <keurcp$1t66$1@saria.nerim.net> <keuu7k$u32$1@news.albasani.net> <kf5geh$140o$1@saria.nerim.net> <kf5onb$mf0$1@dont-email.me>

Cross-posted to 2 groups.

Followups directed to: comp.os.linux.networking

Show all headers | View raw


>>>>> J G Miller <miller@yoyo.ORG> writes:
>>>>> Pascal Hambourg explained:

	[Cross-posting to news:comp.os.linux.networking, and setting
	Followup-To: there.]

 >> All these *except eth0:1* are indeed examples of virtual interfaces.

 > Is *alias* the correct name for eth0:{0,1,2,3,...} eth1:{0,1,2,3...}
 > etc?

 > From the manual page for ifconfig

	... Isn't ifconfig considered obsolete these days, in favor of
	the almighty ip(8)?  And, FWIW, ip(8) doesn't seem to contain
	the word "alias."  (And neither does its output; see below.)

	AIUI, initially, Linux (the kernel) allowed just one IPv4
	address per interface.  Thus, the notion of "aliases" -- several
	"logical" network interface per single "physical" one -- was
	introduced.  With the kernel's IP implementation extended to
	handle the case in an (arguably) better and more logical
	fashion, the very notion of an "interface alias" became
	obsolete.  (And, as was already noted in this thread, these
	weren't "first-class" interfaces to begin with; for instance, I
	doubt that one'd use such an "alias" in the route(8) command.)

$ ip addr list 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether f0:12:34:56:78:9a brd ff:ff:ff:ff:ff:ff
    inet 192.0.2.34/24 brd 192.0.2.255 scope global eth5
    inet6 2001:db8:1337::cafe/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 2001:db8:2001::da:42/64 scope global 
       valid_lft forever preferred_lft forever
...
$ 

[...]

-- 
FSF associate member #7257

Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-15 10:07 -0800
  Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-15 18:30 +0000
  Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-15 18:37 +0000
    Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-16 00:59 -0800
      Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-16 10:20 +0000
      Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-01-16 12:00 +0000
        Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-16 04:45 -0800
          Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-01-16 12:51 +0000
          Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-16 13:11 +0000
            Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-16 06:28 -0800
            Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-16 14:37 +0000
              Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-16 14:58 +0000
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-16 15:37 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-16 08:24 -0800
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-20 19:39 +0100
          Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-16 17:35 +0000
            Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-20 19:42 +0100
  Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-01-15 22:30 +0000
    Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-16 02:41 +0000
      Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-01-16 19:06 +0000
        Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-16 20:27 +0000
      Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-20 19:46 +0100
        Re: Using a public IP-address in my home private network? Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2013-01-20 22:07 +0000
          Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-21 05:31 +0000
            Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-21 00:17 -0800
              Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-21 17:33 +0000
              Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-01-21 21:15 +0000
                Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-21 21:56 +0000
                Re: Using a public IP-address in my home private network? Grant <omg@grrr.id.au> - 2013-01-22 10:11 +1100
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-21 23:42 +0000
                Re: Using a public IP-address in my home private network? Bit Twister <BitTwister@mouse-potato.com> - 2013-01-22 00:09 +0000
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-22 00:33 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-22 02:53 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-22 19:05 +0000
                Re: Using a public IP-address in my home private network? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-01-22 21:16 +0200
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-22 23:53 -0800
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-23 10:28 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-23 03:28 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-23 17:26 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-23 13:02 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-23 22:12 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-24 05:12 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-24 17:09 +0000
                Re: Using a public IP-address in my home private network? cipher <cipher@nospamforme.org> - 2013-01-31 23:28 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-01 00:33 +0000
                Re: Using a public IP-address in my home private network? James Moe <jimoeDESPAM@sohnen-moe.com> - 2013-01-23 09:56 -0700
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-23 17:25 +0000
                Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-01-23 21:51 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-24 05:20 -0800
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 11:49 +0100
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 12:08 +0100
                Re: Using a public IP-address in my home private network? James Moe <jimoeDESPAM@sohnen-moe.com> - 2013-01-21 16:49 -0700
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-22 00:00 +0000
                Re: Using a public IP-address in my home private network? James Moe <jimoeDESPAM@sohnen-moe.com> - 2013-01-21 23:32 -0700
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-22 19:02 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 12:15 +0100
                Re: Using a public IP-address in my home private network? s_dubrovich@yahoo.com - 2013-01-22 09:08 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-22 19:07 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-01-22 19:38 +0000
                Re: Using a public IP-address in my home private network? s_dubrovich@yahoo.com - 2013-01-22 19:52 -0800
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 12:02 +0100
              Re: Using a public IP-address in my home private network? James Moe <jimoeDESPAM@sohnen-moe.com> - 2013-01-21 16:46 -0700
              Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 11:56 +0100
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-01-27 14:27 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-27 18:21 +0100
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-30 04:17 -0800
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-01-30 12:43 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-30 23:46 -0800
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-01-31 09:03 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-31 03:40 -0800
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-31 09:19 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-31 03:44 -0800
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-31 12:01 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-01 01:49 +0100
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-01-31 23:19 -0800
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-01 10:23 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-01 11:23 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 12:22 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-02 13:49 +0000
                Re: Using a public IP-address in my home private network? Jean-David Beyer <jeandavid8@verizon.net> - 2013-02-02 10:13 -0500
                [OT] Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 16:30 +0100
                Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-02-02 17:48 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-02 18:16 +0000
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-02-02 20:11 +0000
                Re: Using a public IP-address in my home private network? John Hasler <jhasler@newsguy.com> - 2013-02-02 14:51 -0600
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-02 21:27 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-02 22:30 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-02 22:49 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 00:45 +0000
                Re: Using a public IP-address in my home private network? cipher <cipher@nospamforme.org> - 2013-02-03 00:52 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 11:01 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-03 13:15 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 13:20 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-03 15:08 +0000
                Re: Using a public IP-address in my home private network? cipher <cipher@nospamforme.org> - 2013-02-05 10:22 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-05 15:20 +0000
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-02-05 17:22 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-05 17:59 +0000
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-02-05 19:40 +0000
                Re: Using a public IP-address in my home private network? John Hasler <jhasler@newsguy.com> - 2013-02-05 14:17 -0600
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-06 01:22 +0000
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-02-06 02:11 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-06 03:21 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 21:19 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-06 00:21 +0000
                Re: Using a public IP-address in my home private network? Whiskers <catwheezel@operamail.com> - 2013-02-03 15:21 +0000
                Re: Using a public IP-address in my home private network? John Hasler <jhasler@newsguy.com> - 2013-02-02 16:24 -0600
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-02 22:46 +0000
                Re: Using a public IP-address in my home private network? John Hasler <jhasler@newsguy.com> - 2013-02-02 17:57 -0600
                Re: Using a public IP-address in my home private network? John Hasler <jhasler@newsguy.com> - 2013-02-02 13:07 -0600
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 16:24 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-01 11:20 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 12:19 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-02 13:48 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 16:17 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-02 15:47 +0000
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-02 16:26 +0000
                Re: Using a public IP-address in my home private network? dspfun <dspfun@hotmail.com> - 2013-02-04 03:19 -0800
                Re: Using a public IP-address in my home private network? unruh <unruh@invalid.ca> - 2013-02-04 17:03 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 19:51 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-06 01:14 +0100
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-06 09:07 +0000
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-06 13:58 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-07 01:09 +0100
                Re: Using a public IP-address in my home private network? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-07 00:58 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-09 13:46 +0100
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-09 15:07 +0000
                Re: Using a public IP-address in my home private network? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-09 17:06 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-09 17:19 +0000
                ifconfig(8) vs. iproute Ivan Shmakov <oneingray@gmail.com> - 2013-02-09 17:18 +0000
                Re: Using a public IP-address in my home private network? Robert Riches <spamtrap42@jacob21819.net> - 2013-02-10 04:44 +0000
                Re: Using a public IP-address in my home private network? J G Miller <miller@yoyo.ORG> - 2013-02-10 14:14 +0000
                Re: Using a public IP-address in my home private network? cipher <cipher@nospamforme.org> - 2013-02-11 00:19 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-06 01:09 +0100
                Re: Using a public IP-address in my home private network? cipher <cipher@nospamforme.org> - 2013-02-04 21:46 +0000
                Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 17:30 +0100
            Re: Using a public IP-address in my home private network? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-01-25 01:44 +0100

csiph-web