IP stands for "Internet Protocol". It is one of the fundamental protocols that powers the internet. IP is how data is able to be routed to the correct destination - your computer is assigned an IP address, and when you need to get data back, that data gets sent to your IP address.

learn more… | top users | synonyms

1
vote
1answer
45 views

Reach service on VM with private address

I have this configuration: source: https://www.lucidchart.com/publicSegments/view/5256a1e5-afb0-4c7a-96fa-35750a00527d/image.png Basically, I have to reach a service which is running on the virtual ...
4
votes
3answers
1k views

Difference between 'ifconfig' and 'ip' commands

I read some articles/tutorials on 'ifconfig' command, most of them included a common statement - "ifconfig is deprecated by ip command" and suggested to learn ip command. But none of them ...
2
votes
2answers
393 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
16
votes
2answers
1k views

Is there an easy way to programmatically extract IP address?

Is there an easy way to programmatically extract IP address, without tedious parsing of ifconfig? I would not mind simple command output processing using sed to do it but not processing multiline ...
3
votes
2answers
794 views

Why does Linux require moving IP from eth interface to bridge interface

When a network interface (e.g., eth0) is added to a Linux bridge (e.g., br0), the IP address must be removed from eth0 and added to br0 for the networking to function properly. I recall reading in ...
1
vote
2answers
2k views

binding ip address to hostname

I just registered a domain name and paid for hosting with CentOS and I found that I had to do the binding myself following the lengthy steps http://www.linux-sxs.org/internet_serving/bind9.html I was ...
2
votes
1answer
654 views

Environment variable for ip address

I see somewhere people use: IF_ADDRESS="$(echo "$IP4_ADDRESS_0" | cut -d'/' -f1)" to get the IP address in a network configuration script. In my system, I create a script under the directory ...
4
votes
1answer
954 views

Can't ssh to beaglebone?

After I did: route add default gw 192.168.7.1 I also changed /etc/resolv.conf: nameserver 192.168.7.1 in order to share internet between Ubuntu in VMware. I've got internet working but after a ...
2
votes
1answer
408 views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
1
vote
2answers
1k views

Get my country by IP in bash

I want to use the name of the country where I am now in a bash script. I can get the external IP using next command: curl ifconfig.me But how can I get my country name?
1
vote
1answer
278 views

What does the route Dest: 123.123.123.123, GW: 0.0.0.0 mean?

I have a route table: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 123.123.123.123 0.0.0.0 255.255.255.255 UH 0 0 0 ...
4
votes
2answers
571 views

What is the difference between `/sbin/ip route` and `/sbin/route`?

Linux comes with two utilities /sbin/route /sbin/ip route What is the difference between the two and what is the rule of thumb to use when you decide which one of the two you should use? I know ...
0
votes
1answer
124 views

how to list all the internet's IP ranges? [closed]

I was wondering if I list all the IP ranges directly available on the internet. perhaps also group them by country and ISP? I know that a lot of people do research nowadays on datamining and ...
0
votes
2answers
6k views

Delete Static Routes on Solaris 10

I have the following routes that I wish to delete: 10.250.0.0 10.250.0.37 UG 1 0 I have run the following to delete this with failure. bash-3.2# route delete ...
1
vote
3answers
482 views

What are the interface prefix meanings in ifconfig?

I'm not sure if these have a name, but on most computers I use the interface prefixes are usually: eth- : Ethernet/Wired wlan- : Wireless/WiFi However, on my ASUS RT-N56U, I have the following: ...
2
votes
2answers
117 views

quick filter of IP that's causing sendmail DOS under FreeBSD

I've got what appears to be a malicious/spam host that is overloading my Sendmail server causing it to refuse connections to other hosts. I'm overloaded by connections from one particular IP address. ...
-1
votes
2answers
689 views

How to know ip camera address

I have ip camera with static ip address preset. How can I know it ip using linux? I connect camera direct to my notebook. My system is Linux machine 3.5.7-gentoo #2 SMP ifconfig eth0 eth0: ...
2
votes
1answer
55 views

RapidIO packet filtering in Linux

I was wondering if there is support in Linux Kernel for RapidIO packets filtering, something similar to iptables, but based on RapidIO header?
2
votes
1answer
93 views

How can I be sure that access to my home server from my home network is not done via Internet?

As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server. However, my needs have changed a bit. I want to be ...
1
vote
0answers
85 views

coLinux strange networking trouble

Installed coLinux, Debian, sshd inside, pcap-bridged networking, and I can connect to ssh service from coLinux console and from LAN. Now, the strange part: I cannot connect to Linux guest ssh service ...
1
vote
1answer
72 views

privoxy show client ip when sending mail

