Koozali.org: home of the SME Server

whay domanxx.xx point to the external ip and xx.domain.xx no

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
whay domanxx.xx point to the external ip and xx.domain.xx no
« on: August 09, 2006, 04:38:49 PM »
all the defaults host created :

mail.domainxx.xx
ftp.domainxx.xx
etcc

are pointing to the internal ip, ej. 10.0.0.9

an the entry A "domainxx.xx" is pointing to the external ip, ej 200.55.36.6
thats ok?
And if its ok, iam still needing other thing.
i would like that the entry A "domainxx.xx" point to the internal ip, how can i do it? its not possible in ther server-manager, so i think thats is done by db command, but i cant find where.
thks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: whay domanxx.xx point to the external ip and xx.domain.x
« Reply #1 on: August 09, 2006, 04:55:15 PM »
Quote from: "lucho115"
all the defaults host created :

mail.domainxx.xx
ftp.domainxx.xx
etcc

are pointing to the internal ip, ej. 10.0.0.9

an the entry A "domainxx.xx" is pointing to the external ip, ej 200.55.36.6
thats ok?
And if its ok, iam still needing other thing.
i would like that the entry A "domainxx.xx" point to the internal ip, how can i do it? its not possible in ther server-manager, so i think thats is done by db command, but i cant find where.
thks
If this is your external DNS configuration (usually at your providers DNS) than you must specify your external address as internal addresses can not and should not be resolved by external DNS servers.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
whay domanxx.xx point to the external ip and xx.domain.xx no
« Reply #2 on: August 09, 2006, 07:50:28 PM »
ok, i understand, and i feel that was an stupid question, jeje
ok, but if i wish to put lik internal the extarnal ip, how can i do it?
thks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
whay domanxx.xx point to the external ip and xx.domain.xx no
« Reply #3 on: August 09, 2006, 08:56:07 PM »
Quote from: "lucho115"
ok, i understand, and i feel that was an stupid question, jeje
ok, but if i wish to put lik internal the extarnal ip, how can i do it?
thks
I don't know what you are trying to achieve. Do you just want to swap the NICs so the current internal is used as external NIC and vice versa or do you want to do something else?
Maybe if you explain your goals (a little clearer) we might be able to help you solve your problem.

A little information which might clear things a little bit for you:

Normally a provider supplies you with an IP number, this can be any number except from this list (they are reserved for private/internal use):

From RFC1918 (http://rfc.net/rfc1918.html):
Quote
3. Private Address Space

The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private internets:

10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)


The ip number provided by your provider is your external IP number under which your server can be found from the internet, this ip number should also be assigned in the DNS servers to your domain name in case you have one.

For your private/internal network you are free to choose from the above ranges. SME Server probably suggested a 192.168.x.x ip number for you server and your clients.

In short it should like this:
Code: [Select]

Internet ---- |  --Ext NIC --- Int NIC --  | ---- local network
                   1.2.3.4    192.168.x.x          192.168.x.x

Between the | |  is the server.

Traffic from the internet flows from left to right to your PC behind your server (e.g. incoming mail), traffic to the internet flows from right to left (e.g. outgoing mail).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)