Linux API to create logical interface on a physical interface?

From: Zarko Coklin (zarko_coklin_at_yahoo.com)
Date: 07/12/04


Date: 11 Jul 2004 17:20:27 -0700

I am trying to find an API to create a logical interface on a physical
interface. For people familiar with Solaris I am trying to find
replacement for:
ioctl(fd, SIOCLIFADDIF, &if_req,sizeof(struct ifreq)

Does anybody know how to do that on Linux? Comments/code
samples/references are highly appreciated.

Thanks,
Zarko Coklin



Relevant Pages

  • Linux API to create a logical interface
    ... I am trying to find an API to create a logical interface on a physical ... For people familiar with Solaris I am trying to find ... replacement for: ...
    (alt.os.linux.suse)
  • logical interface and VLAN
    ... but after searching on the internet I'm not sure ... if this is supported by Solaris 10. ... I would like to create logical interface that will be in a different ... vlan then the real interface. ...
    (SunManagers)
  • Re: What is the easiest way to setup virtual IPs on the same NIC
    ... Solaris 7's ifconfig does not seem to support "addif" ... but you can still specify the logical interface manually, ...
    (comp.unix.solaris)