Which two actions are used to permanently configure a new interface?

Which two actions are used to permanently configure a new interface?

Which two actions are used to permanently configure a new interface?

A.
dladm set-linkprop mtu=1500 net2

B.
ipadm create-addr –T static –a 10.2.3.5/24 net2/v4static

C.
ipadm create-addr –a local=2ff0::f3ad/64 –T static –t net2/v6dhcp

D.
ipadm create-ip net2



Leave a Reply 1

Your email address will not be published. Required fields are marked *


rocky

rocky

B and D are correct:

root@solaris:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok — —
lo0/v4 static ok — 127.0.0.1/8
lo0/v6 static ok — ::1/128
net0 ip ok — —
net0/v4 dhcp ok — 10.0.2.15/24
net1 ip ok — —
net1/v4 static ok — 192.168.56.111/24
root@solaris:~# ipadm create-ip net2
root@solaris:~# ipadm create-addr -T static -a 192.168.0.100/24 net2/v4static
root@solaris:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok — —
lo0/v4 static ok — 127.0.0.1/8
lo0/v6 static ok — ::1/128
net0 ip ok — —
net0/v4 dhcp ok — 10.0.2.15/24
net1 ip ok — —
net1/v4 static ok — 192.168.56.111/24
net2 ip ok — —
net2/v4static static ok — 192.168.0.100/24
root@solaris:~#
root@solaris:~# ping 192.168.0.100
192.168.0.100 is alive