#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    14
    Rep Power
    0

    Single Domain on multiple IPs


    Sorry for the duplicate posts but some reason it didn't post what I wrote. Anyway, here it goes again.

    I have SWBell DSL and got 5 static IPs from them. I set up DNS to run on one IP, and configured the other four IPs to be the other four Name Server in the above config file. All the NS are registered, and can be nslook-ed up. But when I ping the other 4 NS, no goes. So I am thinking maybe I need 4 different NIC Cards in one single machine? Can someone confirm this?

    Thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    I'm not sure if I understand your questions.
    1) DNS has nothing to do with ifconfig
    2) Creating NIC alias as well has nothing to do with DNS
    3) ping is not a tool to troubleshoot DNS problem

    >> I am thinking maybe I need 4 different NIC Cards in one single machine?

    To reduce collision of course it's better off to use separate cards. Sometime you get assigned with 5 static IPs you don't have to use them all. Maybe you should build 4 additional boxes and assign a static IP per box.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    14
    Rep Power
    0
    What I mean is that I configured everything alright. I registered my name servers as ns1, ns2, ns3, ns4, ns5 and each has different IP with the registar godaddy.com. Right now my DNS as follow:

    ns1.mydomain.com IN A 1.2.3.4
    ns2.mydomain.com IN A 1.2.3.5
    ns3.mydomain.com IN A 1.2.3.6
    ns4.mydomain.com IN A 1.2.3.7
    ns5.mydomain.com IN A 1.2.3.8

    The eth0 has the 1.2.3.4 IP, when I try http://ns1.mydomain.com and it works, but not with http://ns2.mydomain.com and it doesn't work, so as the others. How do I configure DNS to point all the IPs above to the 1.2.3.4 IP?

    Thanks!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    How do I configure DNS to point all the IPs above to the 1.2.3.4 IP?
    I don't get it. What do you mean when you say to point an IP to another IP?
    Let's forget about the FQDN assignment, can you ping all of them via IP only? Can other from a remote location ping all 5 IPs? If you can't, then it's not a DNS problem but rather a network configuration problem on how to go about creating NIC alias.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    14
    Rep Power
    0
    ehhehe...sorry for the real confusion. Anyway, I guess you got me right. I have ONLY 1 Nic card right now with IP 1.2.3.4 and how do I create *fake* NIC aliases that I can really assign a real IP to it.

    Thanks!
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    You need to run ifconfig to add that but I'm sure there is a easier way for your unknown OS to configure this in a boot script so it's done automatically on reboot. Whatever OS that is, you should read the network configuration section of the howto.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    San Jose, CA
    Posts
    58
    Rep Power
    14

    Suggestion


    FreeBsd was right when he said that you don't need to use all of your ip's. The reason why you would have more than one DNS server is for ackup purposes only, however if you insist on haveing a DNS server that can be contacted by 5 diff ip's her is a tip.

    You do not need to have 5 nics (although it would be nice).

    add a virtual interface by typeing somthing like this.

    #ifconfig eth0:1 1.2.3.2 submask 255.255.255.0
    #ifconfig eth0:2 1.2.3.3 submask 255.255.255.0
    #ifconfig eth0:3 1.2.3.4 submask 255.255.255.0
    #ifconfig eth0:4 1.2.3.5 submask 255.255.255.0

    You will also need to ad a route in your routing table for these ip's

    #route add 1.2.3.2 dev eth0:1

    and so on...

    Hope this helps....
    Thank you,

    Paul B Hepworth

    Questions & Answers http://www.lds.org

IMN logo majestic logo threadwatch logo seochat tools logo