Creating Multiple Discard Interfaces

From: José María González (chema_at_cs.berkeley.edu)
Date: 03/10/05

  • Next message: Brooks Davis: "Re: Creating Multiple Discard Interfaces"
    Date: Wed, 9 Mar 2005 16:18:25 -0800
    To: freebsd-net@freebsd.org
    
    

    Hi,

    I'm trying to create several discard interfaces on 4.9-RELEASE, and I'm
    having 2 problems. This is what I see (comments started by //):

    # ifconfig -a
    de0: ...
    lo0: ...
    // these are my original interfaces

    # kldload if_disc

    # ifconfig -a
    de0: ...
    lo0: ...
    ds0: flags=8008<LOOPBACK,MULTICAST> mtu 65532
    // surprisingly enough, just loading the if_disc kernel module creates
    // the ds0 interface for me. Well, I can live with that.

    # ifconfig ds0 create
    ifconfig: SIOCIFCREATE: Invalid argument
    # ifconfig disc0 create
    ifconfig: SIOCIFCREATE: Invalid argument
    // This makes sens, as the ds0 interface is already created

    # ifconfig ds1 create
    ifconfig: SIOCIFCREATE: Invalid argument
    # ifconfig disc1 create
    ifconfig: SIOCIFCREATE: Invalid argument
    // 1st problem: How do I create ds1, ds2, etc.?

    // Now I want to get rid of the if_disc module
    # ifconfig ds0 down
    # ifconfig ds0 destroy
    ifconfig: SIOCIFDESTROY: Invalid argument
    #ifconfig disc0 destroy
    ifconfig: interface disc0 does not exist
    # kldunload -v -i 4
    Unloading if_disc.ko, id=4
    kldunload: can't unload file: Invalid argument
    // 2nd problem: How do I get rid of the if_disc module?

    Thanks for any help you can provide.
    -Chema

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Brooks Davis: "Re: Creating Multiple Discard Interfaces"

    Relevant Pages

    • RE: ipconfig No RUNNING message
      ... show RUNNING in the stdout when I run the ifconfig. ... > PB> both of these interfaces show RUNNING. ... > PB> Brian Pyle ... > PB> 327 N. Wenatchee Ave. ...
      (RedHat)
    • tun creation problem with security/openvpn
      ... create tun devices and I can't make them by hand with ifconfig. ... I've tried this for ifconfig.. ... ifconfig: SIOCIFCREATE: Invalid argument ...
      (freebsd-stable)
    • IPMP help on Solaris 10
      ... if the interfaces arent plumb then do: ... ifconfig e1000g0 plumb ... ifconfig e1000g0 group prod-ipmp ...
      (SunManagers)
    • Re: Solaris ipmp setup
      ... I decided to use this much easier setup that does not require the additional ... Verify local-mac-address is set to 'true'. ... Configure your additional network interfaces that you wish to use. ... # ifconfig e1000g1 plumb ...
      (SunManagers)
    • Re: AIX networking problem
      ... HACMP can run ifconfig delete. ... > down to the network interfaces. ... > interfaces are deleted, ... > The interfaces are brought back up and the inetd deamon is restarted. ...
      (comp.unix.aix)