Versions Compared

Key

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

...

classtocc

Table of Contents

Note

This documentation is for troubleshooting DHCP with the omapi protocol

...

No. of DHCP
Relay Servers

Name of Generator Script

Names of Scripts Generated by Initial Script

Other Config Files

Wiki Link

One

abiquo-relay-scripts.py

relay-config

dhcpd.conf

Manually Configuring One DHCP Relay Server

Multiple

dhcpconf

config-routes-server.sh; and
relay-config-X.sh and relay-run-X.sh
for each relay server X

dhcpd.conf

Manually Configuring Multiple DHCP Relay Serversconfiguring multiple DHCP relay servers

Checking the DHCP Server

Check the dhcp configuration file

...

Code Block
ps -ef|grep dhcp


Div
classtinycode


Code Block
root      2565  2408  0 08:59 pts/1    00:00:00 grep dhcp
root      7049     1  0 Apr28 ?        00:00:07 /usr/sbin/dhcpd eth0 eth0.2 ... eth0.n


Both commands should display a listing of the interfaces that DHCP is listening on.  If they don't, please rerun the create-vlans script.

...

Check if you have the static routes.

...

classtinycode
Code Block
C:\> ROUTE PRINT
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0        10.81.0.1       10.81.2.35    266
          1.1.1.0    255.255.255.0    192.168.0.250     192.168.1.20     11
          2.2.2.0    255.255.255.0    192.168.0.250     192.168.1.20     11


CentOS VM

Check if you have the static routes.

...

Code Block
# ip route
2.2.2.0/24 via 192.168.0.250 dev eth0
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.2
1.1.1.0/24 via 192.168.0.250 dev eth0
default via 192.168.0.1 dev eth0


If the routes are not present, continue to check the configuration as described below.

...