To permanently add one or more IP's to network interface in RedHat Linux is quite easy if you follow this steps:
- Go to the /etc/sysconfig/network-scripts/ directory
- Copy the interface file that you want to add the IP to, and give it the same name as the current file, with ‘:0′ added (or :1, :2, depending on how many IPs are on this interface).
cp ifcfg-eth0 ifcfg-eth0:0
- Edit the new file, and you only have to change a few things
> Change IPADDR= to your new IP address
> Change DEVICE= to add :0
(depending if this is the 2nd IP on that interface)
> Remove DHCP_HOSTNAME (or set it to what it needs to be)
> remove the HWADDR entry
- Save the file that you just were working on
- Restart the network interfaces
So here are the examples:
Original file ifcfg-eth0 looks like
# Intel Corporation 82557/8/9 [Ethernet Pro 100]
Config file ifcfg-eth0:0 for second IP looks like:
Tarpitting is the practice of deliberately inserting a delay into certain SMTP communications that are associated with spam or with other unwanted traffic. To be effective, these kinds of communications typically rely on generating a high volume of traffic. By slowing an SMTP conversation, you can dramatically reduce the rate at which automated spam can be sent or at which a dictionary attack can be conducted. Legitimate traffic may also be slowed by tar pitting.
The tar pit feature is available in Microsoft Windows Server 2003 and in several third-party SMTP servers. The tar pit feature in Windows Server 2003 works by slowing all responses that contain SMTP protocol 5.x.x error codes. An administrator can configure the delay that is introduced by the tar pit feature.
Tar pitting affects only anonymous SMTP connections. Authenticated sessions are exempt. Therefore, if you regularly exchange lots of SMTP mail with another organization,
and you find that tar pitting is affecting that traffic, you can bypass tar pitting for that organization by authenticating SMTP communications.
In order to be able to use conical names you have to use name servers (also called DNS servers) which will convert some name into IP address. I will here show you where are configuration files under Linux
Edit /etc/resolv.conf which can like this:
Also you might hardcode some IP's in hosts file. It looks like this:
127.0.0.1 localhost.localdomain localhost
To have your new settings valid you have to restart the computer or do this in command line which will restart all your network services and devices:
If you are connected with SSH be patient connection will be restored.