Solaris IPMP: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Einstellen der Konfiguration auf manuell== | |||
<pre> | |||
netadm enable -p ncp defaultfixed | |||
</pre> | |||
==Einfaches IPMP mit einem Standby-Interface== | |||
<pre> | <pre> | ||
ipadm create-ip net0 | ipadm create-ip net0 | ||
Line 5: | Line 11: | ||
ipadm create-ipmp -i net0 -i net1 ipmp0 | ipadm create-ipmp -i net0 -i net1 ipmp0 | ||
ipadm create-addr -T static -a local=1.2.3.4/24 ipmp0/v4 | ipadm create-addr -T static -a local=1.2.3.4/24 ipmp0/v4 | ||
</pre> | |||
==Link-based IPMP in einem VLAN (hier VLAN 2)== | |||
<pre> | |||
# 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 | |||
</pre> | </pre> | ||
[[Kategorie:Solaris]] | [[Kategorie:Solaris]] |
Revision as of 11:06, 11 December 2012
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