the IP protocol and IP addresses

learn more… | top users | synonyms

2
votes
3answers
4k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ...
1
vote
1answer
50 views

Debian server doesn't show in DHCP list on router

I have a Raspberry Pi running Raspbian which is connected over ethernet to my router. The router has been running both with DCHP and Static IP addresses and over the local LAN I can connect fine over ...
5
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
1answer
178 views

is it possible for DHCP to assign different IP addresses to the same machine?

I have install and configure a DHCP server on my centos6.5, it works properly and assign IPs to the clients Machines in my Network, and As I noticed when a client reconnect the dhcp reassign the IP ...
6
votes
1answer
115 views

bash_completion rule for resolving ip into hostnames

I am trying to create a bash_completion rule for my script rmpxe. This script takes <hostname> as its only argument. It then resolves this hostname into <ip_address> and removes the ...
0
votes
1answer
25 views

i2b2 VM: Copy VM won't give me a valid IP address (CentOS 6.5 running with VMWare Player in Windows)

Posting on here as well in case this was the incorrect site to post the question. http://serverfault.com/questions/595337/i2b2-vm-copy-vm-wont-give-me-a-valid-ip-address
-4
votes
1answer
125 views

How do I know all IP related to the wireless LAN in ubuntu 14.04? [duplicate]

How I know all IP on my LAN Wireless using ubuntu 14.04
1
vote
2answers
120 views

Does dropbear take care of hosts.allow and hosts.deny?

I'm running dropbear as SSH daemon on Debian (actually Raspbian). I tried setting # /etc/hosts.allow dropbear:192.168.1.1 # my static ip from which I SSH connect to the device and # ...
1
vote
0answers
34 views

How to run a specific TCP client with a different IP?

My server has 3 ips. I use cronjob doing some api job. But this api has some limit: 100 calls/day. So how can i set a special ip for running some special script via cronjob? Thanks. 0,20,40 * * * * ...
0
votes
1answer
141 views

Ping to my own public IP results in host unreachable

First of all, I'm running a Manjaro 3.10 (Archlinux x64) install. I'm trying to make my No-IP configuration work. I have tried to ping my no-ip host and I recieve host unreachable ICMPs only. I was ...
0
votes
1answer
165 views

Ho to bridge wlan0 in AP mode and eth0 so that eth0 is static and wlan0 uses DHCP?

I have a router that provides internet access. Connected to this router is a desktop PC that has working eth0 (static IP address) and wlan0. Also connected to the router is a laptop which I use to ...
6
votes
3answers
510 views

What are the benefits of using several IP addresses on a server?

With ifconfig, I am able to configure multiple IP addresses on a single network interface card. Why would I want to do that and how would I later utilize several addresses, e.g. how does software know ...
0
votes
1answer
75 views

ICMP gives host an impossible redirect

I am having trouble with forwarding on a system which hosts a few headless VirtualBox VMs. I have not changed anything but the configuration has stopped working. The VMs have IP addresses on their own ...
5
votes
4answers
17k views

How to remove all default gateways

I'm running a custom built linux machine, so not all linux commands are available. I execute network related commands, so I need to set a default gateway right before I run my command, then remove ...
2
votes
0answers
24 views

Manually adding static ip not resolved after a while

Hi Unix/Linux community, I have a small problem with a device I am connecting to my laptop, running Debian Linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am ...
3
votes
1answer
92 views

tcpdump command works only on local ip

I am trying to capture some IP packets in my personal LAN with tcpdump, through the command tcpdump -A -i eth0 'tcp and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0) ...
0
votes
0answers
220 views

How to setup a HTTPS Private Proxy Server on Debian 6 vps?

I have no a Debian 6.0 64 bits vps with 29 IP's, this is my first time using this system and I need a little help. First of all, what software do I need, and how can I setup a private proxy server on ...
1
vote
1answer
110 views

Masquerade not working sometimes

