BTW!! I am able to connect to the internet via GNS3 Router. My question is about the IP Address that's assigned to the router!
Here it goes:
So this is my set up in GNS3:
Router 1 ---> Cloud (using my local MS loopback interface)
I had been struggling to get my router to the internet for a while. I'd run ipconfig and found that my wireless connection had an IP of 10.x.x.x with a gateway of .1. So obviously, I was trying to manually assign my MS loopback a random address of like 10.x.x.25 (/24, so still within the same subnet). But it never worked!!
Finally gave up, and then a new idea hit me. I set my MS loopback as "receive IP via DHCP", and also my GNS3 router interface that's facing the loopback cloud as "receive IP via DHCP".
They both received an IP Address of 192.168.x.x, and it connected to the internet as well. Duh.. no wonder my manual 10.x.x.x didn't work.
I did an ipconfig/all.... I just could not see a 192.168.x.x subnet in there at all.. no trace of it, just 10.x.x.x was present.
Where DID this 192.168.x.x IP come from? Difference between 10.x and the 192.x address?
Any help would be appreciated!
Nevermind, I think I figured it out. 10.x would be an IP address if it was handed out by my home router.
Here, since I allowed my Loopback to link up with my real router, my PC is behaving as a DHCP server instead, on behalf of my real home router. So 192.168.x is a pool belonging to my PC which handed out an IP to my virtual GNS3 router.
A traceroute to a google dns server revealed the works behind the scenes. It reach the 192.168.x.1 and THEN went to the 10.x.x.1. So my PC is like a proxy right?
Related
I am trying to set my raspberry pi as a web server just to play around.
I changed the DNS record of my domain to point to my IP address.
then I forwarded the requests of port 80 to my raspberry pi internal IP address from the router.
I can reach the raspberry pi from my internal wifi connection using its ip address. However, I can't reach it using my domain name. I am getting this " server IP address could not be found." error.
Tried to clean cashe from chrome, and tried another browser ..etc. didn't work.
Any Ideas?
EDIT: ping works and no packages are lost
+
I waited 2 days already
When changing DNS it will take some time before all nameservers get changes.
You can read more about it here
You can try and go to your public IP. Then you should be able to visit your webserver, if you have forwarded it correct.
I have recently brought a static ip address from my isp and i have a old computer to which i want to make my website live on internet i have read couple of forums and done research from it and nowhere i am to follow that.
I have a D-link modem and linksys router wrtg54 my isp have set up the static ip on d-link modem now i am confused what to do with the static ip as per my research many static ip are written on networks ip address,subnet,gateway and dns. I dont know how to set this up.
I had setup a static ip on my server computer which is 192.168.192.103 now i dont know what to do.Just for your refrence my Linksys router is configured on DHCP network.
I would really appreciate if someone can guide me or help me with a name who can setup this network thing so i can find the help for this problem.
Just to clarify, having a static IP does not resolve all the points for setting up a website, open to the public.
Consider the following points:
Do you have a webserver running on your computer?
(see www[.]apachefriends.org/de/index.html for windows or help[.]ubuntu.com/lts/serverguide/httpd.html for Ubuntu)
Does your ISP allow access on port 80?
(this would change to 443 if you use https)
Set the port forwarding on your router to the local machine
(http://portforward.com/english/routers/port_forwarding/Linksys/WRT54G/HTTP.htm for more info)
Get a domain (www.example.com) for your website
(If you registered already a domain, you have to change the target IP to your fixed IP which you received from your ISP)
Try to work this through and don't stop asking!
Sorry if I have this in the wrong community but I'm hoping one of you can help me out anyway.
I have a web hosting account with a UK company who I'm happy with, but I'd like to set up a little hosting account from my laptop, just to see if it's possible and easy enough to do really.
Trouble is I've been doing a lot of research online but coming up empty whenit comes to more of a "complete guide". Do any of you know of a good resource for setting up a home server for publishing "Live" websites with custom TLD domain names? I have a localhost server running and files hosted on there but I'm really looking for help with the IP and DNS parts for the custom domains.
For reference, I have a machine running Win7, Appserv 2.5.10, UK broadband and a .co.uk domain name registered with 123-reg.
Any help would be hugely appreciated.
You'll need to:
Point your domain to your laptop.
If you get static public IP address from your ISP, then you can just point the A record to this IP address.
Where do I set this A record? Almost all domain registrars give you a nameserver for free. You point your domain to their nameservers (generally ns1.somedomain.com and ns2.samedomain.com etc.). In the nameserver config, create a A (stands for authoritative) record and put in your static IP address.
What if my ISP doesn't give me an static IP address? This is where services like dyndns come into picture. They give you an agent that you'll install on your laptop, it detects the change in IP address and automatically updates the Nameservers accordingly. There are some free variants of dyndns as well if you don't want to spend money on this.
But my laptops IP address is something like 192.168.x.x and my site runs on localhost (127.0.0.1)? Your laptop is most likely NATed. Think about your public IP address to be that of your router. You will need to forward any connection coming to your router on port 80 or 443 to your laptop's (192.168.x.x) corresponding ports. This is called Port-Forwarding and all routers support this. Port-Forwarding is done by logging on to the admin interface of your router (Many times its at http://192.168.0.1 or http://192.168.1.1).
But again my application is accessible at localhost? You need to make sure your apache/nginx listens on 0.0.0.0 or atleast 192.168.x.x interface. This is how computers outside your laptop will be able to make connection to your laptop on port 80/443.
I am having problems connecting to my website from a source outside my local network. I had another server before running the same site. The only difference is the old one was FreeBSD and now I'm trying it on Linux.
Here is my setup: I'm using Apache2. The server is behind a Netgear router. I'm using a Freedns host name. I have ddclient updating my ip.
Here is what happens: I can look at my site from the server in Chrome or my phone connected to the local wifi. It works using either the host name or ip address. It does not load from my cell phone or from my desktop using a proxy for either the host name or the ip address (the external one from googling my ip and from the router's wan info page). When I try the proxy with the host name I get "conection timed out" error, and when I try the ip address I get "couldn't connect to host error".
Here is what I've tried: I enabled port forwarding to the server from and to port 80 to my lan ip address. I disabled the firewall on the server. I double checked that the host name is directed to the right ip address. I ensured that the ip address does indeed point to my router. I've watched wireshark on my server while trying to connect and don't see any incoming requests when I try to load it from my phone.
It seems like maybe my port forwarding isn't working, but on my router it says that that port forwarding rule is active.
I'm out of ideas as to why what else could be going wrong.
I have a Laptop, with msSql sever 2005, and it is connected to my Wifi router which gets the internet. So My laptop get connected to internet. But I need to access my msSql Sever from internet to connect my webpage which I made using ASP.Net.
Please Help me... And please give a solution for this...
You'll need your IP adress to connect, then open the SQL-Port in your router. (default is 3306)
When you connect to the server just use your current ip adress.
Maybe you want a static ip or something like http://dyndns.org
you want to write web service and host that service in sql machine
First setup a static IP address on your laptop and after that you need to set up port forwarding in your router. This process differs slightly depending on your routers manufacturer and model.
After this is set up properly make sure that SQL Servers port is open on your laptops firewall.
By using Dynamic DNS you can point to your possibly changing IP address with static name so you don't have to change this constantly in your connection string.