Previous: interfaces Statement Definition and Usage, Up: interfaces   [Contents][Index]


A.3.3 interfaces Examples

Long form:

interfaces {
  my_ip {
    address 192.0.2.1;
    port 53;
  }
}

Short form:

interfaces {
  my_second_ip { address 198.51.100.1@53; }
}

Short form without port (defaults to 53):

interfaces {
  my_third_ip { address 203.0.113.1; }
}