Is it possible for privoxy to show original client ip when sending mail ( example: this mail header should show the client's ip not the proxy ip: Received: from [xx.xx.xx.xx] by ...
1
vote
2answers
2k views

Checking if I can reach some ports from my computer

Is there a terminal command or something on OSX that I can use to test if I can reach some ports on a remote server? I know these ports are reachable on that server, because I can access them from ...
1
vote
3answers
2k views

how can I find out my server's subnet mask via SSH

Hi I use media tamples dv server... I connected it via SSH with putty.. I need my server's IP address and subnetmask. I know the IP address but I don't know the subnetmask. How can I find out my ...
0
votes
1answer
257 views

centos httpd.conf set different ip for a directory

I have 3 IPs in my server, i want use them to increase twitter API limits. How to set a different ip for a directory in centos 6.1 httpd.conf (apache 2.3.1) I added these line in the bottom of ...
2
votes
1answer
2k views

Virtualbox NAT + Host-Only Adapter

My host is Ubuntu 12.04 and guest is a Debian squeeze (LAMP server). I want to allow the host to connect the guest. and allow the guest to connect the internet. The guest should not be enabled from ...
2
votes
4answers
6k views

SSH is suddenly not working anymore: “Write Failed:Broken Pipe”

I use a macbook pro at home and regularly ssh into the machines at my lab. For the past 3-4 days however, whenever I SSH into the machine in the lab, I get a Write Failed:Broken Pipe error, hardly ...
2
votes
3answers
168 views

Detect which interface traffic to an IP address goes through

I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
0
votes
3answers
470 views

Fedora 18 host cannot ping Windows XP guest

I have my laptop running Fedora 18. I want to run a Windows XP guest using VirtualBox 4.2.6. My configuration seems correct, here is my networking report. Fedora 18 host lo: ...
2
votes
1answer
55 views

switch network on and off of a virtual remote server

I need to perform a testing panel which disconnects a network cable and connect it again on a specific virtual server via a php web page. I found that ip & ifconfig can disconnect a network, but ...
2
votes
3answers
79 views

Can DNS identify hostnames dynamically if they're statically configured?

I've got a small environment of ~40 VMs with static IPs on 12 servers, it would be dandy if I could refer to each VM by name. We have a lot of VMs come and go, so maintaining one static list is a ...
0
votes
1answer
222 views

Restoring default ip rule

I accidentally issued ip rule flush, now the default ip rule are all gone, which is, 32766: from all lookup main 32767: from all lookup default Anyone know how to add them back?
5
votes
2answers
2k views

Routing for multiple uplinks/providers

I have a PC with two internet connections. The first one is an Ethernet interface to connect to my local network and access internet via my router. The second one use a GSM modem to connect with ppp. ...
2
votes
2answers
102 views

How do Apache2 VirtualHosts get resolved?

As I understand it, when you request a url from a website using your browser, it asks the DNS server that the OS is pointing at if it knows the ip address that relates to the dns-name of the server; ...
1
vote
1answer
781 views

explanation of the output's command “ifconfig ppp0”

I'm trying to understand the meaning the output of the command: ifconfig ppp0 Note that I'm using an internet-usb-board and so I'm sure that ppp0 interface is associated to it. In particular I have ...
2
votes
1answer
10k views

How to add Two Gateway on same machine

I have one test server that has Two Interfaces. To one interface i have assigned ip 172.16.122.1 and GW 172.16.xxx.xxx Now i connected cable to second interface and gave it ip 10.2.2.98. Now they ...
0
votes
4answers
112 views

how to know IPs available on a server?

I think there used to be a command to do that but I forget. Something like ipconfig in windows. My server has 10 available IPs and I want to know them all.
1
vote
1answer
474 views

No DNS on Debian wifi after unplugging the DNS cable

I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
1
vote
1answer
1k views

With two interfaces, how can I make one the default route and the other an alternate?

I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi) My idea is to route all traffic to eth0 ...
3
votes
1answer
592 views

Route SSH to host through interface

Is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected? Since my IP is dynamic, I would like to use a name ...
1
vote
2answers
181 views

Assigning IP to a bridged interfaces

Is there a way to assign an IP to bridged interfaces? For example, under normal circumstances: ifconfig eth0 0.0.0.0 ifconfig eth1 0.0.0.0 brctl addbr mybridge brctl addif mybridge eth0 brctl addif ...
1
vote
1answer
110 views

Help understanding interfaces in Backtrack

I am fairly new in UNIX and have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces. I am ...
3
votes
1answer
266 views

Alternative to mrouted for DVMRP on Debian Squeeze

I need to implement DVMRP protocol to route multicast over Openvpn (tun) connection for some old 3Com NBX phones. I use Debian squeeze so mrouted is not available (obsolete). What can I use ...
0
votes
2answers
774 views

Is /etc/resolv.conf needed when using a static IP address?

I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with iface eth0 inet static ...
0
votes
1answer
229 views

Unable to get embedded device to ping anything on the network

I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
0
votes
2answers
589 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
2
votes
2answers
986 views

Use a specific interface for a specific destination subnet (source IP setting)

I am looking for some sort of routing trickery to set a specific source IP: Local machine has two IPs; Eth1: 192.168.0.1 Eth1:2 192.168.0.2 Default gateway is 192.168.0.254 via Eth1 Remote subnet ...
3
votes
1answer
486 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
2
votes
1answer
1k views

What to use for firewall testing (port opened or not)

so... we know that we can test that if a port is open on the firewall with: telnet SERVERIP PORT ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
4
votes
4answers
11k views

How do I know what service is running on a particular port in linux?

I am trying to run weblogic server on my linux machine and I am getting the following error : ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to ...
2
votes
1answer
313 views

Running a local port scan and found open ports but, don't know what they're used for?

I wrote a very basic python script to port scan my system. I'm running linux-mint lisa: open_ports = [] for port in xrange(65536): conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...