Local IP address?

jim barnes j10152 at gmail.com
Wed Feb 1 14:01:33 UTC 2006


On Wednesday 01 February 2006 06:46 am, Dave M G wrote:
> 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?
>

From a terminal, sudo ifconfig. It will be listed as inet addr:

-- 
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you; 
if you don't bet, you can't win.            -Lazarus Long 
--
Linux 2.6.12-10-686




More information about the ubuntu-users mailing list