cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2203
Views
10
Helpful
17
Replies

Need to give one ip for internet users

bijupadmanabh
Level 1
Level 1

Server need to acces from out side :: 192.168.1.2

Public IP Address Assigned by NAT :: 220.225.36.8 from one ISP( WAN !)

                                                        124.25.86.9   FRom another ISP(WAN 2)

Problem Facing ::  Internet USers (( Acessing the server by these IP but one link goes down( Our side ) They have to change the IP Manualy in their          application

Wanted  to give : one ip for the user , If one Link goes down in Our side the trafic should come through other No need to change the IP manually

So kindly Provide me a solution

Biju.A

17 Replies 17

Collin Clark
VIP Alumni
VIP Alumni

A load balancer would be the best solution and require no intervention during an outage.

http://www.cisco.com/en/US/partner/products/ps8361/index.html

Hope it helps.

In addition to load balancing would they also want to consider accessing by name instead of IP?

How i can use name insted of IP

Have you read the whole discussion?

By name or address, there is NO way to do what you want.

Think of this problem as you need to give one NAME for internet users. As we all agree you can't give one IP as this limits availability and is at the mercy of your circuit availability. By changing focus the issue then becomes how do you resolve that name and what IP will it resolve to? This changes the scope of the problem and gives you some options.

If you can do this by name (which is the optimum way) you are going to need to implement a global load balancing solution and you are going to want to be in a position where you can manage your DNS. In essence the problem is how the client is configured to access your application. You definitely can't do this if you are trying to access services by IP address only. If this is a requirement then it is a done deal and you are going to have to continue to work with what you have.

If you are in fact stuck with using IP addresses then you can revert to a simple solution using a hosts file on the machines in question. Windows (assuming they are using Windows) will resolve a name using the hosts file before it tries to contact a nameserver. If you try to access www.example.com and you have two entries in the hosts file it will try each of these in succession until one works. If you don't have alot of end-users affected by your problem you are presenting this is probably the easiest and cheapest way to go about this. You can also load balance users across the two circuits by alternating the ordering of the addresses in the hosts file.

On the other hand with a GSS (or any global load balancing solution for that matter) being authoritative for your namespace you will be able to put in place the mechanisms you need to affect how the name for your service is resolved. The GSS device or devices do not have to be offsite. They just have to be able to get out through your internet connections. Once you introducde any global load balancing solution into the architecture you increase by orders of magnitude the way you can affect traffic reaching your server. This will be helpful in instances of circuit maintenance, equipment maintenance, physical relocation, introducing new servers, redirecting users based on geographic location, etc.

Just make sure you consider the scope of your problem as you are starting to move up to a more advanced solution and it will take some planning and some money. Not sure how many users you are talking about. If it is a small number then a host file modification will do the trick. You do not even need to add a legitimate domain to the hosts file to make this work either as Windows is just going resolve the name to whatever addresses you have configured.

ALSO - please be mindful of all of the additional info Jon and Paolo have provided. In the end this may be too much to tackle so take it offsite to a cheap hosted solution and save yourself alot of trouble.

AND - my public apologies to Paolo! I do not mean any disrespect as this discussion has become lively to say the least and I was probably a bit too blunt due to major lack of sleep.

Shawn

Shawn, there is no problem.

When there is no agreement or understanding, discussing matters in technical detail may help and that is what we are doing here.

paolo bevilacqua
Hall of Fame
Hall of Fame

There is really no solution.

You would need to get your own address space and BGP, that is very complicated and expensive, consequently most people put servers in datacenters, that "never" go down.

How about using the GSS in addition to a local load balancing device? This seems to present a solution to this problem. There are other technical details involved, but GSLB is something that can help here.

How about using the GSS in addition to a local load balancing device?  This seems to present a solution to this problem. There are other  technical details involved, but GSLB is something that can help here.

Not sure what a GSS is, but whatever it is, would not help.

In the internet, when and address unreachable, it is, and no balancer can make it work.

It is the Cisco Global Site Selector. Oh it would work - I promise

It is the Cisco Global Site Selector. Oh it would work - I promise

Beside that these are products aimed at datacenter rather than casual server hosting, please explain us how a when a regualr ISP circuit (no BGP ) that terminate address X.X.X.X is down, how exactly anyone from the internet can still reach X.X.X.X

Think about the client access method - forget about BGP and addressing. That is not the problem here.

No, indeed exactly that is the problem.

Sorry, seems like you really don't know what you are talking about - "client access method" ???

No it isn't, exactly.

Review Cisco Networking for a $25 gift card