---
title: default()
framework: networkextension
role: symbol
role_heading: Type Method
path: networkextension/neipv6route/default()
---

# default()

A convenience method for creating the default IPv4 route.

## Declaration

```swift
class func `default`() -> NEIPv6Route
```

## Return Value

Return Value A NEIPv6Route object containing the default IPv6 route.

## Discussion

Discussion Set this route in the includedRoutes array in NEIPv6Settings to specify that all IPv6 network traffic be routed to the TUN interface by default.

## See Also

### Creating an IPv6 Route

- [init(destinationAddress:networkPrefixLength:)](networkextension/neipv6route/init(destinationaddress:networkprefixlength:).md)
