# Trait InterfaceType

#### Direct Known Users

EthernetInterface, IkeCryptoProfil, IKEGateway, IPSecCryptoProfil, IPsecTunnel, LoopbackInterface, TmpInterface, TunnelInterface, VlanInterface

#### Indirect Known Users

AggregateEthernetInterface
Located at network-classes/trait/InterfaceType.php

Methods summary
`public` | # `isEthernetType( )`
`public` | # `isIPsecTunnelType( )`
`public` | # `isAggregateType( )`
`public` | # `isTmpType( )`
`public` | # `isLoopbackType( )`
`public` | # `isTunnelType( )`
`public` | # `isVlanType( )`
`public boolean` | # `addIPv4Address( string $ip )` return true if change was successful false if not (duplicate ipaddress?) return true if change was successful false if not (duplicate ipaddress?) #### Parameters $ip `string` $ip #### Returns `boolean`
`public boolean` | # `API_addIPv4Address( `Address` $ip )` Add a ip to this interface, it must be passed as an object or string Add a ip to this interface, it must be passed as an object or string #### Parameters $ip ``Address`` $ip Object to be added, or String #### Returns `boolean`
`public boolean` | # `removeIPv4Address( string $ip )` return true if change was successful false if not (duplicate ipaddress?) return true if change was successful false if not (duplicate ipaddress?) #### Parameters $ip `string` $ip #### Returns `boolean`
`public boolean` | # `API_removeIPv4Address( `Address` $ip )` remove a ip address to this interface, it must be passed as an object or string remove a ip address to this interface, it must be passed as an object or string #### Parameters $ip ``Address`` $ip Object to be added, or String #### Returns `boolean`

Properties summary
`public mixed` | $importedByVSYS | `null` | #