Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Load Balancer ADC
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Load Balancer ADC
  • Deployment
    • Deployment Requirements
    • Choosing Your Deployment Mode and Service Types
    • Direct Server Return Deployment
      • Deploying DSR in a Microsoft Windows Server 2003 or 2008 Environment
      • Deploying DSR in a Linux Environment
      • Deploying DSR in Windows XP Environment
    • Virtual Deployment
    • Public Cloud Hosting
  • Getting Started
  • Barracuda Load Balancer ADC Hardware Features
  • Application Deployment Guides
  • Barracuda Load Balancer ADC - REST API
  • Services
  • Access Control
  • Technical White Papers
  • Traffic Management
  • Logging
  • Global Server Load Balancing
  • Application Security
  • Networking
  • Certificate Management
  • Monitoring
  • High Availability
  • System Administration and Maintenance
  • End of Support and End of Life Information
  • Critical Vulnerabilities

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Deploying DSR in a Linux Environment
    Published May 16, 2015

    Deploying DSR in a Linux Environment

    May 16, 2015
    Subscribe

    To add a non-ARPing adapter to a Real Server running Linux, add an alias to the lo (loopback) adapter. The following commands are examples of how to do this for some versions of Linux. Consult your operating system vendor if you need more details about how to add a non-ARPing loopback adapter.

    1. Edit your rc.local file (usually located at /etc/rc.d/rc.local) and add the following:
      sysctl -w net.ipv4.conf.lo.arp_ignore=1
      sysctl -w net.ipv4.conf.lo.arp_announce=2
      sysctl -w net.ipv4.conf.all.arp_ignore=1
      sysctl -w net.ipv4.conf.all.arp_announce=2
      ifconfig <interface_name> <ip_address> netmask 255.255.255.255
      -arp up

      where:

      <interface_name> is lo:<number> (e.g. lo:0, lo:1, lo:2)
      <ip_address> is the Virtual IP Address for the Service

      For example: 
      ifconfig lo:1 192.168.4.217 netmask 255.255.255.255 -arp up
       

    2. httpd.conf must have a VirtualHost entry for the VIPs. Edit the file to add these two lines:
      listen <virtual_ip_address>:80
      listen <real_ip_address>:80

      where:

      <virtual_ip_address> is the Virtual IP Address for the Service
      <real_ip_address> is the actual IP Address for the Real Server
       

    3. To check if the loopback adapter is working, make sure the Real Server is bound to the loopback adapter’s IP address. Output from the ifconfig command should show the presence of the loopback adapter.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 14, "requestCorrelationId": "da1cbc2adb774be5951000ec50d266e8"}