Results 1 to 5 of 5

Thread: How do I check what my network and gateaway IP's are please?

  1. #1
    Join Date
    Feb 2009
    Beans
    66
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Unhappy How do I check what my network and gateaway IP's are please?

    Hi

    I'm trying to setup ISPConfig. Part of the installation process requires I set up my network values in a particular file called "/etc/network/interfaces":

    iface eth0 inet static
    address xx.xx.xx.xx
    netmask xx.xx.xx.xx
    network ?
    broadcast xx.xx.xx.xx
    gateway ?


    I'm okay with xx.xx.xx.xx which are told by ifconfig (listed next to "inet addr", "Mask", and "Bcast" right?).

    How do I check what my network and gateaway IP's are please?

    I can see inet6 addr and HWaddr but they don't look like IP's. They have :: rather than .


    Thanks very much.

  2. #2
    Join Date
    Oct 2009
    Location
    Bandung , Indonesia
    Beans
    4
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How do I check what my network and gateaway IP's are please?

    you can type

    $ ifconfig

    and if u still confused , just add --help in that command



  3. #3
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: How do I check what my network and gateaway IP's are please?

    Your Gateway Ip, is also the address you use to log into your router, generally 192.168.X.X (192.168.1.1 for linksys,d-link and many others) As r4lly said "ifconfig -a" will show it all to you.
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

  4. #4
    Join Date
    Sep 2005
    Location
    Puebla, México
    Beans
    18
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How do I check what my network and gateaway IP's are please?

    Quote Originally Posted by amylase View Post
    Hi

    How do I check what my network and gateaway IP's are please?
    Code:
    route -n
    Also, if you're running GNOME you can right-click on the nm-applet icon and select "Information" (I don't recall the exact name on english"). A window opens with all the info you need.

    Hope it helps.

    Regards

  5. #5
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How do I check what my network and gateaway IP's are please?

    Network and broadcast addresses may not actually be necessary. Typically, for a netmask of 255.255.255.0, the broadcast address is like the address, but ending in .255 (eg. 192.168.1.255). The network is the same number - ending in .0 (192.168.1.0), and the gateway ends in .1 (192.168.1.1 - as mentioned)... although I've seen other gateway's used - .254 in particular.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

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