The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Two different GateWays on Two different Nics

Discussion in 'General Discussion' started by Dreamy, Sep 17, 2009.

  1. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I currently have set two nameservers with IP addresses
    NS1: xx.xx.xx.xx
    NS2: yy.yy.yy.yy

    Now I want to change NS2

    NS1: xx.xx.xx.xx
    NS2: hh.hh.hh.hh

    Will that make my websites downtime if NS1 isnt going to be changed?
    NS1 stays xx.xx.xx.xx, only NS2 changes from yy.yy.yy.yy to hh.hh.hh.hh
    Main shared IP is xx.xx.xx.xx (NS1)

    Conflicts to email?

    At first NS1 and NS2 are on same gateway but after the change NS1 and NS2 are on different gateways.

    How can I make some websites to use NIC1 with NS1 and other websites use NIC2 with NS2 ?
     
    #1 Dreamy, Sep 17, 2009
    Last edited: Sep 17, 2009
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Two Different Gateways

    Hello,

    We will definitely get you fixed up, as for your first question the answer is yes if NS2: yy.yy.yy.yy stays up. This should make for a seamless transition. As far as having two different nic cards that will be taken care of by DNS automatically. Please let me know if you have any other questions.

    Thank you,
    Matthew Curry
     
  3. Dreamy

    Dreamy Well-Known Member

    Joined:
    Sep 16, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    quite complicated answer to be honest.

    I have two NICs.
    I will have to change NS2 IP since rDNS can only be set to IP that has been directly set to network card.

    eth0 currently has xx.xx.xx.xx (with rDNS) - GateWay pp.pp.pp.pp
    eth1 currently has yy.yy.yy.yy (with rDNS) - GateWay pp.pp.pp.pp

    now I must change eth1 yy.yy.yy.yy into hh.hh.hh.hh
    That means nameserver2 IP changes into hh.hh.hh.hh and IP yy.yy.yy.yy would go down right after I change it.

    Setting smaller TTL for nameserver2 few days before I make the change could make it propagate faster?

    After the change it would look like:

    eth0 will have xx.xx.xx.xx (with rDNS) - GateWay pp.pp.pp.pp
    eth1 will have hh.hh.hh.hh (with rDNS) - GateWay tt.tt.tt.tt

    Edit: Or would WHM allow me to add IP addresses with GateWay tt.tt.tt.tt even when both NICs use GateWay pp.pp.pp.pp ?
    I mean in Switch both gateways are on same VLAN. - if it does allow this, I dont have to change nameserver ip.
     
    #3 Dreamy, Sep 17, 2009
    Last edited: Sep 17, 2009
Loading...

Share This Page