Solaris IPMP

From Lolly's Wiki
Revision as of 14:31, 8 January 2015 by Lollypop (talk | contribs)
Jump to navigationJump to search

IPMP

Einstellen der Konfiguration auf manuell

netadm enable -p ncp defaultfixed

Einfaches IPMP mit einem Standby-Interface

ipadm create-ip net0
ipadm create-ip net1
ipadm set-ifprop -p standby=on -m ip net1
ipadm create-ipmp -i net0 -i net1 ipmp0
ipadm create-addr -T static -a local=1.2.3.4/24 ipmp0/v4

Link-based IPMP in einem VLAN (hier VLAN 2)

# VLAN-Interfaces konfigurieren
dladm create-vlan -l net1 -v 2 net1_vlan2
dladm create-vlan -l net2 -v 2 net2_vlan2
# VLAN-Interfaces für IP konfigurieren
ipadm create-ip net1_vlan2
ipadm create-ip net2_vlan2
# IPMP-Interface konfigurieren
ipadm create-ipmp -i net1_vlan2,net2_vlan2 ipmp0
# Und ganz normal eine IP auf das IPMP-Interface konfigureren
ipadm create-addr -T static -a local=10.1.2.106/24 ipmp0
# Und die Defaultroute permanent setzen
route -p add default 10.1.2.254