I have an issue with private network traffic not being masqueraded in very specific circumstances. The network is a group of VMware guests using the 10.1.0.0/18 network. The problematic host is ...
7
votes
2answers
224 views

SSH session through OpenVPN cuts off / locks up after a few lines

I have a large number of identical fanless PCs running debian 6 (ARM). Most of these are connected via comcast and work ok. There are some that are connected to 'WiMax' modems and are having ...
5
votes
1answer
9k views

Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on Debian

I have a Debian system working as a wireless router with eth0 and wlan0. Now I added an additional network manually on eth1 with ifconfig: alix:~# ifconfig eth1 192.168.0.2 netmask 255.255.255.0 ...
0
votes
2answers
139 views

How to determine eth0 gateway address when it is not the default gateway?

In my system I have eth0 (which may or may not be connected) and a modem on ppp0 (which always may be up or down). The the case where both interfaces are up and ppp0 is the default route, I'd like to ...
1
vote
3answers
105 views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version ...
0
votes
1answer
338 views

How to request a specific IP address from DHCP server?

I'm running Angstrom Linux on an embedded device (BeagleBoard-xM). I managed wireless connection via a Wi-Fi adapter. When I load its driver using modprobe, BB-xM requests an IP address from router ...
0
votes
4answers
75 views

Linux routing tables

I'm trying to learn Linux routing tables and ran into bit of snag. In the example below I'm not sure what is happening. My understanding is 0.0.0.0 means that for line 1 and 2 any packets outside of ...
2
votes
1answer
87 views

How do I create an IPv6 overlay network?

I would like to create host-only IPv6 networks on two hosts and then route between them. On each host, there will be a dummy interface, at ipv6_prefix::9. I would like to be able to ping that ...
4
votes
1answer
137 views

Why is this static route not taking effect?

Original Question I am running Ubuntu and network manager. I have two different interfaces, eth0 and eth1. Network manager has (as far as I can tell) correctly added this manual route: ~$ ip route ...
6
votes
3answers
257 views

How does one capture traffic on virtual interfaces?

I would like to capture traffic on Linux virtual interfaces, for debugging purposes. I have been experimenting with veth, tun and dummy interface types; on all three, I am having trouble getting ...
1
vote
1answer
79 views

tcp/ip - trigger action or event after period of no network activity on certain port(s)

Is it possible, perhaps using iptables or one of the wrappers/frontends to iptables, to trigger an action or run a script after a certain period of time has elapsed with no network activity on a ...
4
votes
1answer
94 views

Send traffic to self over physical network on Ubuntu

I have a dual port ethernet NIC and let's say I have connected both ports in a loop and assigned the following IPs to the 2 ethernet interfaces: eth2 -> 192.168.2.1 eth3 -> 192.168.3.1 I want to ...
1
vote
2answers
889 views

Can't access ssh in my VM Centos

My Cento's IP is diferent of the normal. And I cant access it in a ssh command And when I tried access using ssh noting I want to use ssh and samba client, but my IP is diferent. And I have ...
0
votes
0answers
28 views

Possibility to use app in LAN and via Internet

I use web based (https encapsulated) app in my home network and via Internet. The app has dedicated Linux desktop client (I use Mageia ver4 Linux for laptop). Of course server address I have connected ...
0
votes
1answer
67 views

installation causing error

I have downloaded g2ipmsg from http://www.ipmsg.org/archive/g2ipmsg-0.9.6.tar.gz while installation this package it causing some error checking for G2IPMSG... configure: error: Package ...
1
vote
2answers
71 views

What could cause a ping request to return inconsistently timed results

Here is a sample run: 64 bytes from 192.168.1.9: icmp_seq=27 ttl=64 time=8852.917 ms 64 bytes from 192.168.1.9: icmp_seq=28 ttl=64 time=7918.074 ms 64 bytes from 192.168.1.9: icmp_seq=29 ttl=64 ...
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
2answers
286 views

