ip address

General Discussions
Post Reply
User avatar
viddz
Sergeant Major
Sergeant Major
Posts: 45
Joined: Fri Aug 26, 2011 6:06 am
Location: Colombo

ip address

Post by viddz » Thu May 17, 2012 3:11 am

Iam using dongle to connect to the internet. This what ipconfig shows. any xplanations????

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 101.2.177.103
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 101.2.177.103
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: ip address

Post by Saman » Thu May 17, 2012 3:19 am

I'll tell you some more information ;)

Code: Select all

inetnum:        101.2.176.0 - 101.2.191.255
netname:        AIRTEL
descr:          Bharti Airtel Lanka Pvt. Limited
country:        LK
You are dynamically assigned with WAN IP 101.2.177.103 by Airtel guys and that's your default gateway (the IP used to go to Internet) as well. Say another LAN adapter is there which you share your internet connection. Packets of that network will come to your machine first and then sent to internet over the default gateway (which is your dongle).

I don't see any problem with that, do you?
User avatar
viddz
Sergeant Major
Sergeant Major
Posts: 45
Joined: Fri Aug 26, 2011 6:06 am
Location: Colombo

Re: ip address

Post by viddz » Thu May 17, 2012 3:28 am

wat about the subnet mask?? 101.2.177.103 is class A(public) ip address. So subnet mask should be 255.0.0.0. How it becomes 255.255.255.255?
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: ip address

Post by Saman » Thu May 17, 2012 3:43 am

According to the network theory I leaned many years ago, I can't remember I learned any connection between network class and subnet mask. It could be calculated for each class to be useful, that is true.
When your subnet mask is 255.255.255.255, that means it is a single host subnet.

check my setting on a SLT ADSL connection with a class C WAN IP.
sltadsl.jpg
sltadsl.jpg (22.6 KiB) Viewed 7328 times
User avatar
viddz
Sergeant Major
Sergeant Major
Posts: 45
Joined: Fri Aug 26, 2011 6:06 am
Location: Colombo

Re: ip address

Post by viddz » Thu May 17, 2012 3:57 am

Got it. 255.255.255.255 is for PTP networks. Thanku :)
User avatar
SemiconductorCat
Major
Major
Posts: 455
Joined: Mon Aug 22, 2011 8:42 pm
Location: currently in hyperspace

Re: ip address

Post by SemiconductorCat » Thu May 17, 2012 10:18 pm

are you asking how class A , Class B and class D , E are encoded?
It's encoded using a simple bit parttern .
Image


Network class due to it's bit pattern it restricts to some IP range.And Number of bits
which could be used in the host address and the network address filed.


if you masked a particular IP from a network mask you'll simply obtain the network address.
As Simple as that.

Where subnet mask is totally different from the class A, B, C default network mask.
So generally there is no connection between network mask and the class that your
ip belong.


Hope this may be useful.
Post Reply

Return to “General Discussions”