On Wed, 17 Jan 2001, lamp wrote:
>> From: lartc-admin@mailman.ds9a.nl
[mailto:lartc-admin@mailman.ds9a.nl]On
>> Behalf Of John Russo
>> Sent: Thursday, January 18, 2001 2:32 AM
>> To: lartc@mailman.ds9a.nl
>> Subject: [LARTC] subinterfaces
>>
>> Does Linux support the concept of subinterfaces? If so can anyone
point
>> me in the right direction for docs?
> 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
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.
--
/\ / | arthurvl@sci.kun.nl | 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