Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my ISP provider runs a dhcpcd server and thats how I get my network information. I connect Fine to the internet no problems with that. When I issue ifconfig everything comes out correctly here an example:
thats the whole output of ifconfig. Now the inet addr is a Class C IP which is fine. But now where is my public IP ? I run a web server with a dynamic domain due to my IP being dynamic so I need an Interface that carries my public IP so I can update my sub-domain. Any help would be helpful.
Are you hooked up with a broadband connection? Are you going through a router or firewall? If the answer to those is yes, your router setup should have your public IP listed. Not sure how to get it otherwise.
Are you hooked up with a broadband connection? Are you going through a router or firewall? If the answer to those is yes, your router setup should have your public IP listed. Not sure how to get it otherwise.
Yes the answer is yes to all of those except the firewall
Hi,
I guess you are using broadband internet through ADSL link. In these setups, ISPs dont assign your PC global IPs that are accessible from the internet. Instead , your router's WAN interface will be assigned the global IP which runs NAT. It is intentionally done by the ISP to save Global IPs, minimize the attacks from the internet and to stop the customer from hosting any server side programs that are accessible from the internet because they can consume a lot of bandwidth (upload bandwidth). Contact your ISP for a static global IP. You need to pay more to your ISP if you need a static Global IP (Usually several times higher than your present tariff).
-mahesh.k
As previously posted, your router will WAN interface will be assigned the IP address from your ISP. There are free dynamic IP DNS sites like www.noip.com or www.dydns.com that will automatically update when your IP changes. An update client runs periodically on your PC that will update the DNS site when your IP changes. You will need to foward port 80 from the router to your server's IP address. You should use a static IP address for the server.
I think I have a solution I'm going to use rp-pppoe which enables the *face ppp0 with my global IP. that way I'm able to update the dyndns client (ez-ipupdate) using the ppp0 *face. Regarding the Static IP you are right is expensive. So I'll just stick to the above solution for now.
Thank you.
PS: people really learn lots about linux with this forums. GREAT WORK !!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.