Re: Dummy Network Interface

From: Robert Watson (rwatson_at_freebsd.org)
Date: 01/15/04

  • Next message: Vlad Galu: "Re: Dummy Network Interface"
    Date: Wed, 14 Jan 2004 22:12:16 -0500 (EST)
    To: ms419@freezone.co.uk
    
    

    On Tue, 13 Jan 2004 ms419@freezone.co.uk wrote:

    > How does one create a dummy network interface in FreeBSD?

    Dummy in what sense? An interface where the packets are simply dropped?
    if_tap and if_tun both provide pseudo-device in /dev that a userspace
    process can attach to in order to emulate a network interface (used by
    VMWare, ppp, various tunneling bits, ...) In the absense of a process
    sitting on the device, they simply drop the packets. Although they may
    get garbage-collected if unused on -CURRENT... You can also use netgraph
    to bring pseudo-interfaces, perhaps without anywhere for packets to go.

    And, I suppose, create in what sense? Are you looking at this from a
    developer perspective, or you just need one from a user perspective. If
    writing a device driver (and hence needing a starting point), if_tap and
    if_tun are fairly decent models for a pseudo-interface.

    Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
    robert@fledge.watson.org Senior Research Scientist, McAfee Research

    _______________________________________________
    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: Vlad Galu: "Re: Dummy Network Interface"

    Relevant Pages

    • Re: RiscPC has stopped talking to router
      ... EtherM interface statistics ... Packets transmitted: 330 ... Module 'EtherM' is a supplier titled 'EtherM device driver' ... Small mbufs in use: 1 ...
      (comp.sys.acorn.networking)
    • Terminal Server Setup
      ... description GRE Tunnel Source Interface ... input packets with dribble condition detected ... output buffer failures, ... Serial1/0 is up, line protocol is up ...
      (comp.dcom.sys.cisco)
    • Re: Tuning ADSL lines on Ciscos roputer - LONG -
      ... Last clearing of "show interface" counters never ... minute input rate 0 bits/sec, ... input packets with dribble condition detected ... output buffer failures, ...
      (comp.dcom.sys.cisco)
    • Re: Terminal Server Setup
      ... description GRE Tunnel Source Interface ... input packets with dribble condition detected ... output buffer failures, ...
      (comp.dcom.sys.cisco)
    • Re: Excessive interface resets on Cisco 1841 and FIOS line
      ... huge amount of interface resets on the WAN interface, ... access-list 4 remark HTTP Access-class list ... input packets with dribble condition detected ... output buffer failures, ...
      (comp.dcom.sys.cisco)