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
Results will update as you type.
  • What's New in the Barracuda Load Balancer
  • Deployment Options
    • Deployment Service Types
    • Route-Path Deployment Options
    • Bridge-Path Deployment
    • PCI Compliance Considerations and Barracuda Load Balancer Deployment
    • Microsoft Exchange Server 2010 Deployment
    • Microsoft Exchange Server 2013 Deployment
    • Remote Desktop Services in Windows Server 2008 R1 or R2 Deployment
    • Microsoft Office Communications Server Deployment
    • Microsoft Lync Server 2010 Deployment
    • Microsoft Office SharePoint Server 2007, 2010 and 2013 Deployment
    • Direct Server Return Deployment
      • Deployment in a Microsoft Windows Server 2003, 2008, and 2012 Environment
      • Deployment of DSR in a Linux Environment
      • Deployment of DSR in Windows XP Environment
      • Multiple Network Adapters on Real Servers
    • High Availability Deployment
    • Virtual Deployment
    • VMware View Deployment
  • Getting Started
  • Services
  • Traffic Management
  • Global Server Load Balancing
  • Networking
  • Certificate Management
  • Monitoring
  • Maintenance
  • Tools and Add-Ins
  • APIs
  • Barracuda Load Balancer Hardware
  • Downloads

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Deployment of DSR in a Linux Environment
    Published Nov 15, 2013

    Deployment of DSR in a Linux Environment

    Nov 15, 2013
    Subscribe

    Deploy in a Linux Environment

    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": 13, "requestCorrelationId": "0257676acd9b4456852b4940befd6aa7"}