lkml.org 
[lkml]   [2001]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: What is the best way for multiple net_devices
    andrew may wrote:
    >
    > Is there a standard way to make multiple copies of a network device?
    >
    > For things like the bonding/ipip/ip_gre and others they seem to expect
    > insmod -o copy1 module.o
    > insmod -o copy2 module.o

    The network driver should provide the capability to add new devices.

    Most drivers currently have the capability to do N devices, where N is
    some constant set at compile time. Typically you use ifconfig, a
    special-purpose userland program, or sometimes even sysctls to configure
    additional net devices.

    It's certainly possible to modify the driver to create additional
    network interfaces on the fly, but a lot of drivers are not coded to do
    that at present.

    --
    Jeff Garzik | Andre the Giant has a posse.
    Building 1024 |
    MandrakeSoft |
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:55    [W:5.440 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site