

# NetworkInterface
<a name="API_NetworkInterface"></a>

Describes a gateway's network interface.

## Contents
<a name="API_NetworkInterface_Contents"></a>

 ** Ipv4Address **   <a name="StorageGateway-Type-NetworkInterface-Ipv4Address"></a>
The Internet Protocol version 4 (IPv4) address of the interface.  
Type: String  
Required: No

 ** Ipv6Address **   <a name="StorageGateway-Type-NetworkInterface-Ipv6Address"></a>
The Internet Protocol version 6 (IPv6) address of the interface.  
This element returns IPv6 addresses for all gateway types except FSx File Gateway.
Type: String  
Required: No

 ** MacAddress **   <a name="StorageGateway-Type-NetworkInterface-MacAddress"></a>
The Media Access Control (MAC) address of the interface.  
This is currently unsupported and will not be returned in output.
Type: String  
Required: No

## See Also
<a name="API_NetworkInterface_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/storagegateway-2013-06-30/NetworkInterface) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/storagegateway-2013-06-30/NetworkInterface) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/storagegateway-2013-06-30/NetworkInterface) 