Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2000
    Location
    Brisbane, Australia
    Posts
    1,353

    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
    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
    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

  2. #2
    Join Date
    Nov 2005
    Location
    BC, Canada
    Posts
    763
    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.

  3. #3
    Join Date
    Apr 2000
    Location
    Brisbane, Australia
    Posts
    1,353
    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

    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

    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

    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!

  4. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •