Is there any way I can find out the IP addresses on my network?  For example my home router is 192.168.5.1 and it is connected to an airos device the IP of which is 192.168.1.20, and the airos device is connected to a mikrotik device.  How can I know what the IP of the mikrotik device is, and the IP addresses of the devices that are above it.
120723
Is there a way to scan an entire network using ?   What I want to do is scan my network for all the devices that are currently connected to it.
54905
I have a security system and the network setting only allows a three-digit IP address. I can't set it to 192.168.2.100, instead I have to use 192.168.002.100.  Are these two IP addresses different? Do I need to set my router's LAN to be all 192.168.xxx.xxx in order for this to work correctly? I can't find any solid information about this.
37232
I need to know the ip address of another machine in a lan network.  What is the Windows command for getting ip address from machine name and vice versa?
119640
I know that 127.0.0.1 ~ 127.255.255.254 are the loopback IP addresses for most modern operating systems, and these IP addresses can be used to refer to our own computer.  But what's 0.0.0.0? It seems it also refers to the local computer, so what's the difference?  And, could you explain the following IP connections for me:
89885
Is there a clean, simple way to get an IP address for a network interface from /proc, similar to the way I can get the MAC address for a network interface? Ideally I would just type cat /proc/&lt;foo&gt;/{interface_name} and get the IPv4 address.  I'd rather not run anything other than cat.
87300
Why did the  (IETF) choose 192.168/16 to be a private IP address classand not something else?  Why specifically 192.168/16 and 10/8 and 172.16/12 and not 145.243/16 for example?  Is there a reason those IP addresses were chosen to be the standard for private IP addresses over all the other possibilities?
41480
Numerous services and  do GeoIP lookups.  They get the country correct, but often the city is wrong.  Are there places where I can go and correct this, letting people know the actual location of my IP address.  I have a static IP, so it's not going to go to another user in a different location.
26558
I just bought myself an Ethernet-over-power adapter, and plugged it in. It seems to be working great, but now I'm concerned that my neighbours may be able to access my network.  I live in a rowhome complex; is it possible they can access my network? If so, how can I secure it?
36432
is there a way I can find information about my wifi connections? Which networks I was connected to and when? I had tried to look for this information under proc/net but found nothing. (To be more specific I want to find this information on my android device.)
75164
Our company have a IDC (Internet Data Center), and in our IDC, there are many host machines, every host has 1-3 IPs.   There is a situation, such as one host machine has 3 IPs(eg. 102.23.33.1 -> 102.23.33.3). (means in the host machine, have configured the IPs to it)  If the host machine only use 102.23.33.1, and there free out the 102.23.33.2 and 102.23.33.3. We want to find out the free IPs.  How can I do that? I tried to use the forloop to ping the whole IPs, but this is not accurate, because some host machine are baned  for ping.    EDIT  I means the host machine if has 3 IPs, and all can ping them, but the host machine only use the first IP to connect with public network, how can I find the other 2 IPs host machine do not use (or do not often use)?    EDIT-2  I mean the IPs all configured on the OS but may not be actually using them.    EDIT - 3  So, all the before, there can be understood as bellow:  I have a Router, and under it, there are many host machines, and every host machine have some IPs, and how can I record the IPs that go through the Router everyday.  Is there a tool for record the IPs which get through the Router? Or how can I realize my requirement ?
75287
I have a pretty much out of the box setup of openwrt, though I followed the 'securing your router guide', so password set, ssh on different port (so security through obscurity). However, I see some odd IP address connected to the WAN interface:  root@OpenWrt:~# cat /proc/net/arp IP address       HW type     Flags       HW address            Mask     Device 192.168.1.67     0x1         0x0         00:00:00:00:00:00     *        eth0.2 192.168.1.115    0x1         0x0         00:00:00:00:00:00     *        eth0.2 192.168.1.4      0x1         0x0         00:00:00:00:00:00     *        eth0.2 192.168.1.1      0x1         0x2         00:1f:90:XX:XX:XX     *        eth0.2 ...   I know 192.168.1.1 is my ISPs router which I connect my OpenWRT router to, but I'm unsure what the others are. Also they have a weird MAC address. Does anyone know what that might be? My set top box has a 192.168.1 address but it is not one of these currently one of these. Could it be that it has been assigned different IP addresses at different times and ended up in my ARP table?  I'm using BARRIER BREAKER (14.07-rc3, r42056)
112801
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?
28553
I can find my IP address using ifconfig or hostname -i command.  But how do I find my Public IP?  (I have a static public IP but I want to find it out using unix command)
2727
I'm in the process of maintaining a Ruby on Rails app and am looking for an easy way to find the hostname or IP address of the box I'm on (since it's a VM and new instances may have different hostnames or IP addresses). Is there a quick and easy way to do this in Ruby on Rails?  Edit: The answer below is correct but the clarification Craig provided is useful (see also provided link in answer):     The [below] code does NOT make a   connection or send any packets (to   64.233.187.99 which is google). Since UDP is a stateless protocol connect()   merely makes a system call which   figures out how to route the packets   based on the address and what   interface (and therefore IP address)   it should bind to. addr() returns an   array containing the family (AF_INET),   local port, and local address (which   is what we want) of the socket.
16380
Is there some easy way to find out mac address of all machines on my network rather than doing an SSH into each and ifconfig | grep HWaddr if there are 300 machines on network I really need some easy solution.
104073
I have a Mikrotik RB2011 router, running RouterOS which connects to the internet via a static IP. In my lan I have two different servers, one that is on IP 192.168.89.11 and another on 192.168.89.12  My DNS (on cloudflare) resolves both myfirstserver.com and mysecondserver.com to my router's static IP.  Now, what I want to do is to somehow separate the traffic so all traffic for myfirstserver.com goes to 192.168.89.11 and traffic for mysecondserver.com goes to 192.168.89.12 (and both on port 80. I know I could just change ports but if these are servers publicly available, no user would set a different port than 80)  What I have tried so far, is to somehow mark the packets through mangle and then use that mark on NAT to do the proper dst-nat forward.  I try marking packets through either content or Layer 7 protocol regex (they work properly if the action is log. I can see them being logged correctly).  The thing is that after I mark them, it seems that NAT just ignores them and forwards the connection to the server that accepts the non-marked packets.  I think I have mixed up the order of filtering and the chains somehow.  Would someone be able to provide some pointers/assistance on how to accomplish this?  Thanks!  EDIT: My question is very specific, about marking packets in RouterOS on a Mikrotik router and checking the mark in NAT. it is not about whether i need a reverse proxy or whatever. Thanks  EDIT 2: @Cha0s asked my /ip firewall export so here it is:  /ip firewall layer7-protocol add name=haf1a regexp=haf1a  /ip firewall address-list add address=192.168.89.0/24 list=local add address=192.168.88.0/24 list=local add address=www.xxx.yyy.zzz list=local add address=192.168.87.0/24 list=local  /ip firewall filter add chain=input comment="default configuration" protocol=icmp add chain=input comment="default configuration" connection-state=established add chain=input comment="default configuration" connection-state=related add action=drop chain=virus comment="Drop 80 DoS attack" src-address-list=spammer add action=add-src-to-address-list address-list=spammer address-list-timeout=1d chain=input connection-limit=10,32 dst-address-list=!local dst-port=53 protocol=udp add action=drop chain=input dst-port=53 protocol=udp src-address-list=!local add action=add-src-to-address-list address-list=spammer address-list-timeout=1d chain=input connection-limit=30,32 protocol=tcp /ip firewall mangle add action=change-mss chain=forward new-mss=1422 out-interface=all-ppp protocol=tcp tcp-flags=syn tcp-mss=1423-65535  /ip firewall nat add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway add action=masquerade chain=srcnat out-interface=pppoe-out1 add action=dst-nat chain=dstnat comment="No HAF mark" dst-address=www.xxx.yyy.zzz dst-port=80 packet-mark=!haf1 port="" protocol=tcp src-port="" to-addresses=192.168.89.41 to-ports=80 add action=dst-nat chain=dstnat comment="HAF mark" dst-address=www.xxx.yyy.zzz dst-port=80 packet-mark=haf1 port="" protocol=tcp src-port="" to-addresses=192.168.89.31 to-ports=80   where www.xxx.yyy.zzz is my external ip (static) and 192.168.89.31 and 192.168.89.41 my two servers inside my local network  My goal is to redirect any connections with haf1a in them (eg haf1a.lala.com) to the relevant server (192.168.89.31)
64782
I need to test my application when there is a change in the IP address. What should I do to change my machines IP address?  Note: The IP address for my machine is obtained automatically. It's not a static IP.