Two Default Gateways
Jun 30, 2008
I'm trying to add a second nic to one of my servers.
eth0 is connected directly to the internet on a public IP.
eth1 is connected to a private network 172.16.0.0/24.
When I try to add the eth1, I can no longer reach my server from the public address. The gateway for eth1 is 172.16.0.1.
If I leave the gateway field blank for eth1, the server can still be reached on the public address and can also talk to clients on the lan. However, I would really like to figure out why I can't add the default gateway parameter.
View 4 Replies
ADVERTISEMENT
Mar 11, 2007
We have used till this very moment a fixed IP address space (lets consider 192.168.0.0/25 (128 IP's), with 192.168.0.1 being the GW). Now we have run out of IP address and our provider is not able to offer us the upper IP address space on the same range we have, so we have been offered a new IP address space (let's consider 192.168.1.0/25 with 192.168.1.1 being the GW).
Both this are configured on a cisco 3550 switch (provider side). We have behind that a 3550 of our own, for subnetting and VLAN purposes (we are getting every server a /29 on a VLAN with a default GW and so on. Typical setup).
The problem is, how are we supposed to route the new ip address space? Can we add a second gateway to the 3550 and traffic will get to it if it comes from the new IP block?
We had also thought about PBR, but 3550-SMI does not seem to support that.
Can you give us a clue on the best config to solve this issue?
View 3 Replies
View Related
Jun 7, 2007
I want to send mail to SMS gateways via setting up a free SMS site. How can I best configure qmail to handle large amounts of emails. Also, I plan to run a cron that will pull the messages to send from a db and send them in large chunks. qmail-inject and sendmail seems incredibly slow.
View 6 Replies
View Related
Dec 5, 2008
OpenVZ different gateways IP ranges, unpingable from outside world "feature" any fix?
The server main IP (eth0) is 200.44.32.42, the allocation is 200.44.32.40/29 - 200.44.32.41 being the GATEWAY.
The ADDITIONAL IP allocation is 200.44.32.96/28, 200.44.32.97 being the GATEWAY.
Now, if I be specific on /etc/sysconfig/network-scripts/ifcfg-eth0 and declare everything like so:
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.20.47.255
HWADDR=
IPADDR=10.20.42.198
NETMASK=255.255.248.0
NETWORK=10.20.40.0
ONBOOT=yes
GATEWAY=10.20.40.1
TYPE=Ethernet
Please ignore all the above IPs config.
Now, using that VE nodes on the 200.44.32.96/28 range are unpingable. How can I fix that?
Please take note that I remove all settings from ifcfg, and leave IPADDR and GATEWAY, the internet can ping the nodes. But within the 200.44.32.0/24 no-one can ping the nodes on the 200.44.32.96/28 range ( Which is my problem, that I came here to solve).
Here's the VE ...
View 7 Replies
View Related
Oct 24, 2008
I have linux machine with myself which has both KDE and GNOME. Now, GNOME seems to be default.
How can i change KDE to be default?
View 5 Replies
View Related
Nov 11, 2007
I was on a server (reseller account) that ran PHPSuexec and default permissions were 755/644 as they should be.
We moved to a new cPanel 11 server and default permissions are 775/664. This is the same on 4 different servers from 4 different hosting companies (all reseller accounts). Three are CentOS, one RedHat Enterprise.
I entered a support ticket for one company and they said the permissions were not right and supposedly fixed it (I have left that company since then so I can't check).
The other hosting companies say their umasks are right and would not change it.
Apparently the apache installation defaults to these permissions which, security wise, seems kinda strange.
Can anyone shed some light on whether or not this is secure and does this mean I'm going to have change permissions evertime I upload files to install shopping carts, billing software etc.? (It's not hard it's just stupid to have to).
Should my hosts change apache system umask (022) to make permissions default to 755/644?
View 2 Replies
View Related
Oct 1, 2007
im trying to setup a vps server on one of my dedicateds, (for personal use) ive got the vps running and os installed etc but i cannot for the life of me setup networking. i have 2 ips from my datacenter but they havent given me a default gateway ip and dont seem to know what one is so does anyone know how to get the default gateways ip for a ip (the ip i have is in the 66.79.185.xxx group )
View 10 Replies
View Related
Dec 29, 2007
my php.ini is blank
if maybe please take one php.ini default :-)
View 5 Replies
View Related
May 11, 2009
When i use the ip of my homepage and not the domain i see this:
Quote:
Apache is functioning normally
How can i change it?
And for lxadmin the same :
Quote:
This is the LxAdmin Default Page
How can i change it?
View 7 Replies
View Related
May 7, 2009
I have a VPS and I am using LXAdmin. What I want to do is that if I type the IP of my VPS in my browser it would show my main Website and not the page of LXAdmin saying that the IP address or domain is not yet setup.
View 1 Replies
View Related
Sep 10, 2009
Is there a way in ubuntu 8.10 to have default chmod? everytime someone uploads a file they have to chmod it so that it can be seen/used by the web.
View 5 Replies
View Related
Jul 14, 2009
is there any reference or good pratices for default email ? Like, I should have "postmaster@domain" and "abuse@domain"?
View 6 Replies
View Related
Nov 26, 2008
When I'm insert data through form coming following error.
Field 'row' doesn't have a default value
But When I'm ruing on Local host ( Local computer ) properly working. But it is not working on my server.
Please visit this video File. You can see my Error.www.visionlanka.com/20081124.avi
View 2 Replies
View Related
Mar 17, 2008
When I create a website in apache I have to enable php on it manually, Is there a way that I enable php by default on root of apache?
View 3 Replies
View Related
Jun 16, 2008
I am gonna host a multi-platform website from my home server soon. My home server is basically IIS7 on Windows server 2008. However , I am currently experimenting with IIS7 on vista business .Unfortunalely I have experimented so much that I need to reset IIS7 to default settings.
I haven't backed up atall. So it would be great if someone can assist me in this matter.
View 3 Replies
View Related
Nov 25, 2008
In lxadmin currently no domain is set as default domain and what would happen if I set one of the site as a default domain? What changes can be noticed and will there be any kind of effect on that particular domain?
View 0 Replies
View Related
Jan 9, 2008
I'll make it as simple as possible -- I want to remove via SSH all mail allocated to the default address (catch all).
I cannot remove it via webmail or mail client since there are over 50,000 emails.
It's a cPanel based system.
View 3 Replies
View Related
Oct 18, 2008
currently index.php takes precendence over index.html
how can I change that in Plesk?
View 3 Replies
View Related
Dec 24, 2007
Our servers Shared IP seems to be loading the first domain name in the httpd.conf file as the servers default page.
I want to change the default page to either our main domain or to the apaches "success!" default webpage.
We're using cpanel. I'm unsure why it's loading the first domain when you load the IP.
It used to load properly but for some odd reason stopped working. I suspect a cpanel update was the culprit.
View 2 Replies
View Related
Nov 15, 2007
my server come with net.ipv4.netfilter.ip_conntrack_max=34576
And i would like to set it default to 65535.
How can i do it?
Everytime i use:
Quote:
sysctl net.ipv4.netfilter.ip_conntrack_max=65535
It sets to the number i want, but when the webserver restart. It goes back to default number ( 34576)
View 10 Replies
View Related
Dec 7, 2007
My customer's language is portuguese. On my VPS have cpanel with X and X3 theme. When I create a new account with X3 theme, cpanel default langage is english. I ask my hosting company if have a method to change cpanel default language to portuguese. They saied that is no possible. I dont know, but I think that can to have an alternative to make it, but HOW?
View 3 Replies
View Related
Jun 6, 2007
I am transfering some files from one server to another. Both server runs SSH on port 3333.
Quote:
rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
When i use this command, i get following error
Quote:
root@server40 [~]# rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
ssh: connect to host server42.hostname.com port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]
root@server40 [~]#
Why it says port 22 in error message ? I have specified --port=3333 in options.
Also i am able to connect to other server on port 3333
Quote:
root@server40 [~]# telnet server42.hostname.com 3333
Trying 72.9.145.200...
Connected to server42.hostname.com (72.9.145.200).
Escape character is '^]'.
SSH-2.0-OpenSSH_3.9p1
why rsync is not working?
View 8 Replies
View Related
Feb 11, 2008
I was wondering if I could change the default port of vnc server and how to do so?
What is the default port for vncserver server anyway? Is it 5900?
View 8 Replies
View Related
Aug 3, 2009
This came as a surprise today, I setup a server-based RSS reader and could not get WHT's forum RSS feeds. A little digging revealed it was the default APF installation that was blocking the 174.0.0.0/8 range, which includes WHT and a chunk of Softlayer's ip range.
The quick fix is easy, just remove that range from the /etc/apf/internals/reserved.networks file and restart, in the latest apf version, I don't know how many apf versions back this block goes.
The APF folks do a fantastic job in keeping APF up to date, but this seems to be recent update to this particular ip range that hasn't made it into APF yet.
View 5 Replies
View Related
Dec 2, 2008
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection.
So please guide me how can i change default page or change default path.
View 1 Replies
View Related
Jul 6, 2009
We recently installed a fresh copy of Debian and PHP, however mail() doesn't want to send any emails, despite being enabled in php.ini etc.
Someone told me mail() will not work straight out of the box with a new Debian setup.
View 3 Replies
View Related
Apr 9, 2009
how can i set the path for custom error documents of error codes
the path that i made a custom changes in
Code:
/usr/local/apache/htdocs/
i add in httpd.conf file the following settings
Code:
ErrorDocument 400 /usr/local/apache/htdocs/badreq.html
ErrorDocument 401 /usr/local/apache/htdocs/noauth.html
ErrorDocument 403 /usr/local/apache/htdocs/forbid.html
ErrorDocument 404 /usr/local/apache/htdocs/missing.html
ErrorDocument 500 /usr/local/apache/htdocs/conferr.html
restart the apache ,but still my custom pages no working
i want to know how can i make local path for default error documents pages in httpd.conf
View 1 Replies
View Related
Mar 24, 2009
I have an interesting situation on my CentOS 4 server. I have a number of virtual adapters (e.g. eth0:1, eth0:2 etc), and for some reason all outbound traffic is going through one of these, not eth0. If I go to ipchicken.com, it shows the ipaddress of a virtual adapter, not the normal eth0 adapter.
I have been looking around for information on how to set the default adapter to eth0, but I can't seem to find anything. I can't reboot yet, as it's a production server, so I have to wait for 'scheduled maintenance'. If that's the solution, I can try it, but I am sure there is another underlying issue/routine here.
Is there a way, while live, to set the outbound adapter back to eth0?
Please note, that I have only just realized this has happened. In fact, it has been this way since November. I can tell because server name stamps on Email messages sent from this server indicate a virtual domain at that IP address. I recall I had done some work around that time, which had involved me ifup'ing and ifdown'ing some of these adapters (but not eth0, or the eth0:100 adapter (if I recall correctly) that is now the default).
Also note that I have groups of eth0 adapters, such like:
eth0:1
eth0:2
eth0:3
eth0:100
eth0:101
eth0:102
It's the eth0:100 adapter that is now the default.
View 2 Replies
View Related
Nov 9, 2008
How do you change the default cPanel logo.
Like, when you create an account, the clients cPanel says:
[url](on the top).
I was wondering, any way to change that..not for a single account but all of them..kinda so when it creates a account it actually puts a different image.
View 4 Replies
View Related