how to view my own ip address

Joined
Apr 1, 2011
Messages
18
Reaction score
0
Points
1
Hi there, i am new to mac and there are two question would like to know, if anyone can help

1) can anyone pls tell me how to i check my IP address using mac.

eg. Windows:

normaly i will go to "RUN" and type "CMD" and put in "ipconfig" and i will see my ip address inside.

so what is the method i use in mac?

2) How do i check or know what is my router IP address using mac?

i normaly use that to change my router setting using Internet browser
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
1. System Preferences > Network > click network device on the left hand side.
2. By router IP, I assume you mean external. If so, your router should have a record of that somewhere. If not, you can visit this page to get it quickly.
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
Open Terminal, type "ifconfig" (Interface Configuration)

For my setup, my wireless ended up being device EN1.
 
OP
A
Joined
Apr 1, 2011
Messages
18
Reaction score
0
Points
1
there is another question here,

how do i know my computer name, those question i ask earlier is actually want to check out who is using my wireless network, i have a few ip address and trying to find out who is who. any help?
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
In Terminal, you can type "hostname"
Click on Finder and the machine name will be the top entry under Devices.
Use the System Profiler, click on "Software" on the left pane.
There are probably others as well.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Open up the Terminal and type 'hostname' and 'ifconfig' to get your name and IP address. Then visit your router with Safari/FF/Chrome and look at the IP address list to find yours and others..

Regards
 
OP
A
Joined
Apr 1, 2011
Messages
18
Reaction score
0
Points
1
In Terminal, you can type "hostname"
Click on Finder and the machine name will be the top entry under Devices.
Use the System Profiler, click on "Software" on the left pane.
There are probably others as well.

sorry, not even one i tried that can see my computer name or maybe i see the wrong thing,

1) when i type "hostname" in the terminal, this came out "Users-MacBook-Pro.local"

2) in the Finder there is only two device "Macintosh HD" an "Idisk" there is none of my computer name in the network

3) i can find the System Profiler

sorry i am too new to mac
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
Aw man, you have me going back through playing in the command line again like to good old days.
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
1. your Host name is "Users-MacBook-Pro.local" Take the ".local" off and you will have what you named it, or just left it named from install.
2. You may not have everything Visible, I do. You can enable that, however, in the Finder Preferences, Sidebar tab.
3. System Profiler is in the Utilities Folder in Applications.
 
OP
A
Joined
Apr 1, 2011
Messages
18
Reaction score
0
Points
1
thanks u so much for all the help.. and.............. i have a very stupid question here, haha u are good man...

ok ok.... how do i find out is there anyone link to my network that i dun know. a shorter way??
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
Only by looking at the dhcp client list on your router.

Haha, and thanks.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
You can use ANY browser to login to your router..There is no Internet Explorer for Mac..so use Safari or Firefox or Chrome..

Regards
 
OP
A
Joined
Apr 1, 2011
Messages
18
Reaction score
0
Points
1
You can use ANY browser to login to your router..There is no Internet Explorer for Mac..so use Safari or Firefox or Chrome..

Regards

yeah i did that, i was using firefox, and login to my router but never see my computer name there hahah and i was using internet, thats y i ask a stupid question..
 
Joined
Apr 6, 2011
Messages
1,291
Reaction score
43
Points
48
Location
Louisville, KY - USA
Your Mac's Specs
MBP 17" 2011, 2.3GHz Intel Quad-Core i7, 8GB RAM, MacMini 2011, 2.7GHz Intel Dual-Core i7, 8GB RAM
The router may not resolve your computer name, and only deal with MAC address. You have to dig through the router setting pages to find the information and it will depend on the router and firmware version.

If you have a wifi password set up, then no one will be on your network unless you have given them the password.
 

BrianLachoreVPI


Retired Staff
Joined
Feb 24, 2011
Messages
3,733
Reaction score
124
Points
63
Location
Maryland
Your Mac's Specs
March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
ipconfig getifaddr en1 (or en0 - if using wired Ethernet) So many ways to skin this cat
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
wait wait you're making your life harder. Just google my ip address..

The sites out there that tell you IP address tell you what your public IP address is, not your local IP address handed out by a router which the OP was interested in finding out..

Regards
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top