the IP protocol and IP addresses

learn more… | top users | synonyms

1
vote
1answer
226 views

How to resolve when the IP of a NFS server changes

I have a Windows NFS server and several CentOS linux servers which were mounting volumes from it. The Windows server moved to a new network and even though DNS works and the NFS mount was mounted by ...
1
vote
0answers
72 views

What should be the right dhcp configuration for generating a new network over eth0?

Even not under a real server like scenario, I'm testing with dhcpd for learning and practice purposes. I'm using Ubuntu 12.04 LTS. I want to offer a network by my eth0 interface. I receive ip and so ...
3
votes
2answers
8k views

Set Static IP in CentOS 6.4?

Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system.. [root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 [root@Azaz07]# ls ...
7
votes
1answer
13k 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
1answer
48 views

Ip connectivity with two interfcaes

I have two network interfaces in Linux machine , eth0 and eth1. IP is assigned to both interface from two different VLANs and default gateway to eth0. Now if interface eth0 is down I am unable to ...
0
votes
3answers
138 views

Why do two Ubuntu systems in the same network behave differently in DNS resolution?

I have two systems, both running Ubuntu 12.04, which are within the same network (connected by hubs without routing logic). Both systems are configured quite similar, but not identical. In particular, ...
1
vote
3answers
756 views

Programmatically extract private IP address(es)

I'm looking for an easy way to programmatically extract the private IPv4 address(es) of a computer. Something similar to this question, but restricted to private IPs. As an example, I can extract ...
0
votes
2answers
270 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 ...
3
votes
2answers
436 views

Converting Webserver Logged IP Addresses to DNS

I'm trying to use a bash script to process a webserver log file and replace any IP's it finds with their corresponding DNS hostnames. An example entry of a single line from the log file is: ...
1
vote
2answers
291 views

Resolving pseudo domain name to private IP

Assume I have a VM running on OSX with private IP 10.0.0.1 which can be accessed from the host machine. I was wondering how can I map a pseudo domain, *.app.dev, to the private IP on my host machine ...
1
vote
3answers
279 views

Is there any alternative to echo daemon to display ip?

Is there any alternative to echo daemon to display ip instead of given string? For ex: my ip = 80.1.2.3 server ip = 1.2.3.4 root@my-machine bash$ telnet 1.2.3.4 Trying 1.2.3.4... Connected to ...
3
votes
2answers
2k views

What does ifup do when “/etc/network/interfaces” has an invalid netmask address?

The interfaces file looks like below: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.130 netmask 250.255.255.0 gateway 192.168.0.254 As you can see ...
1
vote
0answers
224 views

Share (masquerade) Internet connection from Debian desktop to a bunch of computers

I need to share the Internet connection of my Debian desktop to some other devices (a Mac Laptop, and an Android tablet). The Debian desktop is connected to the local network via eth0, and the rest ...
2
votes
1answer
117 views

Share an external IP with several virtual hosts

For a centos server hosting a few LAMP virtual machines (using VirtualBox), I have a single external IP. I would like to be able to use this single host external IP to address the virtual machines. ...
1
vote
0answers
127 views

SSH to a machine that is getting it's network connection from an Android device(Google TV)

I have a Linux(Ubuntu) machine for my HTPC. It's running XBMC and I control it via my IR remote control. I don't have a (wired) keyboard to control it. It has Wifi adaptor but it's not installed. I ...
1
vote
1answer
46 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 ...
6
votes
3answers
2k 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
493 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
2k 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 ...
4
votes
2answers
1k 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
3k 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
910 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
1k 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 ...
3
votes
1answer
611 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
324 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
769 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
129 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
8k 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
648 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
135 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
888 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
61 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
104 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
89 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
83 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
3k 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
3k 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
304 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
3k 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
8k 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
195 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
509 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
57 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
80 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
311 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
110 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
926 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
13k 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 ...