Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# relayctl

relayctl for interactive relayd control

    $ sudo relayctl show summary
    Type      Id    Name                            Avlblty Status
    service    0    www                                     down
    table      0    webpool                                 active (2 hosts up)
    host       3    192.0.2.217                     0.00%   down
    host       2    192.0.2.216                     100.00% up
    host       1    192.0.2.215                     0.00%   down
    host       0    192.0.2.214                     100.00% up
    table      1    sorry                                   active (1 hosts up)
    host       4    192.0.2.200                     100.00% up

enable or disable hosts

    $ sudo relayctl host disable 192.0.2.216

    $ sudo relayctl host enable 192.0.2.216