Internet Protocol addressing, used to communicate between networked computers

learn more… | top users | synonyms

34
votes
6answers
102k views

How do I find my IP Address from the command line?

I know you can do ifconfig | grep inet, but that shows you several IPv4 addresses. How do I get the specific one for SSHing et al?
16
votes
5answers
45k views

How to find IP address of my other Mac?

I have two Macs on the same network, both plugged into my internet router. I have screen-sharing set up on one of them, so I can connect to it using command-K in the Finder with a vnc:// URL, and ...
15
votes
1answer
40k views

How do you get a printer's IP in lion?

How did you find out an existing printer's IP in lion? In Snow Leopard you can do it in this way: Open System Preferences Select the printer that you want to find the IP for Click 'Options & ...
11
votes
2answers
2k views

Is there a OS X equivalent for iproute2?

I am searching a command line tool collection like iproute2 on Linux. Network Utility is OK, but I would like it on the command line.
8
votes
1answer
481 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.
8
votes
1answer
2k views

How to configure a static IP for a specific access point on OS X?

I own a MacBook Pro and always used Ubuntu in the past. In Ubuntu, I was able to configure my IP, DNS, Gateway, for a specific access point. There was a list of all the access points, each one with ...
6
votes
4answers
381 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 ...
5
votes
2answers
5k views

Thunderbolt Displays' ethernet adapter breaks MacBook DHCP/MAC Address reservations

We have deployed Thunderbolt Displays in my organization, which is almost entirely Mac-based. As you may already know, Thunderbolt Displays have internal Ethernet adapters which is very convenient in ...
4
votes
3answers
24k views

Ping all IPs in LAN

How would I find out all the devices on my LAN by pinging them all in terminal? What would the code be?
4
votes
7answers
6k views

How can I find my IP address - not my company's router, but my local machines

I run rails servers at ports 3000 and 5000. What do I use (or how do I find) the IP address of my Mac? Not the one used for web browsing which is my companies host supplied IP but rather my local ...
4
votes
1answer
2k views

Given its IP, how can I find out the name of a Windows PC on my network?

I'd like to find out the computer name of a Windows PC (like the name shown in the 'Shares' section of the Finder, e.g. bill-pc) given only its IP address. nslookup doesn't do the trick. I'm also ...
4
votes
2answers
87k 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 ...
4
votes
1answer
2k views

Static IP for a adhoc wifi network

Do you know if it's possible to give a static IP when creating a ad-hoc network on OS X?
3
votes
1answer
1k 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 ...
3
votes
1answer
5k 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 ...
3
votes
2answers
5k views

Editing Hosts File to Redirect URL to different IP Address

When I edit my hosts file to redirect a URL to a specific IP address, nothing happens. My hosts file looks like this - 199.204.138.195 zionica.com this is in the directory /private/etc/hosts. I am ...
3
votes
2answers
8k views

How can I add standard users to the print managers group?

I'm sysadmin for a small company; my users are on 10.6.8 (iMacs) and do not have admin rights for various reasons. The only times this is annoying is when a print job jams or otherwise does not go ...
3
votes
1answer
522 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?
3
votes
1answer
2k views

How can I add static route?

How can I add a static route "forever", that means without retyping add route in Terminal each time I'm using VPN? I found this solution for 10.6, but what if there is a nicer one for 10.7?
3
votes
1answer
202 views

Multiple IP addresses in Safari

Is it possible to choose which IP address will be used to browse the web? I am connected to a VPN which created tun interface with different IP addres so now I have two of them. I would also like to ...
3
votes
1answer
103 views

Unable to Perform Name Resolution

My MacBook Pro, for some reason, detects the wireless connection, but I cannot go to a web page using Safari. I can open the iTunes Store, but cannot access my email. I ran the Network Assistant and ...
2
votes
1answer
4k views

AirPort Extreme: Keep IP address from changing

