vikas_madhusudana
asked on
"many to one" IP Mapping
Hi All,
I have requirement of a many to one ip mapping i.e if i am ping different ip's it should map to the same ip for ex.
if i have a box with ip 10.10.10.10 and if i ping from range of ips 10.10.10.1 to 10.10.10.9 it should be pinging to the box with 10.10.10.10. ip
i know this is something to do with NAT so i have a windows server with nat installed in it and i have no idea how to go further please help
I have requirement of a many to one ip mapping i.e if i am ping different ip's it should map to the same ip for ex.
if i have a box with ip 10.10.10.10 and if i ping from range of ips 10.10.10.1 to 10.10.10.9 it should be pinging to the box with 10.10.10.10. ip
i know this is something to do with NAT so i have a windows server with nat installed in it and i have no idea how to go further please help
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your replies
@akahan
My problem is i dont have ips i have only few ips (say 10 registered ips) now my problem is i want to have 1000 unregistered ips to be mapped to 10 registered ips.
@saragnk
I had visited these site earlier they only say about different types of Address translation but clear steps to achieve this is not mentioned.
@akahan
My problem is i dont have ips i have only few ips (say 10 registered ips) now my problem is i want to have 1000 unregistered ips to be mapped to 10 registered ips.
@saragnk
I had visited these site earlier they only say about different types of Address translation but clear steps to achieve this is not mentioned.
The section named "Setting up NAT" in the first link provided me has a step by step guide for setting up NAT:
http://www.windowsnetworking.com/articles_tutorials/NAT_Windows_2003_Setup_Configuration.html
Warm regards,
Sarang
http://www.windowsnetworking.com/articles_tutorials/NAT_Windows_2003_Setup_Configuration.html
Warm regards,
Sarang
Thats not how NAT works mate (from your question)
NAT connects two seperate networks together using 1 IP address for the outgoing IP port from the internal network.
Once your internal and external ports are setup, NAT will happen automatically, it doesnt need any further configurations unless you intend to use port forwarding and the like, which are also do-able with a little more configurations...
NATSample.jpg
NAT connects two seperate networks together using 1 IP address for the outgoing IP port from the internal network.
Once your internal and external ports are setup, NAT will happen automatically, it doesnt need any further configurations unless you intend to use port forwarding and the like, which are also do-able with a little more configurations...
NATSample.jpg
To add, you cant configure 10.10.10.10 to respond to a ping to 10.10.10.1 - it doesnt work that way. For a solution like that you need to setup DNS and manually enter the IP's to the computer names and then ping the computer names.
ASKER
@RohitBagchi
can i use NAT to do something like this 10.10.10.10:80 to 10.10.10.1:80,10.10.10.2:8 0 ... ... mapping
can i use NAT to do something like this 10.10.10.10:80 to 10.10.10.1:80,10.10.10.2:8
Question is somewhat confusing. Nat is most of the time used for maping source address, but i guess you rather want to map the destination ip.
Please share the exact scenario.
Please share the exact scenario.
Mate,
Being completely honest, I don't really understand what you are trying to achieve. If you could explain your actual requirement better, maybe we could see the point of your requirement and give a better solution.
To answer your second question - Port Forwarding can sort of do what you mention on your last post, BUT it doesn't work within the same network - its meant to connect two seperate networks running with different network addresses. If you have physical PC's with the IP addresses 10.10.10.1, .2, .3 ... you can manually forward all incoming data to those ports to 10.10.10.1 - something like call forwarding on a mobile phone, but that will render those PC's unable to function on the network. Its like calling a mobile number and expecting 10 numbers all ring at the same time and say hello from all of them together. I hope you understand what I am trying to say.
For normal conditions such as configuring internet / remote domain access, 1 Ext IP is more than enough - the router usually handles this automatically (the NAT conversions between internal and external networks)
Hope that helps clear the background. For further information, please let us know what exactly your requirement is (specifics of hardware and required solution) - otherwise this is just a classroom exercise with no real end.
Cheers.
RB.
Being completely honest, I don't really understand what you are trying to achieve. If you could explain your actual requirement better, maybe we could see the point of your requirement and give a better solution.
To answer your second question - Port Forwarding can sort of do what you mention on your last post, BUT it doesn't work within the same network - its meant to connect two seperate networks running with different network addresses. If you have physical PC's with the IP addresses 10.10.10.1, .2, .3 ... you can manually forward all incoming data to those ports to 10.10.10.1 - something like call forwarding on a mobile phone, but that will render those PC's unable to function on the network. Its like calling a mobile number and expecting 10 numbers all ring at the same time and say hello from all of them together. I hope you understand what I am trying to say.
For normal conditions such as configuring internet / remote domain access, 1 Ext IP is more than enough - the router usually handles this automatically (the NAT conversions between internal and external networks)
Hope that helps clear the background. For further information, please let us know what exactly your requirement is (specifics of hardware and required solution) - otherwise this is just a classroom exercise with no real end.
Cheers.
RB.
This doesn't sound like NAT this sounds like he just wants to add more IPs to a host. If this is a windows box you can go into network connections, goto the properties for the local area connection. Then goto TCP/IP properties. Go to the advanced button and you can add 100 IPs to that connection if you want and it will respond on all of them. Then if its a web service you go to the website in IIS and tell it to listen on All IPs.
Here is the picture: I use DHCP on my workstation but if you have a static IP you can add as many as you want.
advancedtcpip.bmp
advancedtcpip.bmp
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok let me make it clear
1. i have a subnet of 25 boxes each assined an ip
2. i have a box that is outside this subnet
Now what i want i for the box that is sitting outside my subnet i wanted to make the subnet look like a subnet of 1000 boxes instead of 25 boxes is this achievable.
sorry for not being clear earlier and thanks for all your suggestions .
1. i have a subnet of 25 boxes each assined an ip
2. i have a box that is outside this subnet
Now what i want i for the box that is sitting outside my subnet i wanted to make the subnet look like a subnet of 1000 boxes instead of 25 boxes is this achievable.
sorry for not being clear earlier and thanks for all your suggestions .
The box outside the the mentioned subnet can only guess the number of boxes in the other side by pinging the entire pool of IPs. Yes you can configure the router connecting 2 subnet (if any) to nat all the remaining ips of subnet to a specific ip or group of ips among those 25 boxes. This way device from outside the subnet will get reply from all possible IPs ofthat subnet.
which router do you have between subnet?
which router do you have between subnet?
@Vikas : Nope. You can't. And anyways, it doesn't matter because your external boxes will not be able to access your internal boxes without you configuring the firewall on your router and until you setup port forwarding or trusted connections anyways. The default disallows external boxes from being able to access your internal network - as that is NOT going to be on the same network as your "external" box.
What I mean is that you cant have boxes on the same IP domain on opposite sides of a routed connection. Only ONE of the two can be in your 10.10.10.x range UNLESS you use subnetting and I do believe that is out of the scope of your current question.
The fact remains that your requirement is still a little confusing. If there is no router in the middle, and all you want to do is spoof your external users to THINK there are more boxes than really are, you can add multiple IP's to one network adapter.
In Windows Vista for example, you can configure your TCPIP settings for your network connection under the advanced settings to set multiple IP's per network conenction, which will achieve a many box effect in theory.
Erm...
What I mean is that you cant have boxes on the same IP domain on opposite sides of a routed connection. Only ONE of the two can be in your 10.10.10.x range UNLESS you use subnetting and I do believe that is out of the scope of your current question.
The fact remains that your requirement is still a little confusing. If there is no router in the middle, and all you want to do is spoof your external users to THINK there are more boxes than really are, you can add multiple IP's to one network adapter.
In Windows Vista for example, you can configure your TCPIP settings for your network connection under the advanced settings to set multiple IP's per network conenction, which will achieve a many box effect in theory.
Erm...
EDIT above, in the third para, i meant to say if there IS a router in the middle...
Cheers.
RB.
Cheers.
RB.
ASKER
@RohitBagchi
Yes there is a router in the middle
~Vikas
Yes there is a router in the middle
~Vikas
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To illustrate this better, if would look something like this in router configurations :
NATSample2.jpg
NATSample2.jpg
See if these do the needful:
http://www.windowsnetworking.com/articles_tutorials/NAT_Windows_2003_Setup_Configuration.html
http://technet.microsoft.com/en-us/library/cc756722%28WS.10%29.aspx
Warm regards,
Sarang