Creating an alias IP address (Microsoft Windows)
This procedure describes how to assign an alias IP address to a network interface on Microsoft Windows platforms.
To assign an alias IP address to a network interface on Microsoft Windows platforms
-
Navigate to Start menu > Settings > Network Connections.
-
Double-click the Local Area Connection and then click Properties.
-
Select the Internet Protocol (TCP/IP) component in the list and click Properties.
-
To display the Advanced TCP/IP Settings window, click Advanced.
-
Select the IP Settings tab and in the IP Addresses section, click Add.
-
Into the IP Address field, enter 192.168.1.2. Into the Netmask field, enter 255.255.255.0.
|
Caution:
If your internal network uses the 192.168.1.0/24 IP range, the 192.168.1.1 and 192.168.1.2 addresses might already be in use. In this case, disconnect syslog-ng Store Box (SSB) from the network, and connect directly a computer to its external interface using a standard cross-link cable. |
-
To complete the procedure, click Add.
Creating an alias IP address (Linux)
This procedure describes how to assign an alias IP address to a network interface on Linux platforms.
To assign an alias IP address to a network interface on Linux platforms
-
Start a terminal console (for example gnome-terminal, konsole, xterm, and so on).
-
Issue the following command as root:
ifconfig <ethX>:0 192.168.1.2
where <ethX> is the ID of the network interface of the client, usually eth0 or eth1.
-
Issue the ifconfig command. The <ethX>:0 interface appears in the output, having inet addr:192.168.1.2.
-
Issue the ping -c 3 192.168.1.1 command to verify that syslog-ng Store Box (SSB) is accessible. A similar result is displayed:
user@computer:~$ ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp-seq=1 ttl=63 time=0.357 ms
64 bytes from 192.168.1.1: icmp-seq=2 ttl=63 time=0.306 ms
64 bytes from 192.168.1.1: icmp-seq=3 ttl=63 time=0.314 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.306/0.325/0.357/0.030 ms
Modifying the IP address of SSB
The following describes how to configure syslog-ng Store Box (SSB) to listen for connections on a custom IP address.
|
Caution:
Use this procedure only before the initial configuration of SSB, that is, before completing the Welcome Wizard. For details on changing the IP address or other network settings of a configured SSB system, see Network settings.
If you change the IP address of SSB, make sure that you use this address as the External interface — IP address in Configuring SSB with the Welcome Wizard. |
To configure SSB to listen for connections on a custom IP address
-
Access SSB from the local console, and log in with username root and password default.
-
In the Console Menu, select Shells > Core shell.
-
Change the IP address of SSB:
ip addr add <IP-address>/24 dev eth0
Replace <IP-address> with an IPv4 address suitable for your environment.
-
Set the default gateway using the following command:
ip route add default via <IP-of-default-gateway>
Replace <IP-of-default-gateway> with the IP address of the default gateway.
-
Type exit, then select Logout from the Console Menu.
-
Open the page https://<IP-address-you-set-for-SSB> from your browser and accept the certificate shown. The Welcome Wizard of SSB appears.
Configuring SSB with the Welcome Wizard
The Welcome Wizard guides you through the basic configuration steps of syslog-ng Store Box (SSB). All parameters can be modified before the last step by using the Back button of the wizard, or later via the web interface of SSB.