Mike's PBX Cookbook

Set the PBX IP address

Overlay 117 is used to configure, diagnose, and maintain IP network interface addresse(s) and functions.
Typing a question mark (?) at the => prompt gives an extensive listing of all the available commands.

To set the PBX (ELAN) IP address:

Create a new host (where NAME is a label)
LD 117
=> NEW HOST <NAME> xxx.xxx.xxx.xxx

eg: NEW HOST PRIMARY_ENET 10.10.10.5
    NEW HOST SECONDARY_ENET 10.10.10.6
(HA only: IP address of the 'inactive' core)

Assign the new host to the Primary IP address
LD 117
=> CHG ELNK ACTIVE <NAME>
=> CHG ELNK INACTIVE <NAME>

eg: CHG ELNK ACTIVE PRIMARY_ENET
    CHG ELNK INACTIVE SECONDARY_ENET
(HA only)

Set the subnet mask:
LD 117
=> CHG MASK xxx.xxx.xxx.xxx
Set the gateway:
LD 117
=> NEW ROUTE xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy

eg: NEW ROUTE 0.0.0.0 10.10.10.254

Update the database:
LD 117
=> UPDATE DBS
Enable the ELNK (you must toggle it to enable any changes):
LD 137
. DIS ELNK
OK
. ENL ELNK
OK
Verify the ENLK:
LD 137
. STAT ENLK
ENABLED
Verify the ELAN
LD 48
. STAT ELAN
ELAN DISABLED
. ENL ELAN
OK
Verify the host, subnet, and gateway:
LD 117
=> PRT HOST
:
=> PRT MASK
:
=> PRT ROUTE
Try and PING things:
LD 117
=> PING xxx.xxx.xxx.xxx

The Call server is on the ELAN, you cannot ping the TLAN from it.

TTY Output:

LD 117

=> prt host
 ID  Hostname         IP Address
  1  LOCAL_PPP_IF     137.135.192.4
  2  REMOTE_PPP_IF    100.1.1.1
  3  PRIMARY_ENET     10.10.10.5
  4  SECONDARY_ENET   10.10.10.6
  5  GATEWAY          10.10.10.254
OK

=> prt route
 ID  Network          Gateway
  1  0.0.0.0          10.10.10.254
OK

=> prt elnk
ACTIVE   ETHERNET: "PRIMARY_ENET" "10.10.10.5"         IP address of core when 'active'
INACTIVE ETHERNET: "SECONDARY_ENET" "10.10.10.6"       IP address of core when 'inactive'
OK

=>