Installing the Linux dummy-network interface

If your Linux system does not have network communication hardware installed, or if it uses the dynamic host configuration protocol (DHCP) for network IP address configuration, you can install Adaptive Server components using these procedures.

StepsInstalling a dummy-network interface

  1. Add /sbin to your $PATH environment setting:

    # PATH=$PATH:/sbin
  2. Add an IP address and host name to your /etc/hosts table. Sybase recommends that you use an address in a free Internet address band.

    For example, an Internet address of would result in:

    echo $HOSTNAME >> /etc/hosts

    NoteSybase recommends that you do not use “localhost” as an alternative.

  3. Preload the dummy network driver on the machine.

    # modprobe dummy

    If this command is successful, you do not receive any messages from the server.

  4. Bind the dummy established network interface to the $HOSTNAME configured IP address.

    # ifconfig dummy0 $HOSTNAME
  5. For a DHCP environment, add a route other than “default” to the established virtual network setup.

    # route add $HOSTNAME dummy0
  6. Check the network binding:

    # ifconfig dummy0 

    This command gives below listed output:

      dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
     inet addr:  Bcast:  Mask:
     RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
  7. Check the route binding:

    # route

    This command shows the routing as it is set up.

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    HOSTNAME        *  UH         0      0           0 dummy0        *        U          0      0           0 dummy0       *        U          0      0           0     lo