I've got an AirPort Extreme base station that I use for several computers and devices. I set it to configure IPv4 with DHCP, but there's a problem with that: The IP changes from time to time (as ...
2
votes
1answer
2k views

AirPort Extreme not accepting ISP cable modem DHCP

I've just recently changed the ISP and now have a cable modem, which only has one LAN port. Connecting here requires to use DHCP to get an IP address. Connecting my laptop works just fine and I get an ...
2
votes
1answer
41k views

How to configure Static IP on iPhone

I Want to use wifi on my iphone, Anybody can help me. I am already using my laptop on the same network through static IP. Please also tell me that Mac address will be used in this situation. The ...
2
votes
1answer
2k views

IP address changing too frequently

My Macbook pro is connected to my router over the AirPort. The IP address it gets changes every few hours. Is there a way on the mac to request the same address. I do not have access to the router to ...
2
votes
1answer
1k views

why does my iMac has two IP addresses registered?

I have been doing network ping discovery on a WiFi-LAN and one of my iMac has two IP addresses, and I cannot understand why would that be. the only connection to the LAN is via Wifi, there is no file ...
2
votes
1answer
18k views

How to Assign Static IP Address to iPad?

I have been having a problem with the wifi connection on my iPad. After much research online, I have narrowed it down to an ip address lease renewal bug. The iPad drops connection when the ip address ...
2
votes
3answers
992 views

How can I gain screen share/ssh access to a G5 connected by ethernet to a Mac Mini on my wireless Airport Extreme Network from my MacBook Pro?

Ok, so the scenario is this: I have a G5 Quad (running Leopard) with no wireless card. The G5 is connected by ethernet to a Mac-Mini (running Lion), which is picking up my AirPort Extreme network ...
2
votes
1answer
1k views

Set IP adress for the wifi hotspot on OSX

If I share my ethernet over WiFi I would like to specify the IP address of the hotspot (for now it defaults to 10.0.2.1). Can this be set somewhere in system settings? Note: the ethernet is not ...
2
votes
0answers
56 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 ...
2
votes
0answers
239 views

kernel.log contains thousands of messages about ip_len checksum. What gives?

My Mac Pro Cyrus (running 10.6.8 in 64 bit mode) keeps writing the same message (for different lengths) to the kernel.log file every second: cyrus kernel[0]: in_delayed_cksum_offset: ip_len 36608 (...
1
vote
3answers
146 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 ...
1
vote
2answers
111 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
vote
2answers
2k views

Find information about host IP address?

Is there anyway to ping a computer's IP and find out some basic information about it? Platform, OS, etc... If so, how would that be done?
1
vote
3answers
3k 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'...
1
vote
1answer
87 views

Logs and eMail headers from THE Future"?

iPad Console Logs & eMail headers from the Future What does the "-700" mean in an eMail header when next to Date/Time Stampt? I've noticed some of my iPad Console Logs display as +7hours ...
1
vote
3answers
15k views

How can I find the IP of my router?

We have Bell (Canada) as an ISP. Their service works fine, I can also easily see what devices are connected to the home network via their home network settings. Additionally, I have my own modem, a ...
1
vote
2answers
2k views

How can I add external Interface to my OS X with a valid IP?

I connect my Macbook pro to internet through Lan and if I type ifconfig in terminal my en0 interface get valid IP now I want add en1, en2 and en3 to my configuration and they all be able to get valid ...
1
vote
2answers
24 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
1answer
14k 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 ...
1
vote
2answers
7k views

Self-Assigned IP on Ethernet (en0)

Past few days my internet has been automatically getting a Self-Assigned IP on en0. I heard it does this when it can't retrieve a DHCP Server from the ISP. I've tried these solutions below. ...
1
vote
2answers
3k views

How do I set a static IP for my iPad?

I have an iPad v1 and need to plug in its IP to a program on my computer to test files. The problem is every time I connect, the IP is reset and I have to enter a new IP. Is there a way to have it ...
1
vote
2answers
25k views

Getting IP address of hotspot connection

I want to find out the IP address of my iPhone Hotspot connection. I can enable it, and connect to it with a laptop, etc - but I want the IP address so I can telnet to the iPhone (I've set up the ...
1
vote
0answers
9 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 ...
1
vote
0answers
1k 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.
1
vote
1answer
114 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 ...
1
vote
0answers
102 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. ...
1
vote
0answers
143 views

Applying Filtering on NAT'd Packets NetBSD (pf.conf)

Is there a way to filter packets after applying NAT? What I am trying to do: Apply NAT to packets going to some host, but block packets with a specific port. I have tried a few things but nothing is ...
1
vote
0answers
979 views

Time Capsule multiple IP addresses

I have two 2TB Time Capsules attached to a network through a Netgear router. Each Time Capsule is connected via Ethernet with the WiFi set to "off". Each Time Capsule is assigned a unique static IP ...
1
vote
2answers
65 views

working on a remote Mac

How can I log on remotely from my Macbook Pro to a friend's iMac so as to share her screen, and help her fix things when she has problems? My own knowledge is not very profound, so please bear that in ...