<?xml version="1.0" encoding="UTF-8"?>
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
  <!-- XBRL Document Created with XML Edge from P3 Data Systems -->
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <roleRef roleURI="http://allot.com/role/DocumentAndEntityInformation" xlink:type="simple" xlink:href="allt-20201231.xsd#DocumentAndEntityInformation"/>
  <roleRef roleURI="http://allot.com/role/allt-csocl" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-csocl"/>
  <roleRef roleURI="http://allot.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" xlink:type="simple" xlink:href="allt-20201231.xsd#ConsolidatedStatementsOfChangesInShareholdersEquity"/>
  <roleRef roleURI="http://allot.com/role/allt-dit" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-dit"/>
  <roleRef roleURI="http://allot.com/role/GeneralNarrativeDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#GeneralNarrativeDetails"/>
  <roleRef roleURI="http://allot.com/role/GeneralScheduleOfEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#GeneralScheduleOfEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"/>
  <roleRef roleURI="http://allot.com/role/SignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#SignificantAccountingPoliciesNarrativeDetails"/>
  <roleRef roleURI="http://allot.com/role/SignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesAtAnnualRatesDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#SignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesAtAnnualRatesDetails"/>
  <roleRef roleURI="http://allot.com/role/SignificantAccountingPoliciesScheduleOfStock-basedCompensationExpenseDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#SignificantAccountingPoliciesScheduleOfStock-basedCompensationExpenseDetails"/>
  <roleRef roleURI="http://allot.com/role/SignificantAccountingPoliciesScheduleOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#SignificantAccountingPoliciesScheduleOfAccumulatedOtherComprehensiveIncomeDetails"/>
  <roleRef roleURI="http://allot.com/role/Available-for-saleMarketableSecuritiesDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#Available-for-saleMarketableSecuritiesDetails"/>
  <roleRef roleURI="http://allot.com/role/FairValueMeasurementsScheduleOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#FairValueMeasurementsScheduleOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisDetails"/>
  <roleRef roleURI="http://allot.com/role/PropertyAndEquipmentNetDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#PropertyAndEquipmentNetDetails"/>
  <roleRef roleURI="http://allot.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:type="simple" xlink:href="allt-20201231.xsd#IntangibleAssetsNetScheduleOfIntangibleAssetsDetails"/>
  <roleRef roleURI="http://allot.com/role/allt-send" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-send"/>
  <roleRef roleURI="http://allot.com/role/allt-sesoood" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-sesoood"/>
  <roleRef roleURI="http://allot.com/role/allt-sesorsuad" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-sesorsuad"/>
  <roleRef roleURI="http://allot.com/role/allt-toind" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-toind"/>
  <roleRef roleURI="http://allot.com/role/allt-gisorbgld" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-gisorbgld"/>
  <roleRef roleURI="http://allot.com/role/allt-gisomcd" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-gisomcd"/>
  <roleRef roleURI="http://allot.com/role/allt-gisolad" xlink:type="simple" xlink:href="allt-20201231.xsd#allt-gisolad"/>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="locator_dei_EntityCentralIndexKey"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityCentralIndexKey" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="locator_dei_CurrentFiscalYearEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_CurrentFiscalYearEndDate" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="locator_dei_DocumentFiscalYearFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentFiscalYearFocus" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="locator_dei_DocumentFiscalPeriodFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentFiscalPeriodFocus" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_AmendmentFlag" xlink:label="locator_dei_AmendmentFlag"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_AmendmentFlag" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentType" xlink:label="locator_dei_DocumentType"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentType" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentRegistrationStatement" xlink:label="locator_dei_DocumentRegistrationStatement"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentRegistrationStatement" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentAnnualReport" xlink:label="locator_dei_DocumentAnnualReport"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentAnnualReport" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentTransitionReport" xlink:label="locator_dei_DocumentTransitionReport"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentTransitionReport" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentShellCompanyReport" xlink:label="locator_dei_DocumentShellCompanyReport"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentShellCompanyReport" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressesAddressTypeAxis" xlink:label="locator_dei_EntityAddressesAddressTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_dei_EntityAddressesAddressTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_AddressTypeDomain" xlink:label="locator_dei_AddressTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_dei_EntityAddressesAddressTypeAxis" xlink:to="locator_dei_AddressTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_BusinessContactMember" xlink:label="locator_dei_BusinessContactMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_dei_AddressTypeDomain" xlink:to="locator_dei_BusinessContactMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="locator_dei_DocumentPeriodEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentPeriodEndDate" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityFileNumber" xlink:label="locator_dei_EntityFileNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityFileNumber" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityRegistrantName" xlink:label="locator_dei_EntityRegistrantName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityRegistrantName" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="locator_dei_EntityIncorporationStateCountryCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityIncorporationStateCountryCode" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityTaxIdentificationNumber" xlink:label="locator_dei_EntityTaxIdentificationNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityTaxIdentificationNumber" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_ContactPersonnelName" xlink:label="locator_dei_ContactPersonnelName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_ContactPersonnelName" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressAddressLine1" xlink:label="locator_dei_EntityAddressAddressLine1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressAddressLine1" use="optional" priority="0" order="16"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressAddressLine2" xlink:label="locator_dei_EntityAddressAddressLine2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressAddressLine2" use="optional" priority="0" order="17"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressAddressLine3" xlink:label="locator_dei_EntityAddressAddressLine3"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressAddressLine3" use="optional" priority="0" order="18"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressCityOrTown" xlink:label="locator_dei_EntityAddressCityOrTown"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressCityOrTown" use="optional" priority="0" order="19"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressCountry" xlink:label="locator_dei_EntityAddressCountry"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressCountry" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressPostalZipCode" xlink:label="locator_dei_EntityAddressPostalZipCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityAddressPostalZipCode" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_CityAreaCode" xlink:label="locator_dei_CityAreaCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_CityAreaCode" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_LocalPhoneNumber" xlink:label="locator_dei_LocalPhoneNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_LocalPhoneNumber" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_Security12bTitle" xlink:label="locator_dei_Security12bTitle"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_Security12bTitle" use="optional" priority="0" order="24"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_TradingSymbol" xlink:label="locator_dei_TradingSymbol"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_TradingSymbol" use="optional" priority="0" order="25"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_SecurityExchangeName" xlink:label="locator_dei_SecurityExchangeName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_SecurityExchangeName" use="optional" priority="0" order="26"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="locator_dei_EntityWellKnownSeasonedIssuer"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityWellKnownSeasonedIssuer" use="optional" priority="0" order="27"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="locator_dei_EntityVoluntaryFilers"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityVoluntaryFilers" use="optional" priority="0" order="28"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="locator_dei_EntityCurrentReportingStatus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityCurrentReportingStatus" use="optional" priority="0" order="29"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityInteractiveDataCurrent" xlink:label="locator_dei_EntityInteractiveDataCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityInteractiveDataCurrent" use="optional" priority="0" order="30"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_IcfrAuditorAttestationFlag" xlink:label="locator_dei_IcfrAuditorAttestationFlag"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_IcfrAuditorAttestationFlag" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityFilerCategory" xlink:label="locator_dei_EntityFilerCategory"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityFilerCategory" use="optional" priority="0" order="32"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntitySmallBusiness" xlink:label="locator_dei_EntitySmallBusiness"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntitySmallBusiness" use="optional" priority="0" order="33"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityEmergingGrowthCompany" xlink:label="locator_dei_EntityEmergingGrowthCompany"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityEmergingGrowthCompany" use="optional" priority="0" order="34"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityExTransitionPeriod" xlink:label="locator_dei_EntityExTransitionPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityExTransitionPeriod" use="optional" priority="0" order="35"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentAccountingStandard" xlink:label="locator_dei_DocumentAccountingStandard"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_DocumentAccountingStandard" use="optional" priority="0" order="36"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityShellCompany" xlink:label="locator_dei_EntityShellCompany"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityShellCompany" use="optional" priority="0" order="37"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="locator_dei_EntityCommonStockSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_dei_EntityCommonStockSharesOutstanding" use="optional" priority="0" order="38"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_AddressTypeDomain" xlink:label="locator_dei_AddressTypeDomain_20511012-a620-321c-495f-d68bcc3a6537_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_dei_EntityAddressesAddressTypeAxis" xlink:to="locator_dei_AddressTypeDomain_20511012-a620-321c-495f-d68bcc3a6537_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-csocl">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="locator_us-gaap_RevenuesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_RevenuesAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues" xlink:label="locator_us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RevenuesAbstract" xlink:to="locator_us-gaap_Revenues" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="locator_us-gaap_CostOfRevenueAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_CostOfRevenueAbstract" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="locator_us-gaap_CostOfRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_CostOfRevenueAbstract" xlink:to="locator_us-gaap_CostOfRevenue" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GrossProfit" xlink:label="locator_us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_GrossProfit" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="locator_us-gaap_OperatingExpensesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OperatingExpensesAbstract" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="locator_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_OperatingExpensesAbstract" xlink:to="locator_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="locator_us-gaap_SellingAndMarketingExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_OperatingExpensesAbstract" xlink:to="locator_us-gaap_SellingAndMarketingExpense" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="locator_us-gaap_GeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_OperatingExpensesAbstract" xlink:to="locator_us-gaap_GeneralAndAdministrativeExpense" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="locator_us-gaap_OperatingExpenses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_OperatingExpensesAbstract" xlink:to="locator_us-gaap_OperatingExpenses" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="locator_srt_ProductOrServiceAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_srt_ProductOrServiceAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="locator_srt_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_ProductOrServiceAxis" xlink:to="locator_srt_ProductsAndServicesDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductMember" xlink:label="locator_us-gaap_ProductMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ProductsAndServicesDomain" xlink:to="locator_us-gaap_ProductMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ServiceMember" xlink:label="locator_us-gaap_ServiceMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ProductsAndServicesDomain" xlink:to="locator_us-gaap_ServiceMember" use="optional" priority="0" order="61"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="locator_us-gaap_OperatingIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OperatingIncomeLoss" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="locator_us-gaap_NonoperatingIncomeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_NonoperatingIncomeExpense" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="locator_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="locator_us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_IncomeTaxExpenseBenefit" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="locator_us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_NetIncomeLoss" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" use="optional" priority="0" order="16"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" use="optional" priority="0" order="17"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax" use="optional" priority="0" order="18"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax" use="optional" priority="0" order="19"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="locator_us-gaap_ComprehensiveIncomeNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_ComprehensiveIncomeNetOfTax" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="locator_us-gaap_EarningsPerShareAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_EarningsPerShareAbstract" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted" xlink:label="locator_us-gaap_EarningsPerShareBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EarningsPerShareAbstract" xlink:to="locator_us-gaap_EarningsPerShareBasicAndDiluted" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract" xlink:label="locator_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract" use="optional" priority="0" order="24"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:label="locator_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract" xlink:to="locator_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" use="optional" priority="0" order="25"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="locator_srt_ProductsAndServicesDomain_51b20381-0558-4ab6-58b5-a778734298bf_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_ProductOrServiceAxis" xlink:to="locator_srt_ProductsAndServicesDomain_51b20381-0558-4ab6-58b5-a778734298bf_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="locator_us-gaap_StockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockholdersEquity" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="locator_us-gaap_CommonStockSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_CommonStockSharesOutstanding" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NewAccountingStandardEffect" xlink:label="locator_allt_NewAccountingStandardEffect"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_allt_NewAccountingStandardEffect" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="locator_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="locator_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="locator_us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_TreasuryStockValueAcquiredCostMethod" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="locator_us-gaap_TreasuryStockSharesAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_TreasuryStockSharesAcquired" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition" xlink:label="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTax" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="locator_us-gaap_StatementEquityComponentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_StatementEquityComponentsAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember" xlink:label="locator_us-gaap_CommonStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_CommonStockMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="locator_us-gaap_AdditionalPaidInCapitalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_AdditionalPaidInCapitalMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="locator_us-gaap_TreasuryStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_TreasuryStockMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="locator_us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_AccumulatedOtherComprehensiveIncomeMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="locator_us-gaap_RetainedEarningsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_RetainedEarningsMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="locator_us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_NetIncomeLoss" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain_8adf2fa7-ebbf-1b7b-f9c7-2af670936587_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain_8adf2fa7-ebbf-1b7b-f9c7-2af670936587_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-dit">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock" xlink:label="locator_us-gaap_ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="locator_us-gaap_HedgingDesignationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_HedgingDesignationAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="locator_us-gaap_HedgingDesignationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_HedgingDesignationAxis" xlink:to="locator_us-gaap_HedgingDesignationDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="locator_us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_HedgingDesignationDomain" xlink:to="locator_us-gaap_DesignatedAsHedgingInstrumentMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="locator_us-gaap_NondesignatedMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_HedgingDesignationDomain" xlink:to="locator_us-gaap_NondesignatedMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="locator_us-gaap_HedgingDesignationDomain_020b549f-b98e-0692-dc4b-a643a905d5d6_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_HedgingDesignationAxis" xlink:to="locator_us-gaap_HedgingDesignationDomain_020b549f-b98e-0692-dc4b-a643a905d5d6_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/GeneralNarrativeDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="locator_us-gaap_BusinessAcquisitionLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="locator_us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodValueNewIssues" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="locator_us-gaap_SaleOfStockPricePerShare"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_SaleOfStockPricePerShare" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1" xlink:label="locator_us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="locator_us-gaap_PaymentsToAcquireBusinessesGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_PaymentsToAcquireBusinessesGross" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsRevenuesAndGainsRecognized" xlink:label="locator_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsRevenuesAndGainsRecognized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsRevenuesAndGainsRecognized" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="locator_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="locator_us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationContingentConsiderationLiability" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_BusinessCombinationContingentConsiderationLiabilityPaymentTerm" xlink:label="locator_allt_BusinessCombinationContingentConsiderationLiabilityPaymentTerm"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_allt_BusinessCombinationContingentConsiderationLiabilityPaymentTerm" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_ContingentConsiderationPaymentsCapBasedOnAchievementOfCertainThresholdsOfRevenues" xlink:label="locator_allt_ContingentConsiderationPaymentsCapBasedOnAchievementOfCertainThresholdsOfRevenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_allt_ContingentConsiderationPaymentsCapBasedOnAchievementOfCertainThresholdsOfRevenues" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="locator_us-gaap_BusinessAcquisitionAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="locator_us-gaap_BusinessAcquisitionAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetonomyLTDMember" xlink:label="locator_allt_NetonomyLTDMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="locator_allt_NetonomyLTDMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="locator_us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationAcquisitionRelatedCosts" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_HoldbackExpensesCurrent" xlink:label="locator_allt_HoldbackExpensesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_allt_HoldbackExpensesCurrent" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_RestrictedHoldbackAmount" xlink:label="locator_allt_RestrictedHoldbackAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_allt_RestrictedHoldbackAmount" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationIndemnificationAssetsDescription" xlink:label="locator_us-gaap_BusinessCombinationIndemnificationAssetsDescription"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationIndemnificationAssetsDescription" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AcquisitionCostsRecordedToOperatingExpenses" xlink:label="locator_allt_AcquisitionCostsRecordedToOperatingExpenses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_allt_AcquisitionCostsRecordedToOperatingExpenses" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain_a2f66047-aeff-3987-0ae0-927331b542ca_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain_a2f66047-aeff-3987-0ae0-927331b542ca_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8753e6d5-f769-75dc-3c43-bf11728373df_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8753e6d5-f769-75dc-3c43-bf11728373df_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/GeneralScheduleOfEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="locator_us-gaap_BusinessAcquisitionLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill" xlink:label="locator_us-gaap_Goodwill"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_Goodwill" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_BusinessAcquisitionLineItems" xlink:to="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="locator_us-gaap_BusinessAcquisitionAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="locator_us-gaap_BusinessAcquisitionAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetonomyLTDMember" xlink:label="locator_allt_NetonomyLTDMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="locator_allt_NetonomyLTDMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain_460e8235-263c-4a61-f619-6266f458d23e_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain_460e8235-263c-4a61-f619-6266f458d23e_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/SignificantAccountingPoliciesNarrativeDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:label="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositsWeightedAverageInterestRateMaturitiesYearOne" xlink:label="locator_us-gaap_TimeDepositsWeightedAverageInterestRateMaturitiesYearOne"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_TimeDepositsWeightedAverageInterestRateMaturitiesYearOne" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_ShortTermBankDepositsHedgingTransactions" xlink:label="locator_allt_ShortTermBankDepositsHedgingTransactions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_ShortTermBankDepositsHedgingTransactions" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AmountReclassifiedFromAccumulatedDeficitToAccumulatedOtherComprehensiveIncomeLoss" xlink:label="locator_allt_AmountReclassifiedFromAccumulatedDeficitToAccumulatedOtherComprehensiveIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_AmountReclassifiedFromAccumulatedDeficitToAccumulatedOtherComprehensiveIncomeLoss" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryWriteDown" xlink:label="locator_us-gaap_InventoryWriteDown"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_InventoryWriteDown" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryAdjustments" xlink:label="locator_us-gaap_InventoryAdjustments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_InventoryAdjustments" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="locator_us-gaap_GoodwillImpairmentLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_GoodwillImpairmentLoss" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse" xlink:label="locator_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="locator_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="locator_us-gaap_ValuationAllowancesAndReservesBalance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_ValuationAllowancesAndReservesBalance" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="locator_us-gaap_AdvertisingExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_AdvertisingExpense" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:label="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="locator_srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:to="locator_srt_RangeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="locator_srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MinimumMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="locator_srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MaximumMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="locator_us-gaap_BusinessAcquisitionAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:to="locator_us-gaap_BusinessAcquisitionAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptenetMember" xlink:label="locator_allt_OptenetMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="locator_allt_OptenetMember" use="optional" priority="0" order="131"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetonomyMember" xlink:label="locator_allt_NetonomyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="locator_allt_NetonomyMember" use="optional" priority="0" order="141"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" xlink:label="locator_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:to="locator_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="locator_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" xlink:to="locator_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="locator_us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:to="locator_us-gaap_AwardTypeAxis" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="locator_us-gaap_RestrictedStockUnitsRSUMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="locator_us-gaap_RestrictedStockUnitsRSUMember" use="optional" priority="0" order="151"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SeveranceCosts1" xlink:label="locator_us-gaap_SeveranceCosts1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_SeveranceCosts1" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AnnualPreVestingForfeitureRate" xlink:label="locator_allt_AnnualPreVestingForfeitureRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_AnnualPreVestingForfeitureRate" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AnnualPostVestingForfeitureRate" xlink:label="locator_allt_AnnualPostVestingForfeitureRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_AnnualPostVestingForfeitureRate" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="locator_us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_AllowanceForDoubtfulAccountsReceivable" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_GrantsParticipationsExcludedFromResearchAndDevelopmentCosts" xlink:label="locator_allt_GrantsParticipationsExcludedFromResearchAndDevelopmentCosts"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_GrantsParticipationsExcludedFromResearchAndDevelopmentCosts" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="locator_us-gaap_DebtWeightedAverageInterestRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_DebtWeightedAverageInterestRate" use="optional" priority="0" order="16"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="locator_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" use="optional" priority="0" order="17"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_PriorPeriodOtherReceivablesAndPrepaidExpensesReclassifiedToNoncurrentAssets" xlink:label="locator_allt_PriorPeriodOtherReceivablesAndPrepaidExpensesReclassifiedToNoncurrentAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_PriorPeriodOtherReceivablesAndPrepaidExpensesReclassifiedToNoncurrentAssets" use="optional" priority="0" order="18"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueRevenueRecognized1" xlink:label="locator_us-gaap_DeferredRevenueRevenueRecognized1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_DeferredRevenueRevenueRecognized1" use="optional" priority="0" order="19"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="locator_us-gaap_OperatingLeaseRightOfUseAsset"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_OperatingLeaseRightOfUseAsset" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="locator_us-gaap_OperatingLeaseLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_OperatingLeaseLiability" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_RemainingPerformanceObligations" xlink:label="locator_allt_RemainingPerformanceObligations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_RemainingPerformanceObligations" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_RemainingPerformanceObligationsShortTerm" xlink:label="locator_allt_RemainingPerformanceObligationsShortTerm"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_RemainingPerformanceObligationsShortTerm" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfDeferredCharges" xlink:label="locator_us-gaap_AmortizationOfDeferredCharges"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_AmortizationOfDeferredCharges" use="optional" priority="0" order="24"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues" xlink:label="locator_us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_us-gaap_Revenues" use="optional" priority="0" order="25"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_EstimatedCreditLossAllowance" xlink:label="locator_allt_EstimatedCreditLossAllowance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:to="locator_allt_EstimatedCreditLossAllowance" use="optional" priority="0" order="26"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember_41bfb1fa-a9c4-39ec-7810-b0e920d19ae3_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember_41bfb1fa-a9c4-39ec-7810-b0e920d19ae3_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="locator_us-gaap_BusinessAcquisitionAcquireeDomain_e0e32fb5-cde8-b458-be2f-aceb0e4591af_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_BusinessAcquisitionAxis" xlink:to="locator_us-gaap_BusinessAcquisitionAcquireeDomain_e0e32fb5-cde8-b458-be2f-aceb0e4591af_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="locator_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_6f7d97ae-624f-8099-79a3-b52acd841653_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" xlink:to="locator_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_6f7d97ae-624f-8099-79a3-b52acd841653_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f591959d-63f1-ec07-830e-91300b9cac8d_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f591959d-63f1-ec07-830e-91300b9cac8d_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/SignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesAtAnnualRatesDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_PropertyPlantAndEquipmentEstimatedUsefulLivesAnnualRate" xlink:label="locator_allt_PropertyPlantAndEquipmentEstimatedUsefulLivesAnnualRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_allt_PropertyPlantAndEquipmentEstimatedUsefulLivesAnnualRate" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="locator_us-gaap_OtherMachineryAndEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_OtherMachineryAndEquipmentMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="locator_us-gaap_OfficeEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_OfficeEquipmentMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="locator_us-gaap_FurnitureAndFixturesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_FurnitureAndFixturesMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_EquipmentAtCustomerSiteMember" xlink:label="locator_allt_EquipmentAtCustomerSiteMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_allt_EquipmentAtCustomerSiteMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="locator_us-gaap_LeaseholdImprovementsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_LeaseholdImprovementsMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="locator_srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="locator_srt_RangeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="locator_srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MinimumMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="locator_srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MaximumMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain_fecf5458-b401-d77c-ff13-98ad923524d0_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain_fecf5458-b401-d77c-ff13-98ad923524d0_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember_1fee8981-93d6-3ccd-4950-e411cfd52345_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember_1fee8981-93d6-3ccd-4950-e411cfd52345_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/SignificantAccountingPoliciesScheduleOfStock-basedCompensationExpenseDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="locator_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="locator_us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:to="locator_us-gaap_AllocatedShareBasedCompensationExpense" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="locator_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:to="locator_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="locator_us-gaap_IncomeStatementLocationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:to="locator_us-gaap_IncomeStatementLocationAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="locator_us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_IncomeStatementLocationAxis" xlink:to="locator_us-gaap_IncomeStatementLocationDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="locator_us-gaap_CostOfSalesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_CostOfSalesMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="locator_us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_ResearchAndDevelopmentExpenseMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="locator_us-gaap_SellingAndMarketingExpenseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_SellingAndMarketingExpenseMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="locator_us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_GeneralAndAdministrativeExpenseMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="locator_us-gaap_IncomeStatementLocationDomain_7e8b14a3-5eee-67be-5b7d-68ace3d4ec24_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_IncomeStatementLocationAxis" xlink:to="locator_us-gaap_IncomeStatementLocationDomain_7e8b14a3-5eee-67be-5b7d-68ace3d4ec24_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/SignificantAccountingPoliciesScheduleOfAccumulatedOtherComprehensiveIncomeDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract" xlink:label="locator_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="locator_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="locator_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract" xlink:to="locator_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTax" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="locator_us-gaap_IncomeStatementLocationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="locator_us-gaap_IncomeStatementLocationAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="locator_us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_IncomeStatementLocationAxis" xlink:to="locator_us-gaap_IncomeStatementLocationDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="locator_us-gaap_CostOfSalesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_CostOfSalesMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingExpenseMember" xlink:label="locator_us-gaap_OperatingExpenseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_OperatingExpenseMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonoperatingIncomeExpenseMember" xlink:label="locator_us-gaap_NonoperatingIncomeExpenseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeStatementLocationDomain" xlink:to="locator_us-gaap_NonoperatingIncomeExpenseMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="locator_us-gaap_StatementEquityComponentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="locator_us-gaap_StatementEquityComponentsAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="locator_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="locator_us-gaap_DerivativeInstrumentRiskAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="locator_us-gaap_DerivativeInstrumentRiskAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="locator_us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_DerivativeInstrumentRiskAxis" xlink:to="locator_us-gaap_DerivativeContractTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="locator_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_DerivativeContractTypeDomain" xlink:to="locator_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" use="optional" priority="0" order="81"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="locator_us-gaap_IncomeStatementLocationDomain_0eca99f0-53f2-21c0-f722-4aaddfd16635_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_IncomeStatementLocationAxis" xlink:to="locator_us-gaap_IncomeStatementLocationDomain_0eca99f0-53f2-21c0-f722-4aaddfd16635_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain_f7b0a799-3d1e-d7ba-ba73-78736d44e0b5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain_f7b0a799-3d1e-d7ba-ba73-78736d44e0b5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="locator_us-gaap_DerivativeContractTypeDomain_3b1b0454-06de-5d79-0bbd-4f7140952710_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_DerivativeInstrumentRiskAxis" xlink:to="locator_us-gaap_DerivativeContractTypeDomain_3b1b0454-06de-5d79-0bbd-4f7140952710_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/Available-for-saleMarketableSecuritiesDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAmortizedCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAmortizedCost" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInAoci" xlink:label="locator_allt_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInAoci"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_allt_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInAoci" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInAoci" xlink:label="locator_allt_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInAoci"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_allt_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInAoci" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesCurrent" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturityPeriodAxis" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturityPeriodAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturityPeriodAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturityPeriodDomain" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_allt_AvailableForSaleSecuritiesMaturityPeriodAxis" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturesWithinOneYearMember" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturesWithinOneYearMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturesWithinOneYearMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturesAfterOneYearThroughThreeYearsMember" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturesAfterOneYearThroughThreeYearsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturesAfterOneYearThroughThreeYearsMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturesAfterThreeYearsThroughFiveYearsMember" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturesAfterThreeYearsThroughFiveYearsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturesAfterThreeYearsThroughFiveYearsMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="locator_us-gaap_USGovernmentAgenciesDebtSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USGovernmentAgenciesDebtSecuritiesMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="locator_us-gaap_CorporateDebtSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CorporateDebtSecuritiesMember" use="optional" priority="0" order="72"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AvailableForSaleSecuritiesMaturityPeriodDomain" xlink:label="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain_e4a21f5a-1e82-7798-50a6-37e5558b6aa7_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_allt_AvailableForSaleSecuritiesMaturityPeriodAxis" xlink:to="locator_allt_AvailableForSaleSecuritiesMaturityPeriodDomain_e4a21f5a-1e82-7798-50a6-37e5558b6aa7_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7ed870e1-df9f-f8d0-6fe1-79ba606b32f5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7ed870e1-df9f-f8d0-6fe1-79ba606b32f5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/FairValueMeasurementsScheduleOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="locator_us-gaap_AvailableForSaleSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_AvailableForSaleSecurities" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure" xlink:label="locator_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetAssetsFairValueDisclosure" xlink:label="locator_allt_NetAssetsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_allt_NetAssetsFairValueDisclosure" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="locator_us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel1Member" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="locator_us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel2Member" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="locator_us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel3Member" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d19b0834-7110-da97-6257-d0e935d2dbeb_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d19b0834-7110-da97-6257-d0e935d2dbeb_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/PropertyAndEquipmentNetDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentGross" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="locator_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentNet" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Depreciation" xlink:label="locator_us-gaap_Depreciation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_Depreciation" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="locator_us-gaap_OtherMachineryAndEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_OtherMachineryAndEquipmentMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="locator_us-gaap_OfficeEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_OfficeEquipmentMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="locator_us-gaap_FurnitureAndFixturesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_FurnitureAndFixturesMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="locator_us-gaap_LeaseholdImprovementsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_LeaseholdImprovementsMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquipmentLeasedToOtherPartyMember" xlink:label="locator_us-gaap_EquipmentLeasedToOtherPartyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="locator_us-gaap_EquipmentLeasedToOtherPartyMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain_533301f6-4fd5-4cd4-c32e-13d85ac0cd42_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="locator_us-gaap_PropertyPlantAndEquipmentTypeDomain_533301f6-4fd5-4cd4-c32e-13d85ac0cd42_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsDetails">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="locator_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="locator_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsGross" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsNet" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="locator_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="locator_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember" xlink:label="locator_us-gaap_TechnologyBasedIntangibleAssetsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="locator_us-gaap_TechnologyBasedIntangibleAssetsMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="locator_us-gaap_OrderOrProductionBacklogMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="locator_us-gaap_OrderOrProductionBacklogMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="locator_us-gaap_CustomerRelationshipsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="locator_us-gaap_CustomerRelationshipsMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="locator_us-gaap_IntellectualPropertyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="locator_us-gaap_IntellectualPropertyMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_647b9083-cf75-b20f-11c6-0e1b44aa24a5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="locator_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_647b9083-cf75-b20f-11c6-0e1b44aa24a5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-send">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_CommonStockValueAuthorized" xlink:label="locator_allt_CommonStockValueAuthorized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_allt_CommonStockValueAuthorized" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="locator_us-gaap_CommonStockSharesAuthorized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_CommonStockSharesAuthorized" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="locator_us-gaap_CommonStockParOrStatedValuePerShare"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_CommonStockParOrStatedValuePerShare" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="locator_us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_StockRepurchaseProgramAuthorizedAmount1" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="locator_us-gaap_TreasuryStockSharesAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_TreasuryStockSharesAcquired" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="locator_us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_PaymentsForRepurchaseOfCommonStock" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesIssuedForServices" xlink:label="locator_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfWarrants" xlink:label="locator_us-gaap_ProceedsFromIssuanceOfWarrants"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ProceedsFromIssuanceOfWarrants" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="locator_us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="locator_us-gaap_AwardTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockCompensationPlanMember" xlink:label="locator_us-gaap_StockCompensationPlanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="locator_us-gaap_StockCompensationPlanMember" use="optional" priority="0" order="61"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="locator_us-gaap_RestrictedStockUnitsRSUMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="locator_us-gaap_RestrictedStockUnitsRSUMember" use="optional" priority="0" order="71"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="locator_us-gaap_PlanNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="locator_us-gaap_PlanNameAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="locator_us-gaap_PlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_PlanNameAxis" xlink:to="locator_us-gaap_PlanNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TwoThousandSixStockOptionPlanMember" xlink:label="locator_allt_TwoThousandSixStockOptionPlanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PlanNameDomain" xlink:to="locator_allt_TwoThousandSixStockOptionPlanMember" use="optional" priority="0" order="112"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TwoThousandSixteenPlanMember" xlink:label="locator_allt_TwoThousandSixteenPlanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_PlanNameDomain" xlink:to="locator_allt_TwoThousandSixteenPlanMember" use="optional" priority="0" order="122"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="locator_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" use="optional" priority="0" order="16"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="locator_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" use="optional" priority="0" order="17"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="locator_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" use="optional" priority="0" order="18"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" use="optional" priority="0" order="19"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" use="optional" priority="0" order="24"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1" xlink:label="locator_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1" use="optional" priority="0" order="25"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" use="optional" priority="0" order="26"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost" use="optional" priority="0" order="27"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="locator_us-gaap_ShareBasedCompensation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensation" use="optional" priority="0" order="28"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0c7868aa-6e79-95c7-e269-7d699ea2d0b1_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0c7868aa-6e79-95c7-e269-7d699ea2d0b1_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="locator_us-gaap_PlanNameDomain_a55b310e-1088-ea73-4c76-321b43eaa5ac_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_PlanNameAxis" xlink:to="locator_us-gaap_PlanNameDomain_a55b310e-1088-ea73-4c76-321b43eaa5ac_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-sesoood">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="locator_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:to="locator_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptionsPriceRangeOneMember" xlink:label="locator_allt_OptionsPriceRangeOneMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="locator_allt_OptionsPriceRangeOneMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptionsPriceRangeTwoMember" xlink:label="locator_allt_OptionsPriceRangeTwoMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="locator_allt_OptionsPriceRangeTwoMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptionsPriceRangeThreeMember" xlink:label="locator_allt_OptionsPriceRangeThreeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="locator_allt_OptionsPriceRangeThreeMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptionsPriceRangeFourMember" xlink:label="locator_allt_OptionsPriceRangeFourMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="locator_allt_OptionsPriceRangeFourMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OptionsPriceRangeFiveMember" xlink:label="locator_allt_OptionsPriceRangeFiveMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="locator_allt_OptionsPriceRangeFiveMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_62eeacd8-be0b-2544-dc56-756213bc94a6_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_62eeacd8-be0b-2544-dc56-756213bc94a6_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-sesorsuad">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="locator_us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="locator_us-gaap_AwardTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="locator_us-gaap_RestrictedStockUnitsRSUMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="locator_us-gaap_RestrictedStockUnitsRSUMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_372da3c8-1316-a8b7-8a2b-e39001b27f7f_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_372da3c8-1316-a8b7-8a2b-e39001b27f7f_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-toind">
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TaxesOnIncomeLineItems" xlink:label="locator_allt_TaxesOnIncomeLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues" xlink:label="locator_us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_Revenues" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="locator_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate" xlink:label="locator_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TaxExemptPeriod" xlink:label="locator_allt_TaxExemptPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_TaxExemptPeriod" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TaxBenefitPeriod" xlink:label="locator_allt_TaxBenefitPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_TaxBenefitPeriod" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_DividendWithholdingTaxRate" xlink:label="locator_allt_DividendWithholdingTaxRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_DividendWithholdingTaxRate" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_PatentUseRightPeriod" xlink:label="locator_allt_PatentUseRightPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_PatentUseRightPeriod" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_ExpenseDeductiblePeriod" xlink:label="locator_allt_ExpenseDeductiblePeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_ExpenseDeductiblePeriod" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="locator_us-gaap_OperatingLossCarryforwards"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_OperatingLossCarryforwards" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxExpenseFromStockOptionsExercised" xlink:label="locator_us-gaap_DeferredTaxExpenseFromStockOptionsExercised"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_DeferredTaxExpenseFromStockOptionsExercised" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_TaxesOnIncomeTable" xlink:label="locator_allt_TaxesOnIncomeTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_TaxesOnIncomeTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_StatementScenarioAxis" xlink:label="locator_srt_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_allt_TaxesOnIncomeTable" xlink:to="locator_srt_StatementScenarioAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="locator_srt_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_StatementScenarioAxis" xlink:to="locator_srt_ScenarioUnspecifiedDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_CommencementOfProductionMember" xlink:label="locator_allt_CommencementOfProductionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ScenarioUnspecifiedDomain" xlink:to="locator_allt_CommencementOfProductionMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_ApprovalDateMember" xlink:label="locator_allt_ApprovalDateMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ScenarioUnspecifiedDomain" xlink:to="locator_allt_ApprovalDateMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_IncomeTaxAreaAxis" xlink:label="locator_allt_IncomeTaxAreaAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_allt_TaxesOnIncomeTable" xlink:to="locator_allt_IncomeTaxAreaAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_IncomeTaxAreaDomain" xlink:label="locator_allt_IncomeTaxAreaDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_allt_IncomeTaxAreaAxis" xlink:to="locator_allt_IncomeTaxAreaDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_DevelopmentZoneMember" xlink:label="locator_allt_DevelopmentZoneMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_IncomeTaxAreaDomain" xlink:to="locator_allt_DevelopmentZoneMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OutsideDevelopmentZoneMember" xlink:label="locator_allt_OutsideDevelopmentZoneMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_IncomeTaxAreaDomain" xlink:to="locator_allt_OutsideDevelopmentZoneMember" use="optional" priority="0" order="71"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="locator_us-gaap_IncomeTaxAuthorityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_allt_TaxesOnIncomeTable" xlink:to="locator_us-gaap_IncomeTaxAuthorityAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="locator_us-gaap_IncomeTaxAuthorityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_IncomeTaxAuthorityAxis" xlink:to="locator_us-gaap_IncomeTaxAuthorityDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_PreferredEnterpriseMember" xlink:label="locator_allt_PreferredEnterpriseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeTaxAuthorityDomain" xlink:to="locator_allt_PreferredEnterpriseMember" use="optional" priority="0" order="101"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_SpecialTechnologicalPreferredEnterpriseMember" xlink:label="locator_allt_SpecialTechnologicalPreferredEnterpriseMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeTaxAuthorityDomain" xlink:to="locator_allt_SpecialTechnologicalPreferredEnterpriseMember" use="optional" priority="0" order="111"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2020/country-2020-01-31.xsd#country_IL" xlink:label="locator_country_IL"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeTaxAuthorityDomain" xlink:to="locator_country_IL" use="optional" priority="0" order="131"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="locator_us-gaap_InternalRevenueServiceIRSMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_IncomeTaxAuthorityDomain" xlink:to="locator_us-gaap_InternalRevenueServiceIRSMember" use="optional" priority="0" order="141"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="locator_srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_allt_TaxesOnIncomeTable" xlink:to="locator_srt_RangeAxis" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="locator_srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MinimumMember" use="optional" priority="0" order="142"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="locator_srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MaximumMember" use="optional" priority="0" order="152"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="locator_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_allt_TaxesOnIncomeTable" xlink:to="locator_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:to="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporationMember" xlink:label="locator_us-gaap_CorporationMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:to="locator_us-gaap_CorporationMember" use="optional" priority="0" order="201"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndividualMember" xlink:label="locator_us-gaap_IndividualMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:to="locator_us-gaap_IndividualMember" use="optional" priority="0" order="231"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_ForeignCounterpartyMember" xlink:label="locator_allt_ForeignCounterpartyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:to="locator_allt_ForeignCounterpartyMember" use="optional" priority="0" order="261"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLossCarryforwardsLimitationsOnUse" xlink:label="locator_us-gaap_OperatingLossCarryforwardsLimitationsOnUse"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_OperatingLossCarryforwardsLimitationsOnUse" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetOperatingLossesLimitPercentageOfTotalAccumulatedLosses" xlink:label="locator_allt_NetOperatingLossesLimitPercentageOfTotalAccumulatedLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_NetOperatingLossesLimitPercentageOfTotalAccumulatedLosses" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetOperatingLossesLimitPercentageOfTaxableIncome" xlink:label="locator_allt_NetOperatingLossesLimitPercentageOfTaxableIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_NetOperatingLossesLimitPercentageOfTaxableIncome" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:label="locator_us-gaap_OperatingLossCarryforwardsExpirationDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_OperatingLossCarryforwardsExpirationDate" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="locator_us-gaap_TaxCreditCarryforwardAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_TaxCreditCarryforwardAmount" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:label="locator_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AdditionsToProvisionDuringPeriod" xlink:label="locator_allt_AdditionsToProvisionDuringPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_AdditionsToProvisionDuringPeriod" use="optional" priority="0" order="16"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_DeferredTaxAssetsWroteOffPrepaidAndWithholdingTaxes" xlink:label="locator_allt_DeferredTaxAssetsWroteOffPrepaidAndWithholdingTaxes"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_allt_TaxesOnIncomeLineItems" xlink:to="locator_allt_DeferredTaxAssetsWroteOffPrepaidAndWithholdingTaxes" use="optional" priority="0" order="17"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="locator_srt_ScenarioUnspecifiedDomain_756eb338-e584-8aa3-10aa-196748d0e157_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_StatementScenarioAxis" xlink:to="locator_srt_ScenarioUnspecifiedDomain_756eb338-e584-8aa3-10aa-196748d0e157_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_IncomeTaxAreaDomain" xlink:label="locator_allt_IncomeTaxAreaDomain_f6f3071a-1b88-2e45-55fb-46740b741c41_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_allt_IncomeTaxAreaAxis" xlink:to="locator_allt_IncomeTaxAreaDomain_f6f3071a-1b88-2e45-55fb-46740b741c41_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="locator_us-gaap_IncomeTaxAuthorityDomain_8301b69b-d00b-c149-3ca9-16f38de741b4_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_IncomeTaxAuthorityAxis" xlink:to="locator_us-gaap_IncomeTaxAuthorityDomain_8301b69b-d00b-c149-3ca9-16f38de741b4_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember_ba095126-7b61-be00-c4d6-9acbab7eaf33_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember_ba095126-7b61-be00-c4d6-9acbab7eaf33_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain_1f5cd340-2855-afd9-24ac-f6caa2f48802_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:to="locator_us-gaap_LegalEntityTypeOfCounterpartyDomain_1f5cd340-2855-afd9-24ac-f6caa2f48802_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-gisorbgld">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentReportingRevenueReconcilingItemLineItems" xlink:label="locator_us-gaap_SegmentReportingRevenueReconcilingItemLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues" xlink:label="locator_us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingRevenueReconcilingItemLineItems" xlink:to="locator_us-gaap_Revenues" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_SegmentReportingRevenueReconcilingItemLineItems" xlink:to="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="locator_srt_StatementGeographicalAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="locator_srt_StatementGeographicalAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="locator_srt_SegmentGeographicalDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_StatementGeographicalAxis" xlink:to="locator_srt_SegmentGeographicalDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_EuropeMember" xlink:label="locator_srt_EuropeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_srt_EuropeMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_AsiaAndOceaniaMember" xlink:label="locator_allt_AsiaAndOceaniaMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_allt_AsiaAndOceaniaMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_AmericasMember" xlink:label="locator_srt_AmericasMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_srt_AmericasMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_MiddleEastAndAfricaMember" xlink:label="locator_allt_MiddleEastAndAfricaMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_allt_MiddleEastAndAfricaMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="locator_srt_SegmentGeographicalDomain_39bb6785-29d1-e8a5-eb98-29bd9c936a87_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_StatementGeographicalAxis" xlink:to="locator_srt_SegmentGeographicalDomain_39bb6785-29d1-e8a5-eb98-29bd9c936a87_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-gisomcd">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="locator_us-gaap_EntityWideRevenueMajorCustomerLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="locator_us-gaap_ConcentrationRiskPercentage1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:to="locator_us-gaap_ConcentrationRiskPercentage1" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="locator_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:to="locator_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="locator_us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:to="locator_us-gaap_ConcentrationRiskByBenchmarkAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="locator_us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:to="locator_us-gaap_ConcentrationRiskBenchmarkDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SalesMember" xlink:label="locator_us-gaap_SalesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:to="locator_us-gaap_SalesMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MajorCustomersAxis" xlink:label="locator_srt_MajorCustomersAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:to="locator_srt_MajorCustomersAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="locator_srt_NameOfMajorCustomerDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_MajorCustomersAxis" xlink:to="locator_srt_NameOfMajorCustomerDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_MajorCustomerOneMember" xlink:label="locator_allt_MajorCustomerOneMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_NameOfMajorCustomerDomain" xlink:to="locator_allt_MajorCustomerOneMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_MajorCustomerTwoMember" xlink:label="locator_allt_MajorCustomerTwoMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_NameOfMajorCustomerDomain" xlink:to="locator_allt_MajorCustomerTwoMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="locator_srt_ProductOrServiceAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:to="locator_srt_ProductOrServiceAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="locator_srt_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_ProductOrServiceAxis" xlink:to="locator_srt_ProductsAndServicesDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_NetworkIntelligenceSolutionsMember" xlink:label="locator_allt_NetworkIntelligenceSolutionsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ProductsAndServicesDomain" xlink:to="locator_allt_NetworkIntelligenceSolutionsMember" use="optional" priority="0" order="121"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_SecuritySolutionsMember" xlink:label="locator_allt_SecuritySolutionsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ProductsAndServicesDomain" xlink:to="locator_allt_SecuritySolutionsMember" use="optional" priority="0" order="151"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="locator_us-gaap_ConcentrationRiskBenchmarkDomain_e1cedc4a-a43a-ee89-8fb3-9cc0174a8bca_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:to="locator_us-gaap_ConcentrationRiskBenchmarkDomain_e1cedc4a-a43a-ee89-8fb3-9cc0174a8bca_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="locator_srt_NameOfMajorCustomerDomain_36976e7a-11fe-191c-3041-82e44bb433af_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_MajorCustomersAxis" xlink:to="locator_srt_NameOfMajorCustomerDomain_36976e7a-11fe-191c-3041-82e44bb433af_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="locator_srt_ProductsAndServicesDomain_47faaf0d-7d38-76df-952a-cf252d969608_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_ProductOrServiceAxis" xlink:to="locator_srt_ProductsAndServicesDomain_47faaf0d-7d38-76df-952a-cf252d969608_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://allot.com/role/allt-gisolad">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:label="locator_us-gaap_SegmentReportingAssetReconcilingItemLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="locator_us-gaap_NoncurrentAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:to="locator_us-gaap_NoncurrentAssets" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:to="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="locator_srt_StatementGeographicalAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="locator_srt_StatementGeographicalAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="locator_srt_SegmentGeographicalDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_StatementGeographicalAxis" xlink:to="locator_srt_SegmentGeographicalDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2020/country-2020-01-31.xsd#country_IL" xlink:label="locator_country_IL"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_country_IL" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="allt-20201231.xsd#allt_OtherCountriesMember" xlink:label="locator_allt_OtherCountriesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_SegmentGeographicalDomain" xlink:to="locator_allt_OtherCountriesMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="locator_srt_SegmentGeographicalDomain_36819d35-2f67-adb1-b13a-a39f690901d5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_StatementGeographicalAxis" xlink:to="locator_srt_SegmentGeographicalDomain_36819d35-2f67-adb1-b13a-a39f690901d5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
</linkbase>
