James Carlson wrote:
> Louwtjie Burger writes:
>
>> Why am I getting access denied to interface 1 (which does not exist) Why is
>> the system even defining kstat information for a unplumbed device?
>>
>
> That's up to the driver itself.
>
> For what it's worth, plumbing IP should not really have anything to do
> with this. The hardware itself exists whether IP is plumbed or not,
> and kstat is getting statistics from the hardware driver, not from IP.
>
This is something that will be confusing to folks coming from other
operating systems. The driver can exist, and can be passing traffic,
even if it does not have IP configured above it. "plumbing" only refers
to configuring IP on top of the device.
You can easily see this by running snoop(1M) on an unplumbed device.
There can be other protocol implementations that use unplumbed devices
as well. I think, for example, that the RARP service can run on a
device that is not plumbed for use with IP. (Once upon a time there
were other protocols that were popular in addition to IP ... IPX,
NetBIOS, EtherTalk, etc. All those have gone away in favor of IP-based
protocols.)
-- Garrett
_______________________________________________
networking-discuss mailing list
[email protected]