Results 1 to 3 of 3

Thread: Private network

  1. #1

    Private network

    After typing ifconfig in my terminal, I get the Ipadress: 192.168.etc. (I don't think it is smart to post my whole IP-number).

    I have just studied subnetworking and I can't figure out why I have a private IP-adress and a mask of It a class-c network!

    So, two questions:
    1. Why do I have a private IP-adress
    2. Why do I have as subnetmask

    This is a question for those who have real knowledge about networking.
    Thanks beforehand.

  2. #2
    Hi connann,

    1. It's part of the Internet addressing architecture, the fact that private networks were designed for home and offices (LANs), and in this case, your modem has the Public IP address assigned by your ISP. Such device assigns you a Private IP address via DHCP, and it does NAT all your requests.
    By the way, ifconfig command shows the IP address that was assigned either statically or dynamically(via DHCP) to your NIC. If you need to know your Public IP address you can search for an IP Address lookup service in internet.

    2. The subnet masks and the IP addresses range are determined by your modem configuration. There are some modems that you can configure to set your own values.


  3. #3
    Thank you for your reply, protocentux.

Similar Threads

  1. PuTTY private key passphrase stealing attack
    By Kernel_Killer in forum Security
    Replies: 0
    Last Post: 06-02-2010, 04:50 PM
  2. [Q] Bind wil not answer on the private address?
    By TheEdge in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 10-01-2009, 12:26 PM
  3. Virtual Private Server ( VPS ) - DNS problem
    By SaTutt in forum Linux - General Topics
    Replies: 0
    Last Post: 08-26-2009, 11:21 AM
  4. Configuring redhat 9 as a router between 2 private networks
    By menonrr in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-19-2004, 07:31 AM
  5. Setting up a private community
    By x in forum General Chat
    Replies: 2
    Last Post: 07-19-2002, 01:23 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts