Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ip]

Internet Protocol addressing, used to communicate between networked computers

0
votes
1answer
10 views

Network prefix length

My router IP is 10.0.4.1 Sub 255.255.255.0 so from what I understand my Network prefix length should be 24 I'm I right? However I keep having issue when I enter this value This might be an Apple ...
0
votes
1answer
36 views

Changing local IP address with networksetup command on OSX?

My computer routinely receives connection from another host in the local network. However, the router changes its ip address quite frequently, and maybe netsh's equivalent, networksetup, can help?
2
votes
2answers
34 views

how to add ip routes with host name instead of ip address?

I want to add IP routes for host that I do not have the IP address for. I basically want tell macOS to search for a host in a specific interface: sudo route add -host <myHostname> -iface en7 ...
0
votes
1answer
22 views

`route get` for ipv6

How do I find the route for a specific IPv6 address? For IPv4 I can do: $ route -n get 1.1.1.1 route to: 1.1.1.1 destination: 1.1.1.1 interface: utun1 flags: <UP,HOST,DONE,WASCLONED,...
1
vote
1answer
725 views

Finding and disabling unnecessary open ports on High Sierra

I know open ports let applications communicate with devices or applications on network or internetwork, however I have been using my MacBook for 5 years and I have installed and removed lot of things ...
2
votes
1answer
3k views

iPhone connects to WiFi but drops Internet connection

I am able to connect to WiFi alright, but the Internet connection drops off after about 60 seconds. In the routers console, the assigned IP address is shown which matches with one on the device. In ...
1
vote
3answers
517 views

What is my MacBook's public IP address?

I am trying to find out my public IP address for my MacBook Air It is on Comcast/Xfinity Wifi (my parents had some tech dudes set it up). When I check http://ipecho.net or any other I get 73.170.168....
7
votes
1answer
2k views

How to find all devices (IP Address, Hostname, MAC Address) on local network?

I've read almost every thread related to this, yet no one has quite made it easy to access a table like the following. IP Address Hostname MAC Address 192.168.1.10 | myAppleTV | 02:...
4
votes
3answers
249 views

Why do I get different results for my IP when I type google “What is my IP” and when I type in macOS' terminal “ifconfig |grep inet”?

I get different results for my IP when I type google "What is my IP" and when I type in macOS' terminal ifconfig |grep inet Why are these results different on macOS version 10.13.2 High Sierra?
1
vote
1answer
2k views

Setting static IP address

How do I set a static IP address on a iPhone 5s running iOS 11.0.3? Have looked in Wi-Fi but could see nothing about setting static IP address. Thanks Elaine
1
vote
1answer
753 views

Plugging iPhone gives IP address on a new network interface

Plugging my iPhone on my MacBook Pro shows me a new network interface en7 and allocates an IP address. $ifconfig en7: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet ...
0
votes
0answers
44 views

Can connect from local to remote but not the other way round?

I can connect to a remote server through ssh from my mac laptop, i.e. From local : ssh <user>@<remote IP> is successful. Now after logging into the remote server, I can't ssh back to ...
8
votes
1answer
771 views

Where to find VNC access logs with IP addresses on Sierra?

I'm looking for logs on attempts by someone to access one of my Macs on a previous day. I have remote management running and I allow VNC access. In the logs I have found, I see the attempts they made, ...
0
votes
0answers
247 views

iPhone Internet connection problem analysis on phone network

I have a similar "Internet unreachable" problem with 3 different versions of iOS: 8, 9 & 10. Unfortunately I can't reproduce it. The same problem occurs with 2 different mobile phone operators. ...
1
vote
0answers
2k views

How to fix Wifi “No IP address”?

So earlier today, I restarted my MacBook Pro running OSX 10.11.5, and when it booted back up, I couldn't get on the Internet. I check my Wifi settings and found that the reason I couldn't connect was "...
1
vote
3answers
183 views

How to see public IP address of outgoing internet traffic when connected via router?

There is this nettop tool which shows the IP address but it doesn't show the public IP address when the Mac is connected via router - it shows the same address as we can see using System Preferences' ...
0
votes
1answer
302 views

Ports closed on macOS Sierra Can't Use Apple Services — Terminal Help?

OS: Sierra 10.12.2 System: Macbook11,3 MacBook Pro (Retina, 15-inch, Late 2013) with a 2.3 GHz Intel Core i7 and 16 GB TAM. I cannot use Messages to sign into my iMessage account. I get: An error ...
5
votes
1answer
1k views

Another device is using your IP address

My MacBook Air (11 inch, early 2015) cannot connect to a wi-fi network. When I first tried, it said that it could not connect to the network since another device with the same ip address was present ...
0
votes
1answer
223 views

Mac Terminal NetStat

How can I use NetStat on my mac to view all connected IPs of a gaming server? I wonder if theres a way to see how many ms they have.
0
votes
1answer
62 views

SSH address from terminal

I live on campus and use a university secured 802.1x wifi network. The first question I have is, what's the difference between the IP address I can see from ifconfig and the address that is show as ...
1
vote
1answer
124 views

Connected phone to mac using usb0, but IP address attached to the device is linked to my mac

I have a Nokia N900 that's running Maemo (based on Debian Lenny). I am connecting it to my Mac using USB. On the Nokia I run ifup usb0. In /etc/network/interfaces I have: iface usb0 inet static ...
17
votes
1answer
8k views

How to get the geolocation of an IP address in Terminal?

Is it possible to get the geolocation of an IP address in Terminal? Not sure what the numbers in an IP address mean, but there must be some logic behind it, so lookup can't be that hard.
1
vote
2answers
2k views

OS X Server DNS, on local network redirect external IP to internal IP

I want it to be so that, when I attempt to visit my server at 94.xx.xx.xx, it will automatically redirect me to the internal address 192.xx.xx.xx, when doing so from the local network. Can this be ...
-1
votes
1answer
2k views

Which short command to only output the IPv4 routing table?

$ netstat -nr is great for outputting the Mac OS X IP routing tables. However its output is long as it contains both IPv4 and IP6 routing tables. Sometimes I wish to output only the IPv4 routing ...
4
votes
2answers
4k views

Which command to only output the IPv6 routing table?

$ netstat -nr is great for outputting the Mac OS X IP routing tables. However its output is long as it contains both IPv4 and IP6 routing tables. Sometimes I wish to output only the IPv6 routing ...
1
vote
0answers
18 views

How to find the IP of a device connected through Ethernet Sharing [duplicate]

I often share my MacBook Pro's Ethernet connection with devices like a Raspberry Pi to log in via SSH and configure files without using a screen, keyboard, etc. My current method to find the IP is ...
43
votes
3answers
50k views

What is the modern way to do port-forwarding on El Capitan? (forward port 80 to 8080)

The old utility ipfw was discouraged in recent versions of Mac OS X and is now gone from El Capitan. What is the modern way to do port forwarding in El Capitan? I simply want port 80 to forward to ...
2
votes
2answers
17k views

Can I turn off IPv6 and just use IPv4 on my iOS device?

I'm trying to use TeamViewer but have a problem when trying to access the network with IPv6 via GSM. Can I somehow turn off IPv6 and use only IPv4? I am using an iPhone 6 Plus with iOS 8.3.
0
votes
3answers
4k views

Self assigned IP address

I've done a clean install of OS X El Capitan recently, and everything worked fine. But as I came home, I couldn't connect to Wi-Fi. It states that it has a self-assigned IP address and will not ...
1
vote
3answers
197 views

Terminal command to return network class

I'm trying to construct myself a primitive network scanner, and I understand that there are multiple network classes and it has become necessary for my program to determine exactly what class of ...
0
votes
1answer
54 views

How to propagate Wi-Fi packets to other interfaces on a router

I have two computers connected to an ethernet/wifi dlink router: Laptop: Connected via Wi-Fi Desktop: Connected via ethernet My understanding is that the desktop computer will never see any packets ...
1
vote
1answer
356 views

How to configure a MacBook so that it keeps a static IP-address when disconnected?

I have a client/server software that uses IP to communicate. It happens that both client and server is located at the same MacBook, and when I travel I disconnect it from the IP network, making it ...
2
votes
2answers
6k views

App to display IP address in menu bar?

I deal with a lot of external servers where the firewall must be configured to allow SSH access. I frequently need to know my external IP address, and it changes often. Does anyone know of an ...
0
votes
2answers
2k views

OS X - List all active sockets

I'm looking for a simple command that will list ALL currently active and/or otherwise bound TCP & UDP sockets, corresponding port numbers and their respective states (i.e. ESTABLISHED, LISTEN, ...
10
votes
1answer
22k views

MacOS X - iptables?

Where is iptables in MacOS X? I'm running Yosemite 10.10.5 (14F27) and it seems to be missing. If it's not actually native to OS X, what's the best way to install it for this operating system? If for ...
0
votes
1answer
733 views

Is there a way to ask the Airport Extreme what it's external IP is via terminal?

Finally realized that my ISP was carriage natting me, and my router's ip is really on the ISPs network and not externally facing. =( My ISP Is doing something that is thwarting my ability to get my ...
3
votes
1answer
4k views

Does using an app send my IP address and device identification info to the app maker?

if I use an app, would I be giving info like my IP address and device identification like the MAC address to the app developer/owner?
1
vote
0answers
147 views

How to make shared printing works on Yosemite within an IPv4 only network?

Network landscape My network is made through Internet Sharing from a Mac: Bob hosting an USB printer: Clara. On this home network is a Mac: Alice which is usually printing on Clara through Bob. ...
2
votes
0answers
76 views

Limiting TCP connections

How can I limit TCP connections on Mac using Terminal? I used iptables on Linux (eOS) to limit the connections of an application (Ace Stream Player) as follows: $iptables -A OUTPUT -m limit --limit ...
0
votes
0answers
25 views

IP address assignment issue [duplicate]

The problem is that I have a Macbook that keeps telling me another computer is using it's IP address. I normally don't have a problem with this as I'd either restart the computer, or router and it ...
1
vote
2answers
7k views

What is the IP address of my iphone when my computer is connected to the internet using that iphone's personal hotspot?

I have this program on my mac that streams my gps location over the private network. When on the road, my program needs an internet connection as well as the gps data, so I need to pair to my iphone ...
6
votes
4answers
2k views

Figuring out what IP's and Ports a program is accessing

I play poker semi-professionally online and live. When I play online I have a hard time limiting the amount of time I play. There is a free application I found called self-control. It allows you to ...
0
votes
2answers
1k views

Route command to use wildcard

I have a bunch of routes to my LAN line that won't resolve through my WiFi (which is set as 1st order). sudo route add 10.999.999.999 10.888.888.888 I have a lot more but that's just a sample. This ...
0
votes
3answers
3k views

Time Capsule (3rd Gen) seems to deny internet access to clients with a static IP address

A bit of background on our: we have an Apple Time Capsule, 3rd generation, connecting to the internet through a cable modem (WAN IP is configured via DHCP). As we can't get a signal across the house, ...
0
votes
1answer
2k views

Time Capsule Generating it's own IP Address?

Installed a new cable modem. Connected my iMac directly to the new modem and, as expected, got a new IP address. However, after I connected my Time Capsule to the modem so I could do everything ...
1
vote
1answer
20k views

How do I set up IPv6 on my Airport Extreme?

I am trying to set up IPv6 on my Airport Extreme. According to AT&T / BellSouth, my network is IPv6 ready. Network Setup I currently have two parts to my network setup. Westell Model 6200 modem ...
0
votes
1answer
820 views

Ping all the ip range of a local network

It is possible to reproduce the task via terminal as Angry IP Scanner does, i.e. scan all the subnet?
1
vote
3answers
4k views

Can't access certain websites

I'm trying to access the site http://www.svenskadomaner.se but it's unreachable from my MacBook Pro (OSX 10.8.5). The domain belongs to a web hosting company and it's not only this specific site I can'...
4
votes
2answers
102k views

Another device is using your IP address mac, what do I change my IP address too?

Our internet router often stops working at home, but for the the second time only I have got a pop-up error saying: "another device is using your ip address". We have an iPhone and a Macbook but ...
0
votes
1answer
72 views

I want to know IP address [closed]

I want to know IP address of my friend .It's possible without software? Could you tell me what I do and how to do