> Giorgos Keramidas writes:
> > Is there some way to ifconfig up a dummy ethernet interface, one that
> > will work like the loopback one (lo0) on FreeBSD?
> 
> If you want an interface that loops back, you can have more than
> one loopback interface (lo0, lo1, lo2, ...).
> 
> If you want an interface that discards everthing, you can create
> a netgraph interface ("ngctl mkpeer iface foo inet") and leave it
> unconnected.

Or do it with the proper BSD pseudo-device:
#  The `disc' pseudo-device implements a minimal network interface,
#  which throws away all packets sent and never receives any.  It is
#  included for testing purposes.


-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to