---
title: NEIPv4Route
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/neipv4route
---

# NEIPv4Route

The settings for an IPv4 route.

## Declaration

```swift
class NEIPv4Route
```

## Mentioned in

Routing your VPN network traffic

## Topics

### Creating an IPv4 Route

- [init(destinationAddress:subnetMask:)](networkextension/neipv4route/init(destinationaddress:subnetmask:).md)
- [default()](networkextension/neipv4route/default().md)

### Accessing IPv4 Route Properties

- [destinationAddress](networkextension/neipv4route/destinationaddress.md)
- [destinationSubnetMask](networkextension/neipv4route/destinationsubnetmask.md)
- [gatewayAddress](networkextension/neipv4route/gatewayaddress.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Routing network traffic

- [includedRoutes](networkextension/neipv4settings/includedroutes.md)
- [excludedRoutes](networkextension/neipv4settings/excludedroutes.md)
