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.
It means that that is the address you're pulling from your ISP.
I didn't meant to ask that.
Quote:
i get either of two ranges
one is :59.144.x.y
second is :203.101.a.b
what i was intending to ask is:
1. Is it showing anything about the ISP servers....that how many he using or anything else...
2. Since everytime whether i get as 59. . . . or 203. . . , the first two octets remain the same. Does it means he is usnig class 'B' addressing scheme and his subnetmask is 255.255.0.0 ?
Your ISP assigns you a routable address, it buys(or is assigned). This has to be a unique address. That is probably the two ranges(depending on how big your ISP is, it may be the only ones they have)they use. You never, ever, ever use the subnet mask to determine class. When you get into subnetting and borrowing bits you can have a class B address with a subnet mask that looks like a class C. (think i got that in the correct order). Its still a class B.
This all works basically the same way a phone company works.
They buy phone numbers from 1-555-212-**** and 1-555-217-****, when you get a phone, they pull a number from this range so you will have a unique number. You just get new IP's more often than you get new phone numbers.
Are you saying this on the basis of following convention :
1.x.x.x -> 126.x.x.x : Class A
128.x.x.x -> 191.x.x.x : Class B
192.x.x.x -> 223.x.x.x : Class C
223.x.x.x -> till last : Class D
( God knows about the Class E )
But someone told me that now this class convention has become obsolete and everything depends on the "subnet" mask value, b'coz we have started using CIDR.
It is not clear what you are asking. Many ISPs and corporations own IP address spaces that are not contiguous or within the same class. Many use variable subnet masking. They even use non-contiguous masks, but we should not go there. That is done strictly for security purposes and becomes very confusing to decode if you do not already know the infrastructures.
There is nothing to prevent them from using different networks and subnetworks in the DHCP database. They can also use different databases that load share such that each successive client will get a different subnet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.