Tag Info

Hot answers tagged


Everybody is over-complicating it with RFCs, IP classes, and such. Simply run a few tests to see how the ping command parses the IP input by the user (extraneous chaff removed): > ping 1 Pinging with 32 bytes of data: > ping 1.2 Pinging with 32 bytes of data: > ping 1.2.3 Pinging with 32 bytes of data: > ping ...


There are two reasons for this: First, a '0' prefix indicates an octal number. Since oct(072) = dec(58), 192.168.072 = 192.168.58. Second, the second-to-last 0 can be dropped from IP addresses as a shorthand. 127.0.1 is interpreted as, and in your case 192.168.58 is interpreted as


In addition to @neu242's important point about octal notation, and observation that IP addresses can be shortened, the other critical piece is knowing how shortened IP addresses are interpreted. One might naively guess that if some of the four numbers are missing, the parser would add zero-filled bytes onto the end (or the beginning) of the sequence of ...


There's specifically a blackhole prefix in IPV6, as described in RFC 6666, it's 100::/64. IP4 does not have an explicit black hole like that, but a non-existent host on one of the reserved blocks would have that effect. (e.g., is "reserved for future use" and will not be routed by anything.)


Type this into a .bat file. You can then create a shortcut to it and place it in the taskbar, start menu, or assign a hotkey. ipconfig | find "IPv4" | find /V "192.168." | CLIP What it does: First find returns all the lines that contain IPv4. If you have multiple network adapters, from example from VMWare, you may want to exclude them. That's where find ...


It's not MS it is the ISOC ;-) Have a look at reserved IP address RFC 5735 under special use IPv4: here - This is the "link local" block. As described in [RFC3927], it is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such as when a DHCP server cannot be ...


The use of 169.x.x.x addresses are defined within a standard colloquially known as APIPA - Automatic Private IP Addressing. In a nutshell, if a network device has not been assigned a fixed (static) address and cannot obtain one by asking (DHCP), the device says to itself, "Well, I'd better make up an address of my own so I can communicate on this network", ...


You are not pinging the same interface, without any physical interfaces you still have a "local host". Your localhost is used to refer to your computer from its "internal" IP, not from any "external" IPs of your computer. So, the ping packets don't pass through any physical network interface; only through a virtual loop back interface which directly sends ...


There is such a thing as network Black hole. If there are no devices in the network with IP address, then this IP address is kind of black hole and it will "discard" all the traffic to it, simply because it does not exist. Protocols which keep track of connection state (TCP) can detect a missing destination host. It will not happen with UDP ...


I'm a forensics major, and I'd say "no, not really". I'm assuming you're looking at the header and the information from there. Its painfully simple to run things through a proxy to hide your actual IP address. There's a few possible scenarios here - lets talk about the most obvious - he's using a proxy service, tunneling things through there and the ip ...


When using DHCP, the (Wi-Fi) router is the DHCP server, that is, the network host that assigns the IP addresses. The computers do not choose their address from the pool; the router chooses and tells the computer what its address will be. Therefore, you have two options if you want a computer to always have the same IP address: Option 1: IP address ...


You have to Google for "free http proxy", some of the lists you get as a result classify geographically the proxies, find one of those and then choose a US located proxy. Afterwards set your browser to use as HTTP proxy your selected proxy (what are the steps to do this depends on the browser you use). Some proxies work better than others and some just ...


You have to consider also that an ip can be represented by integers added together in significance to their position. is : 192 * 256^3 + 168 * 256^2 + 0 * 256^1 + 58 * 256^0 Here's the cool thing: 192.168.58 will be because 0 * 256^1 + 58 * 256^0 = 58 192.11010106 will also be because 168 * 256^2 ...


Create a shortcut to BGinfo (a program that shows system information on the Windows background). Double-click. : )


IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding would not be possible.


Yes: http://en.wikipedia.org/wiki/Loopback The most commonly used IP address on the loopback device is for IPv4, although any address in the range to is mapped to it. or from the RFC itself: RFC 3330 - Special-Use IPv4 Addresses - This block is assigned for use as the Internet host loopback ...


The loopback interface exists independently of your Ethernet interface(s). Even without the complication of IPv6 you'd have two distinct addresses. Loopback IPv4 address : Your Ethernet interface's IPv4 address : The loopback interface might well be in a different software layer, more remote from real hardware. I doubt it depends ...


The quickest way is to use Angry IP Scanner I use it for the same way you want to!


Nmap is available for Windows: # nmap -sP


The oldest and probably most reliable way to bind a dynamic (or any kind) of IP to a domain name is DynDNS. You have clients for almost any operating system, and once it's set up, it will run for years without you noticing anything.


I wonder what each interface is. lo0 = loopback gif0 = Software Network Interface stf0 = 6to4 tunnel interface en0 = Ethernet 0 fw0 = Firewire en1 = Ethernet 1 vmnet8 = Virtual Interface vmnet1 = Virtual Interface Something like that. Also, which of these is the IP interface ? There hasn't been "the" IP interface since many years ago. All of ...


In your PHP script, when you access it by IP address, you also need to send a Host: header in your request with the correct domain name. This question on Stack Overflow explains how to do it: http://stackoverflow.com/questions/356705/how-to-send-a-header-using-a-http-request-through-a-curl-call


Yes, you can (sometimes) resolve an IP Address back to a hostname. Within DNS, an IP Address can be stored against a PTR record. You can use nslookup to resolve both hostnames and IP addresses, though use of nslookup has been deprecated for quite some time. For best results, you should really get a hold of the dig tool. If you're a linux user, this is ...


DHCP static leases are much better. They're easily managed, many consumer grade and SOHO routers have the ability to do so, and it enables everything to be done under one single management tool.


try this: grep -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' /etc/hosts which matches all expressions from to 999.999.999.999 with grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' /etc/hosts you will get IP addresses only note: on solaris probably egrep will do the job.


All of these are private network IP adresses, the last one is typically used for home networks, but as it offers the smallest number of sub-adresses, the other ones might be preferred for larger networks like e.g. company intranet. IP address range number of addresses classful description – 16,777,216 ...


You need to ask your ISP for a static IP address. They are likely to charge extra for it. Alternatively, you could use a dynamic DNS provider, such as No-IP, which will give you a domain name that always resolves to your IP address.


nslookup <ipaddress> or nslookup <hostname>


MAC (Media Access Control) addresses uniquely identify Ethernet network cards (or PCs with built in Ethernet). Although it's true that every computer that uses Ethernet has a unique MAC address, not all Internet connections are made over Ethernet. Also, MAC addresses in a particular local network are not similar in any way, so one can't use them to decide ...


From MAC Address vs IP Address When the packet is being sent out to a statipn that is on the same network LAN segment, only the MAC address is needed. When the packet goes beyond, to different networks and travels through routers, the MAC address is still contained in the packet, but only the IP address is used by the routers. Also ...

Only top voted, non community-wiki answers of a minimum length are eligible