Routing Two IP Addresses To One Linux Server
Jun 3, 2008
how to configure linux so that it allows for two ip addresses on one machine?
I know this is possible because my server administrator setup one of my servers to have two different ip addresses so that I could have a static and dynamic http daemon (two different daemons but listening on different ips).
What do you need to configure?
View 1 Replies
ADVERTISEMENT
Jul 18, 2007
how to set up networking for the following..
I have a windows 2003 server machine. This machine has 3 internet IPs.
Im running Microsoft Virtual Server and going to be running 2 virtual machines both running Linux (Ubuntu).
Ideally I would like the 2 VMs to use my spair 2 internet IPs. However they are assigned to the NIC on the real windows server. How can I route 2 of these ip addressess to the 2 VMs?
Baring in mind that the windows server has only 1 NIC (used for the internet)
View 1 Replies
View Related
Feb 15, 2007
I have the following problem with a CentOS server:
The main IP of the server is yyy.zzz.www.qqq
We've just purchased 3 additional IPs: aaa.bbb.ccc.100, aaa.bbb.ccc.101, aaa.bbb.ccc.102.
First, all outgoing traffic used aaa.bbb.ccc.100, but after deleting the gateways from the additional IPs it seemed to work fine, until we found out the following:
Now all traffic to aaa.bbb.ccc.XXX uses aaa.bbb.ccc.100 as outgoing IP.
What command would change this to use our main IP?
View 0 Replies
View Related
May 7, 2009
my plan for the network is:
LAN (10.0.0.0/24) > (eth0: 10.0.0.62) Debian Router (eth1: 172.16.0.62) > modem (172.16.0.1) > internet
I have change /proc/sys/net/ipv4/ip_forward from 0 to 1
and Routing table is:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.0 10.0.0.62 255.255.255.0 UG 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
172.16.0.0 172.16.0.62 255.255.255.0 UG 0 0 0 eth1
172.16.0.0 * 255.255.255.0 U 0 0 0 eth1
default 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
But client not connect internet when use debian router
config debian router?
View 6 Replies
View Related
Mar 14, 2007
I have two RedHat EL 4 boxes linked via a cross-connect. One is a web server (10.0.0.3) and one is a mySQL server (10.0.0.2), the interface between them is eth1 on both machines and a second interface eth0 connects to the internet.
I want to use the web server to send queries to the database server via eth1, 10.0.0.2:3306 in this case. If I send a database query via eth1 there is a delay of about 10-20 seconds before the result comes back. If I send the same query to the database server but use it's main IP instead of the internal IP so that the query is being sent to it over the internet (xx.xx.xx.xx:3306), the result comes back instantly.
Similarly, if I send a query from any remote server the result is instant.
Why should there be such a huge delay when sending a query directly through the cross-connect?
The routing table ( ip route show ) for the web server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xxx.xx.xx
10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.3
default via xx.xx.xx.xx dev eth0
and the routing table on the database server is:
xx.xx.xx.xx/xx dev eth0 proto kernel scope link src xx.xx.xx.xx
10.0.0.0/8 dev eth1 proto kernel scope link src 10.0.0.2
default via xx.xx.xx.xx dev eth0
I have ifcfg-eth1 on both boxes:
DEVICE=eth1
ONBOOT=yes
TYPE=Ethernet
IPADDR=10.0.0.3 / 10.0.0.2
NETMASK=255.255.255.0
Both boxes can ping each other and transfer files using wget without any apparant problems or delays.
Anyone have any ideas on how to fix this 10-20 second delay when sending queries through the cross-connect?
View 3 Replies
View Related
Jul 11, 2014
Upon checking the mail logs, I find this
Code:
Jul 12 07:39:35 ns2 postfix/smtp[31739]: certificate verification failed for gmail-smtp-in.l.google.com[173.194.68.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Jul 12 07:39:36 ns2 postfix/smtp[31739]: 2AC1222A0003: to=<aarontd207@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.68.26]:25, delay=2, delays=0.1/0/1.3/0.64, dsn=2.0.0, status=sent (250 2.0.0 OK 1405143576 q6si6606624qan.104 - gsmtp)
View 1 Replies
View Related
Sep 30, 2013
My Plesk panel (11.5.30) hosts a number of domains that all use Google Apps for Business to host their emails. No emails are hosted on the panel, and the mail server is turned off. So is the DNS server.
Using the mail() php function to send automatic confirmation emails from a website hosted on the panel, they arrive at any address NOT hosted locally, however they fail to arrive at any address whose website is locally hosted.
My initial research suggested that Plesk was routing locally, hence the problem, however the mailserver has been turned off the for domain/webspace.
View 19 Replies
View Related
Sep 14, 2009
I have an exchange server with the webmin interface activated. I have port 80 forwarded on the router to this server for the webmin. Management wants to upgrade data service and move website server in-house.
So this is how I'll need to set up 2 websites on two servers for the same IP.
Server 1: Windows. accepts domain mail.domain.com
Server 2: Linux. accepts www.domain.com
I'm figuring I'll need to make changes at the router level, and I have a decent cisco router. What do I need to do? Point me in the right direction for googling.
Would it be easier to use 2 IPs? Both would come over the same line, how would I handle that on the router level?
View 2 Replies
View Related
Aug 20, 2008
On the same server, can I use different outing IP for each domains?
They assign 5 Ips to me. but I don't know how to do so.
Panel: Webmin
View 13 Replies
View Related
Feb 26, 2007
We have a VPS service with ServInt to host only our website (www.ourdomain.com for example) and not our email - the nameservers are also not on our VPS. This all works great but it means that any emails which are sent from our VPS to xxx@ourdomain.com are getting routed to the VPS and not the email server and so are being dropped.
Is there a way around this because ServInt support seem to be stumped because they have suggested the only way to fix it is to setup nameservers on the VPS instead of where they are now?
View 3 Replies
View Related
Dec 1, 2014
I have a Problem with my VHosts on one of two IP addresses. One IP is dedicated and works well
The other IP is shared. Since two days every call to one of the websites of this share ip goes to the Plesk Default Website. I tried to reconfigure single sites and all sites (/usr/local/psa/admin/bin/httpdmng --reconfigure-all), nothing works and restarting apache shows some warnings.
apache2ctl -S shows the following lines:
Code:
[Mon Dec 01 19:56:08 2014] [warn] VirtualHost 85.214.41.141:7080 overlaps with VirtualHost 85.214.41.141:7080, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Dec 01 19:56:08 2014] [warn] VirtualHost 85.214.41.141:7081 overlaps with VirtualHost 85.214.41.141:7081, the first has precedence, perhaps you need a NameVirtualHost directive
[Code] ....
In an other thread I found a possible solution for the overlapping vhosts. The problem there seems to be a missing ssl-certificate and that matches with the situation on my server. After copying any other certificate-file as the one with the missing filename the apache starts without any warnings, but after that all websites (the sites from the dedicated ip too) only shows the apache default site ("it works"). I Tried to reconfigure single sites and all sites (/usr/local/psa/admin/bin/httpdmng --reconfigure-all), nothing works.
The server is hosted by STRATO, so there are daily backups. I turned back one week (the problem exists since two days). Then for some hours all works fine but suddenly all the sites on the ip 85.214.41.141 get broken again and shows only plesks default page.
View 1 Replies
View Related
Dec 3, 2014
I need to listen to two IP addresses supporting many domains.
It the pass we achieve this on the Data Centre firewall. This option is no longer available.
Traffic is been presented to Plesk 12.0.18 on
Eth0 – 192.168.0.2
Eth1 – 192.168.0.12
I set up 192.168.0.2 – all is working well
I installed NGINX – all is well and the websites are running faster.
Normally I would try to listen on two IP address in Apache. This option I could not get working as Plesk creates the Apache configuration files from the information entered through the panels. This in turn over rights any manual changes to the Apache configuration files.
I understand that I could use NGINX to achieve this. Is this correct how is it achieved?
View 1 Replies
View Related
Aug 18, 2014
We want to send a newsletter email for all the company employees, we are using doppler because of a location and language thing (based in Argentina where an important part of the company operation is located), so when we are ready to send the newsletter it says that all recipients are bouncing, asked to droppler support and they say the problem comes from plesk, because it needs to have their ip addresses into the whitelist.
So, went to plesk, selected the domain where the bounced email addresses are (dlbgroup.com) but from there I don't know where to go, I don't want to do something wrong or delete something accidentally, so where to upload this CSV file to the right whitelist place.
View 6 Replies
View Related
Jun 12, 2015
I have installed a new SSL cert and tried to assign it to an IP address.
Plesk says "Information: The properties of the IP address .... were changed."
But it seems the SSL cert was not changed.
Running in mysql the following query
select d.name from domains d inner join hosting h on h.dom_id = d.id where h.certificate_id = <id of new cert>;
gives:
Empty set (0.00 sec)
I changed the cert for the IP where all my domains are so it should show the domains using that IP/cert. Running the query using the ID of the old cert lists all the domains on that IP/cert.
View 1 Replies
View Related
Jun 17, 2015
get this problem on a completely new installed machine Ubuntu 14.04. I want to migrate and i come only to that point after Checks -
Home>Tools & Settings>Migration & Transfer Manager>
Define IP Addresses Mapping:
Next button is unavailable and i get the message "No free IP addresses of this type available".I tried to upload a new txt file with old and new IP address, but i doesn't get a feedback. So what I can do now?
View 2 Replies
View Related
Jul 24, 2014
If i select this option in Server-Wide Mail Settings, server still sends email trough main IP address.
View 2 Replies
View Related
Jun 16, 2014
I am running a VPS through 123-REG, Plesk version 11.0.9 with CentOS 6.4
I host 3 websites of my own (with 14 mail accounts)
4 websites for clients (with 10 mail accounts)
7 websites for clients (with 0 mail accounts)
The problem I have had in the last 2 weeks is that the server has been compromised once again by spammers.
2 weeks ago we had another instance and the support was even worse than before, I decided that the best way forward after irradicating the problem and correcting the source, and in the interest of each of my clients I decided to asign each client with their own IP address in the vain hope that if one client account is compromised the others will not be affected, 123-REG agreed that this is a solid solution so I purchased 5 additional IP addresses for the clients I host mail accounts for, (all of the said addresses were blacklisted when I was given them!!!) the reverse DNS was not set up correctly, and couldn't be through their control panel and some didn't match the SMTP banners, then I found out through them that the mail was still sent out through the Primary IP address anyway so if one client gets blacklisted they all still do.
Now they tell me that I can in fact configure Plesk to use each IP address for each client exclusively and they sent me a link to a support article that doesn't actually tell me how to do it.
I can do the following so far:
Log into puTTY and use the command: nano /etc/postfix/master.cf
Find the "smtp" record referenced in the article [URL]
1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_bind_address6= -o smtp_address_preference=ipv4
2.2.2.2- unix - n n - - smtp -o smtp_bind_address=2.2.2.2 -o smtp_bind_address6= -o smtp_address_preference=ipv4
although mine looks like the one below:
1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_b$
Is there something missing from the entry I have?
Assuming that 1.1.1.1 = the relevant IP Address for the client do I need to create an entry for each of my IP addresses?
Do I need to do anything with SMTP banners? If so how do I do it, and what do I need to do?
The article also mentions the default settings being restored each time you reconfigure mail settings and to consider a scheduled task, does that mean each time I set up a new mail account or a new client as I assume that I will need to repeat these steps in that case anyway, mainly because they will have a unique IP address that needs to be set up.
View 1 Replies
View Related
Jan 14, 2015
I am using latest version of PP12 and do not have the "Send from domain IP addresses." seeing showing in the Mail Settings page.
There is nothing shown between "Enable message submission" and the "Relay Options".
Yes, I am using Postfix.
What am I missing?
View 7 Replies
View Related
Sep 3, 2014
I m trying to get the feature "Outgoing Mail from Exclusive IP Addresses" working, as with an updated Postfix configuration the menu entry for this functions does not appear anymore.
Maybe i am missing something in my configuration that tells Plesk to not show it anymore.
Plesk 12 - fresh installation on Debian Wheezy.
We only changed main.cfnd here is the configuration file (please note that the formatting was a bit corrupted by the plesk panel ):
Code:
alias_database= hash:/etc/aliases
alias_maps= hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
append_dot_mydomain= no
biff= no
disable_vrfy_command = yes
header_checks= regexp:/etc/postfix/header_checks
mailbox_size_limit= 0
[Code] ....
View 4 Replies
View Related
Nov 11, 2014
I have two sites that register a high amount to SMTP traffic. Both sited have only forwarding email addresses.
Do forwarding addresses accumulate SMTP traffic on the log?
Also, if a forwarding email is created without a mailbox is it necessary to add a password so that "others" cannot use the blank SMTP server to send email out?
View 2 Replies
View Related
Jun 2, 2014
I have just added some extra IP addresses to my plesk panel from 1&1
CentOS 5.6 (Final)
Panel version11.5.30 Update #45
I have changed a couple of domains to have their own IP address - one marked as shared, the other as dedicated.
I can not log in to either via FTP since changing to a new IP address, the DNS has been changed to reflect this change over and resolves correctly.
I have used the domain name, original IP address and new IP address as the host address with filezilla on windows and mac, and smart ftp on windows.
All accept the username and password, but then all of them timeout with ETIMEOUT error.
Existing domains on the original IP address log in fine via FTP.
View 2 Replies
View Related
Jul 9, 2014
The IP addresses assigned to our servers have changed so it's time to update the default SPF information contained in the DNS records for ALL of the domains hosted on our servers:
OLD
Code:
v=spf1 +ip4:173.236.23.185 +ip4:173.236.23.188/30 +a +mx -all
NEW
Code:
v=spf1 +ip4:69.160.255.188/30 +ip4:69.160.255.192 +a +mx -all
However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",
Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...
View 1 Replies
View Related
Sep 19, 2014
Seems everythings is working normal when ignoring following error message, but everytime I add or change mail settings for a domain, I am getting this error:
Internal error.
ERROR:
Uncaught exception 'Zend_Log_Exception' with message '"/var/log/plesk/panel.log"
cannot be opened with mode "a"' in /usr/local/psa/admin/externals/Zend/Log/Writer/Stream.php:81
Stack trace: #0 /usr/local/psa/admin/plib/Plesk/Log.php(69): Zend_Log_Writer_Stream->__construct
[Code] .....
View 6 Replies
View Related
Apr 8, 2009
How can you tell if two IPs are setup on the same server without having access to the server?
View 6 Replies
View Related
Oct 26, 2008
server with many IP (100-200) and possible buying +20-50 each month. Configuration - CPU: 1.5-2ghz, RAM: 512-1024mb, HDD: 40-80gb. Location - any. Traffic - 1-2tb. OS - CentOS preff.
View 8 Replies
View Related
Feb 4, 2008
I am having a pretty weird problem about ip s at my server. I have a dedi at netdirekt and they gave me like 4 free ips,
all of the sites are at main ip, but today i created a new account and also add 1 of those ips to server and i changed ip of the site.
After that problem started, when i try to ping site it shows ip of the site (new ip), but it gives request timed out. Also sometimes it says, 89.149.218.46 : Destination host unreachable.
If i change the ip of the new site to main ip, site loads well but when i change it to new ip it doesn't load plus gives that ping problem
View 4 Replies
View Related
May 8, 2007
How to add an IP adress to CentOS server?
I can't find 'how to"
How can I add secondary adress using SSH?
What command?
View 1 Replies
View Related
Jul 2, 2008
i just got a 2nd server
i had a problem at the beginning that i had to reload
so i think the tech forgot to add my other ips to my network card configs
i remember layeredtech once reloaded my server and the same problem happend so they advised me to add it to a config file in my server
View 6 Replies
View Related
Jul 8, 2008
My story starts with my getting burned by fumiNET (the first *grrr*)...
Burstnet reactivates my server (for an additional payment of course). The server seems fine but I thought that I might do better with a BurstNET reseller (better service). So...
I sign up with a reseller, and since I got my new server I've been plagued with email bounces, rejections, etc. Seems that my server (via the reseller) was supplied with a bunch of banned IPs (in other words, crap IPs). (the second *grrrr*)
I've reported to the providers abuse department, but was told that I have to handle this. (third *grrrr* - or is it just continued from the second?)
I've had it. I'm ready to fold up shop. As it is the sites keep me busy - but then...
- I get screwed by fumiNET (losing a big chunk of money)
- the hassle of trying to get my fumiNET server back up (thanks BurstNET)
- transferring to the reseller for better service, and finding out that perhaps BurstNET service was better than the reseller's
I'm open if anyone has suggestions. Some that I've come up with myself...
- finding yet another server provider (recommendations welcome)
- drinking large quantities of Guinness (worth it regardless)
- pulling the plug on the server and getting shared hosting to hold some minimal content
- forgetting the whole damn thing and getting a job as a [pick one]: store clerk, street cleaner, used car salesman
View 1 Replies
View Related
Aug 29, 2008
How to view all ip on the server ?
os linux
View 1 Replies
View Related
Apr 5, 2008
I want to change whole server IPs. I use cPanel.
I have main IP used for first nameserver and client sites, and second IP used for second name server.
What steps I have to make if I would recive 2 new IPs from my Data Center?
I have DDoS and my DC said that they can only change my IPs to new.
View 7 Replies
View Related