SSH access from inside and outside a LAN using the same terminal command

I have a Raspberry Pi (RPi) and I am making remote connections to it using ssh. I have managed to set up ssh correctly such that I can access the RPi both from a local area network and from the ...
3
votes
1answer
102 views

Using shell script to select static IPv4 configuration according to router address

I have Linux Mint 15, I live in a university where the hostel and lab have separate static IP settings. Is there a way to set up the connection mechanism so that my laptop will automatically select ...
3
votes
3answers
4k views

Make some virtual MAC address

I want to make some virtual MAC addresses for my network adapter or wireless adapter, so I can connect to network with more than one IP address from one computer or laptop. How can I do it? (I know ...
0
votes
0answers
135 views

On ssh connection the auth.log shows as source IP the external IP of the server instead of the IP of the client

I have a very odd situation with my ssh connection. Every time I connect to my server, whatever is my external ip, the connection have as source the server's external ip. Example Server S.O.: ...
2
votes
5answers
5k views

How to get netmask from bash?

I want to get my netmask on Linux. It is outputted with ifconfig but I want to extract the string.
3
votes
1answer
601 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 ...
0
votes
1answer
50 views

IP Prefix - how do I declare this?

Hi I have an IP Prefix issue I would like to declare the following IP's as "safe" using ip prefix "methodology" ("?") The IP's first three parts of the IP have been doctored to protect the innocent, ...
1
vote
0answers
68 views

Linux Source Routing with one gateway

I've a Linux box which have IP 10.1.1.100/24 on eth0 with gateway 10.1.1.1 and as well as 20.1.1.1 on eth0:1 and 20.1.1.2 on eth0:2 . Is there any way that I could communicate to a remote machine ...
11
votes
1answer
888 views

Is it better to set -j REJECT or -j DROP in iptables?

There's an example of iptables rules on archlinux wiki: # Generated by iptables-save v1.4.18 on Sun Mar 17 14:21:12 2013 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :TCP - ...
1
vote
2answers
3k views

Hostname and IP address mapping in /etc/hosts

In my linux machine, when I run hostname, it shows mongodb, but when I run host mongodb, it shows: mongodb@mongodb:/var/hadoop/hadoop-1.2.1/bin$ host mongodb Host mongodb not found: 2(SERVFAIL) My ...
1
vote
1answer
187 views

how to check if the kernel support for ip alias?

it surprisingly that I get no explicit results when I googled "kernel ip alias support", and I have looked up the linux network administrator, 3rd edition, it says: check that you have a ...
0
votes
1answer
60 views

host only ip address: can it be 10.*.*.*?

My router is set to have computers IP range from 10.1.1.1 to 10.1.1.60 I'm trying to run Linux in virtual box in a host computer with windows 7. The host computer has 10.1.1.5 currently, which is ...
0
votes
1answer
45 views

ssh login after changed IP

I have server running Ubuntu 12.04.2 LTS (GNU/Linux 2.6.32-042stab078.28 i686) Had no problem logging in to the server via ssh until my Internet Provider changed my IP. Now, the server keeps adding ...
1
vote
0answers
107 views

Debian access point is detected, but provides no Internet access

I am use Debian sid. I want to share my network (ppp0) via AP (Access Point) to my mobile device. This is my configuration. /etc/hostapd/hostapd.conf : # WiFi Hotspot interface=wlan0 driver=nl80211 ...
2
votes
2answers
2k views

Finding the PID of the process using a specific port?

I am installing hadoop on my Ubuntu system. When I start it, it reports that port 9000 is busy. I used netstat -nlp|grep 9000 to see if such a port exists and I got this: tcp 0 0 ...
0
votes
2answers
216 views

I want a static IP address for my (network? or computer?)

Me and two friends have been making a video game. We've thought about download hosting a bit, but found that Mediafire, Box, and those sorts of file-hosting sites' maximum free file-upload size is far ...