Local IP address?

Will H. Backman whb at ceimaine.org
Wed Feb 1 13:57:53 UTC 2006


> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-
> bounces at lists.ubuntu.com] On Behalf Of Dave M G
> Sent: Wednesday, February 01, 2006 8:47 AM
> To: Ubuntu Help and User Discussions
> Subject: Local IP address?
> 
> Ubuntu Users,
> 
> This seems to be one of those questions so simple that no one feels
the
> need to provide the information.
> 
> I want to know how to be able to find out what my *local* IP address
is.
> I have a router which automatically assigns an IP address to each
> computer hooked into it. I know my computer is in the range of
> 192.168.0.???. But the last number is something between 1 and 4, and
I'm
> not sure what.
> 
> I've looked around on the net and I can easily find out my address as
> seen from out on the internet, some completely random, dynamically
> number assigned at my Internet Provider. But that's not what I need to
> know.
> 
> I need to know exactly what my LAN IP address is so that I can assign
> port forwarding to my computer.
> 
> So, how do I do that?
> 
> Thank you for any instruction.
> 
> --
> Dave M G

The ifconfig command will tell you your network address.  You need to
use the command prompt (terminal).  The ifconfig command may not be in
your standard command path, so you may have to specify the full path to
the command.  I believe it is /sbin/ifconfig.  You will usually see more
than one network interface.  You should look for eth0.




More information about the ubuntu-users mailing list