Resolv local ip to name
Moderator: Moderators
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Resolv local ip to name
Is it possible to connect to a hub in a puter using the puter name then behind a switch (unknown model)(I know its possible if you are running a local dns because that are having here) .If its not are possible does anyone know how to easy set up an local dns-server fot just the local ip and then get everything else from an outside dns, for example 10.0.0.1? I want info how to do it under both linux(redhat, not sure which version) and windows xp becuse I´ve not yet decided which os to run the hub under (or which hub).
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
if you have a router on your LAN, it might also have DNS resolution in it DHCP server.(not for inside DNS resolution, but outside).
if DHCP allocate an IP to a puter, chance that the router will be also be able to resolve your no-ip addy are high.
if you have no router, you might try to setup a software router like:
http://sourceforge.net/projects/smoothwall/
or
http://sourceforge.net/projects/freesco/
also, adding an entry to the "hosts" file, in the puter you want to use to access your server, might do the trick.
like: 192,168.0.3 youraddy.no-ip.com
if DHCP allocate an IP to a puter, chance that the router will be also be able to resolve your no-ip addy are high.
if you have no router, you might try to setup a software router like:
http://sourceforge.net/projects/smoothwall/
or
http://sourceforge.net/projects/freesco/
also, adding an entry to the "hosts" file, in the puter you want to use to access your server, might do the trick.
like: 192,168.0.3 youraddy.no-ip.com
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Perhaps the word "LAN" wasn´t the correct to use, it is just that this word are used for one other thing in sweden which is almost the same but not exactly. I better explain what I mean. What I mean is that people goes somewhere (in this case will it be somewhere between 30-40 people) and connets to local network (which often is connected directly to the net then) they do then stay there for about a weekend or more if it´s a big one like "nollelva" or "dreamhack" if you ever have heard of this. We will have two 10/100 MBits switches and the computers connected to them, I think switch number one will be connected to switch number two which are connected to the net. If you need more info tell me, I´ll also contact the arrangers(is this the correct word?) of the LAN to get more info about more exatcly how the switches will be conneted to eachother.
if i understand you correctly.
in this kind of setup is that you're all in the same LAN as all the other users of that ISP.(same IP class)
you won't be able to make a DNS server work to resolve outside DNS, unless the DNS server have a routable IP.
since i don't know what hardware the ISP is using, i can't say if DNS will be resolve for non routable IPs.
in this kind of setup is that you're all in the same LAN as all the other users of that ISP.(same IP class)
you won't be able to make a DNS server work to resolve outside DNS, unless the DNS server have a routable IP.
since i don't know what hardware the ISP is using, i can't say if DNS will be resolve for non routable IPs.
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
The puter running the gatway should be outside the switches, or? (e.g. The computers on the local net connected to the switches, switch one to switch two which sholude be connected to the puter running the software gatway whic hthen sholud be connected to the net? Then you would need two neetworkcards in that puter? ) And also, where do you get a software gateway?
a pentium 90 should be enough for the software router, with 2 or 3 nic.Do you think a 200-300 mhz p2 can handle both that and a hub?
the third is for DMZ(only if soft support more then 2 nic and DMZ is needed).
for the hub that depend on how many users are in the hub, best if not on same puter as the router.
The puter running the gatway should be outside the switches, or? (e.g. The computers on the local net connected to the switches, switch one to switch two which sholude be connected to the puter running the software gatway whic hthen sholud be connected to the net? Then you would need two neetworkcards in that puter? ) And also, where do you get a software gateway?
Code: Select all
ISP--->router--->switch--->switch--->puters
\ puters
keep in minds that you will need a routable IP for this and that all your 30-40 puters will need to be connected to the switchs connect to the soft router.
to summerize...
a few things to keep in minds when working with non routable IPs.
since they are not routable ISP need a NAT or gateway device, problem is that you can't configure the ISP devices yourself.
when you connect to the ISP network, depending on the DNS server configuration, DNS outside the LAN will not always resolve to an inside IP.
since you can't forward a port to a server inside the LAN(only ISP is able to and will surely not do it).
any server set in the LAN will only be available for users inside the LAN.
a few things to keep in minds when working with non routable IPs.
since they are not routable ISP need a NAT or gateway device, problem is that you can't configure the ISP devices yourself.
when you connect to the ISP network, depending on the DNS server configuration, DNS outside the LAN will not always resolve to an inside IP.
since you can't forward a port to a server inside the LAN(only ISP is able to and will surely not do it).
any server set in the LAN will only be available for users inside the LAN.
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Feels like that is to much work for just a weekend, but I've found a simplier way (perhaps not the best one). I just make a program that adds an entrie at the end of the hosts file. I know thi file is located C:\WINDOWS\system32\drivers\etc under win XP. Is it the same under NT? And where is that file under win 9x?
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
also, adding an entry to the "hosts" file, in the puter you want to use to access your server, might do the trick.
like: 192,168.0.3 youraddy.no-ip.com
one thing you must be aware of when playing with the Hosts file.Feels like that is to much work for just a weekend, but I've found a simplier way (perhaps not the best one). I just make a program that adds an entrie at the end of the hosts file. I know thi file is located C:\WINDOWS\system32\drivers\etc under win XP. Is it the same under NT? And where is that file under win 9x?
if the IP of the hub puter change, you will have to change the entries in all the Host file to reflect that.
this will depend of the lease time and behaviour in assignation of the IPs given by your ISP DHCP server.
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping