gemelen: (Default)
[personal profile] gemelen
Via
ovh docs,
smartos wiki
and search results.
1. Create "Virtual Mac" in web-manager (type doesnt matter) and assign obtained failover ip to it
2. Login and execute in global zone:
a. create vnic
  dladm create-vnic -m <virtual mac-addr> -l <real nic name> <new vnic name>

b. assign failover-ip
  ifconfig <new vnic name> plumb
  ifconfig <new vnic name> inet <failover-ip> netmask 255.255.255.255 broadcast <failover-ip> up

c. Add routes (in assume that default route already exists)
  route add <server-ip three octets>.0/24 <failover-ip> -interface -ifp <new vnic name>
  routeadm -e ipv4-forwarding
  routeadm -e ipv4-routing
  routeadm -u

4.[Optional] Persist configuration with some custom smf sciprts

Profile

gemelen: (Default)
gemelen

June 2025

M T W T F S S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 5th, 2026 07:18
Powered by Dreamwidth Studios