Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Div
classabiheader

Admin Guide 1. Abiquo: Static Routes

...

classtocc

Table of Contents

Abiquo can serve static routes to virtual machines through the DHCP Server. The static routes are entered in Abiquo in the GUI where you create/edit the network:

...

The Abiquo DHCP Server configuration file (usually /etc/dhcpd.con) requires the following lines. These lines are automatically included in the DHCP Server of Abiquo Linux since version 2.0. The second line is Microsoft specific.

...

Code Block
option classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;


DHCP Leases File

When you enter the static routes (using the GUI or the API), Abiquo will format the classless-static-routes options and add them to the DHCP leases file, for example.

...

Code Block
host 525400a71a3b_host {
  dynamic;
  hardware ethernet 52:54:00:a7:1a:3b;
  fixed-address 192.168.0.2;
        supersede routers = c0:a8:00:01;
        supersede subnet-mask = ff:ff:ff:00;
        supersede classless-static-routes = concat (18:01:01:01:C0:A8:00:FA, 18:02:02:02:C0:A8:00:FA);
}



Client Configuration for DHCP Classless Static Routes

...