hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Help needed configuring internal ips for private connection between web-db servers
Reply

Forum Jump

Help needed configuring internal ips for private connection between web-db servers

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2006, 03:11 PM
eva2000 eva2000 is offline
Web Hosting Master
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,189

Help needed configuring internal ips for private connection between web-db servers


Hi guys, I'm helping a vB customer with their new servers both dual opteron 265s rented at theplanet.com.

Problem is theplanet.com didn't setup the internal ips for both servers to communicate privately and theplanet are saying they won't set it up or provide any SLA guarantee for private connections between servers and it's the client's responsibility! Theplanet.com even charged the client a fee for setting up the crossconnection and never did they mention they aren't responsible for setting up the internal ips for the servers to communicate privately!

First time i heard this, as most hosts configure this up ready for the customer to get going AFAIK ?

Anyway, question is anyone know how to do this specificially for RHEL ES release 4 servers with

web server
Quote:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x2 Bcast:xx.xx.xx.175 Mask:255.255.255.240
inet6 addr: fe80::2a0:d1ff:fee4:6b6a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:266095315 errors:0 dropped:0 overruns:0 frame:0
TX packets:146608423 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:374469794860 (348.7 GiB) TX bytes:27833859510 (25.9 GiB)
Interrupt:201

eth0:2 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x4 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:3 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x5 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:4 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x6 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:5 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x7 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:6 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x8 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:7 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x9 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:8 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x0 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:9 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x1 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:10 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x2 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:11 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6A
inet addr:xx.xx.xx.1x3 Bcast:xx.xx.xx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth1 Link encap:Ethernet HWaddr 00:A0:D1:E4:6B:6B
inet6 addr: fe80::2a0:d1ff:fee4:6b6b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:209

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20860 errors:0 dropped:0 overruns:0 frame:0
TX packets:20860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26559763 (25.3 MiB) TX bytes:26559763 (25.3 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
db server
Quote:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x8 Bcast:xx.xx.xx.191 Mask:255.255.255.240
inet6 addr: fe80::2a0:d1ff:fee4:6a94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1267544486 errors:0 dropped:0 overruns:0 frame:0
TX packets:2237683301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:113560234808 (105.7 GiB) TX bytes:3280940397767 (2.9 TiB)
Interrupt:201

eth0:0 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x9 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:1 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x0 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:2 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x1 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:3 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x2 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:4 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x3 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:5 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x4 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:6 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x5 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:7 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x6 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:8 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x7 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:9 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x8 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth0:10 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:94
inet addr:xx.xx.xx.1x9 Bcast:xx.xx.xx.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201

eth1 Link encap:Ethernet HWaddr 00:A0:D1:E4:6A:95
inet6 addr: fe80::2a0:d1ff:fee4:6a95/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:209

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1719 errors:0 dropped:0 overruns:0 frame:0
TX packets:1719 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9747351 (9.2 MiB) TX bytes:9747351 (9.2 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
thanks in advance

George

Reply With Quote


Sponsored Links
  #2  
Old 06-10-2006, 04:24 PM
netfreak netfreak is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: BC, Canada
Posts: 757
It looks like eth1 is the interface with the crossover. Run "ifconfig eth1 192.168.0.1" on one machine and "ifconfig eth1 192.168.0.2" on the other then try pinging the other machine's internal address and see if it works. If so, set these entries into the network config files so it is saved.

__________________
|| Higher Intellect || Half a million documents and climbing.

Reply With Quote
  #3  
Old 06-10-2006, 04:59 PM
eva2000 eva2000 is offline
Web Hosting Master
 
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,189
thanks already, managed to set up the internal ip configuration myself and saw a massive drop in inbound traffic from 11GB/hr to ~50MB/hr LOL

on web server did

Quote:
ifconfig eth1 192.168.0.1 up

cd /etc/sysconfig/network-scripts/

nano ifcfg-eth1

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0

/etc/rc.d/init.d/network restart
on db server did

Quote:
ifconfig eth1 192.168.0.2 up

cd /etc/sysconfig/network-scripts/

nano ifcfg-eth1

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0

/etc/rc.d/init.d/network restart
Problem was web server had WHM and wiped the existing ips added to WHM (except the main server ip), so all i did was edit on web server at

Quote:
nano /etc/sysconfig/network-scripts/ifcfg-eth0-range0

add to bottom of existing contents of ifcfg-eth0-range0 the following

IPADDR_START=xx.xx.xx.1x4
IPADDR_END=xx.xx.xx.1x3
CLONENUM_START=0
GATEWAY=xx.xx.xx.1x7
NETMASK=255.255.255.240
NO_ALIASROUTING=yes

/etc/rc.d/init.d/network restart
All working

Thanks netfreak for the reply.. helps confirm what i did was correct... phew!

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Instagram Migrates from Amazon’s Cloud into Facebook Data Centers Web Hosting News 2014-06-27 10:43:57
Codero Launches Hybrid Cloud Hosting Web Hosting News 2013-10-23 15:04:30
CloudSigma CEO Talks Hybrid Hosting Web Hosting News 2013-09-19 10:05:39
Atlantic Metro Launches Cloud Tool for Businesses to Connect to Amazon Web Services Web Hosting News 2012-09-28 16:02:19
Web Host LeaseWeb Establishes New Point of Presence in London Web Hosting News 2012-08-01 15:25:40


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?