How to create a persistent point-to-point connection with Solaris 11

(Doc ID 2308820.1)

Last updated on SEPTEMBER 20, 2017

Applies to:

Solaris x64/x86 Operating System - Version 11.1 and later
Information in this document applies to any platform.

Goal

Create a persistent point-to-point connection with Solaris 11 which survives reboots.

 

This does not work:

root@sol11u3b:~# ipadm create-ip net2
root@sol11u3b:~# ipadm create-addr -T static -a
local=12.1.21.2,remote=10.1.212.1 net2/v4pp
ipadm: cannot create address: Invalid argument provided

  

This does work but it does not survive a reboot:

root@sol11u3b:~# ipadm create-addr -T static -a local=12.1.21.2 net2/v4pp
root@sol11u3b:~# ifconfig net2 destination 10.1.212.1
root@sol11u3b:~# ifconfig -a
[...]
net2: flags=100001000851<UP,POINTOPOINT,RUNNING,MULTICAST,IPv4,PHYSRUNNING>
mtu 1500 index 4
inet 12.1.21.2 --> 10.1.212.1 netmask ff000000
ether 0:c:29:da:13:49
[...]

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms