Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz misiek@pld.ORG.PL
To: lartc@vger.kernel.org
Subject: [LARTC] IP Aliasing with "IP"?
Date: Tue, 30 Jan 2001 22:59:20 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416930@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416926@msgid-missing>

<PRE>On/Dnia Tue, Jan 30, 2001 at 06:08:00PM -0300, billy wrote/napisa³(a)
&gt;<i> &gt; ip addr add dev eth0 192.168.101.1 etc etc should work
</I>&gt;<i> OK, but what about eth0:0, the alias ? if I do something like:
</I>&gt;<i> # ip addr add dev eth0:0 192.168.101.1 etc etc
</I>&gt;<i> I get an error: 
</I>&gt;<i> cannot find device &quot;eth0:0&quot;
</I>[<A HREF="mailto:root@arm">root@arm</A> misiek]# ip addr add 1.1.1.1 dev eth0 label eth0:qpa
[<A HREF="mailto:root@arm">root@arm</A> misiek]# ifconfig | grep qpa
eth0:qpa  Link encap:Ethernet  HWaddr 00:E0:7D:8A:4C:79  

&gt;<i> but I can create eth0:0 with ifconfig, but &quot;ip link show&quot; does not show me 
</I>&gt;<i> the interfaces, but with &quot;ip route show&quot; I see all of the eth0:x as only eth0.
</I>&gt;<i> 
</I>&gt;<i> is this ok? I haev to create the &quot;virtual&quot; interfaces with ifconfig or do I 
</I>&gt;<i> have a way with ip?
</I>It's ok. Routing is to real device, not to so called ,,aliases''.

-- 
Arkadiusz Mi¶kiewicz, AM2-6BONE    [ PLD GNU/Linux IPv6 ]
<A HREF="http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/">http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/</A>   [ enabled ]


</PRE>

      parent reply	other threads:[~2001-01-30 22:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-30 20:50 [LARTC] IP Aliasing with "IP"? billy
2001-01-30 20:51 ` bert
2001-01-30 21:08 ` billy
2001-01-30 21:26 ` bert
2001-01-30 22:59 ` Arkadiusz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373940416930@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox