Skip to contentSkip to conversation

oooPS FW: [LARTC] subinterfaces

DISCUSSION lamp [email protected] 2 participants 2 messages Jan 17, 2001 – Jan 18, 2001

lore
Share & tools
lore

lamp [email protected]

author
#0 lore raw

<PRE>
-----Original Message-----
From: lamp [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]
Sent: Wednesday, January 17, 2001 10:39 PM
To: John Russo
Subject: RE: [LARTC] subinterfaces

do you mean like virtual IPs?
syntax is eth0,eth0:0,eth0:1,etc.
just write up ifcfg-eth0:X
and use the ifup script

or maybe you are not talking about this at all

-----Original Message-----
From: <A HREF="mailto:[email protected]">[email protected]</A> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]On Behalf Of John Russo
Sent: Thursday, January 18, 2001 2:32 AM
To: <A HREF="mailto:[email protected]">[email protected]</A>
Subject: [LARTC] subinterfaces

Does Linux support the concept of subinterfaces? If so can anyone point me in the right direction for docs?

Thank you,

John

_______________________________________________
LARTC mailing list / <A HREF="mailto:[email protected]">[email protected]</A>
<A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO:
<A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A>

</PRE>

#1 lore raw

<PRE>On Wed, 17 Jan 2001, lamp wrote:

&gt;&gt;<i> From: <A HREF="mailto:[email protected]">[email protected]</A> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]On </I>&gt;&gt;<i> Behalf Of John Russo
</I>&gt;&gt;<i> Sent: Thursday, January 18, 2001 2:32 AM
</I>&gt;&gt;<i> To: <A HREF="mailto:[email protected]">[email protected]</A>
</I>&gt;&gt;<i> Subject: [LARTC] subinterfaces
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Does Linux support the concept of subinterfaces? If so can anyone point
</I>&gt;&gt;<i> me in the right direction for docs?
</I>
&gt;<i> do you mean like virtual IPs?
</I>&gt;<i> syntax is eth0,eth0:0,eth0:1,etc.
</I>&gt;<i> just write up ifcfg-eth0:X
</I>&gt;<i> and use the ifup script
</I>
&gt;<i> or maybe you are not talking about this at all
</I>
Actually, yes, he was talking about something like this. However, to
abstract from your RedHat-centric view and old-fashioned alias
specifications, I'll try to answer more fully.

While Linux does allow multiple addresses to be associated with one interface (which is easy to do with Alexey's ip command, using the addr subcommand), I'm not exactly sure whether this holds for non-IP addressfamilies. The virtual ethernet syntax lamp provided is not necessary anymore, and is basically ignored by the kernel, IIRC.

However, given the possibility of adding multiple IP addresses to a single interface and the flexibility the routing code provides it should be possible to handle the tasks usually handled by subinterfaces, at least for the IP world.

Doei, Arthur.

Signature · 7 lines
  /\    / |      <A HREF="mailto:[email protected]">[email protected]</A>      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching



</PRE>