the IP protocol and IP addresses

learn more… | top users | synonyms

0
votes
1answer
333 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...
2
votes
0answers
20 views

DHCP to assign different addresses for multiple interfaces and subnets

First of all, I'd like to point out that I've read any related questions asked here. So, on my desktop computer (running Ubuntu) I have three NICs - eth0, eth2, eth3. I have links connecting these ...
1
vote
1answer
22 views

tcp tunnel inside local network with iptables and bridge involved

I want to configure outside and inside forwarding rules to behave the same way, and simplified problem that i have with 'inside part' is like this: if i have compA - eth0 192.168.0.1 compB - br0 ...
3
votes
2answers
45 views

Send my IP to remote server every time booting

I want to send my computer's IP automatically every time it boots. I edit /etc/rc.local sleep 10 ifconfig > /tmp/myip scp /tmp/myip <server> exit 0 I tried, and there is no inet addr, ...
-4
votes
0answers
34 views

Oracle VM only gives me a local IP address (127.0.0.1) [on hold]

I am seriously struggling with this. My Oracle VM does not allow me any other IP address except the local one, 127.0.0.1. How can I get a proper IP address as well?
1
vote
1answer
49 views

Openvpn exclude ip in pool

I have an OpenVPN server running on a Linux Ubuntu box. Multiple clients connect to this server (500+) and that is why I set the server-bridge option like this: server-bridge 10.0.100.1 255.255.0.0 ...
3
votes
1answer
461 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
0
votes
1answer
2k views

scp ssh: connect to host 10.0.0.109 port 22: No route to host lost connection

I use SCP command on Debian Linux to transfer a file to my colleague via LAN. But I encounter the problem: $ scp filename.file username@10.0.0.109:/tmp ssh: connect to host 10.0.0.109 port 22: No ...
0
votes
3answers
24 views

Can I skip some IPs returned by DNS round robin?

archive.ubuntu.com returns 4 IPs. 2 of them are much faster, the slowest one is an order of magnitude slower. Can I disallow some IPs selectively?
-1
votes
1answer
15 views

can a service like isup.me be duplicated on the system for self? [closed]

The Internet or Web as I understand it runs on variety of servers. The browser is the client which gives a URI or URL which tries to go through varied ways to connect to the web-page and render the ...
137
votes
21answers
129k views

How can I get my external IP address in bash?

I need to find my external IP address from a bash script. At the moment I use this function: myip () { lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' } But it depends on ...
2
votes
1answer
36 views

User mode linux eth0 connected to host tap ethernet device not coming up

I am trying to setup the network between UML instance running on ubuntu as host. UML--eth0-(192.168.0.254) ----------------tap0--(192.168.0.253)--VM But, I am not able to bring the eth0 device in ...
-2
votes
2answers
36 views

check if ip is available [duplicate]

Is it possible to check if ip is free with a script pseudo code would look something like this if [ip is available] echo "IP is available" else echo "IP is not available" fi Can ping be used ...
0
votes
0answers
106 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
1
vote
1answer
120 views

Need to grab IP of visitors from the Apache logs

I want to store the IP of the visitors to my website, and I want to use PHP. Should I use cron for it or how will be the visitors' IP will be automatically stored?
11
votes
6answers
33k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
1
vote
1answer
20 views

Multiple website on a single droplet with no Apache/Nginx

I have a single droplet at Digital Ocean and I host my website there. It's a standalone application with a built-in webserver. I want to host another website on that droplet as well. It'll also be ...
0
votes
1answer
53 views

SSH connection giving Connection refused error

I am using CentOs. I can SSH from local machine to server A. I can also SSH from local machine to server B. But I cannot SSH from server A to server B: $ ssh -p <portB> root@B root@B's ...
0
votes
1answer
22 views

Understanding Iptables rules to prevent DDoS

Following IPTables rules exist on my system as some preventive measures against DDoS attacks -A INPUT -s 255.0.0.0/8 -j LOG --log-prefix "Spoofed source IP" -A INPUT -s 255.0.0.0/8 -j DROP -A INPUT ...
1
vote
0answers
29 views

Static ip definition for wlan0 not working

I am setting up a web server on my raspberry pi. I want to connect it to my router via ethernet (static ip) but if the ethernet is disconnected I want it to automatically start using the wifi (static ...
1
vote
1answer
32 views

What ip address shall I use? public IP or private ip? [closed]

In AWS environment, we usually have two ip address, public one and private one. When we login on to the host, we use public ip, and we edit hosts file, we use private ip, is it right? What is the ...
3
votes
2answers
1k 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 its dynamic IP address. When this happens, if I check on the status of the dhcpcd service, it says ...
0
votes
0answers
21 views

Trace route taken through multiple simulated link clicks on the Linux command-line

I have a Twitter post which links to a website. The website has a counter on it that checks the number of people who have accessed the page. However, I noticed that when looking at the Twitter ...
5
votes
4answers
233 views

Is there a way to find self's dynamic public ip address using cli in Debian? [duplicate]

The easiest/simplest understanding of the web is a. When you connect to your ISP, the ISP gives a dyanmic address (like a temporary telephone number) only for the duration of that connection, the ...
3
votes
1answer
39 views

Unable to access internet after making ip static in beaglebone black

I am newbie in Beaglebone black. I am trying to make my IP static in my Beaglebone black. For this I follow this tutorial. After making changes according to tutorial, my /etc/network/interfaces file ...
6
votes
4answers
6k views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
2
votes
2answers
59 views

Static IP configuration on openSUSE

Long-time Windows user here -- this is a beginners question, network-configuration (especially on Linux distributions) is not my area. I believe I've done my research, however. Although I might've got ...
0
votes
1answer
35 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
1
vote
1answer
28 views

Raspberry Pi port fowarding redirecting to wrong local IP

I'm attempting to host a website from home using a Raspberry Pi with this tutorial. After following all of the instructions and finally testing the result by entering the NoIP address in my browser, I ...
4
votes
2answers
751 views

Policy routing with load balanced ppp connections

This my setup using Debian 6.0. 6. It's role is a proxy server and a load balancer using eight 3G modems. Whenever a ppp connection dials it takes over the default gateway which is ok but it also ...
54
votes
3answers
126k 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 ...
3
votes
1answer
5k views

multiple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 different nets, and I need to define 2 ...
1
vote
0answers
31 views

multiple ip in an android payload(Kali linux)?

I'm using Kali linux 2.0 and I'm trying to make an android msfvenom payload that uses multiple ip, What I mean is that when the msfvenom app is opened in my phone it stays trying to connect to the ...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
3
votes
2answers
76 views

How to track my public IP address in a log file?

I'd like to save my public IP address to a log file so I can use them to exclude my own visit to my websites in the stats collections. At the moment I can see my actual public IP ...
0
votes
0answers
30 views

how to mute an IP stack?

is there any way to mute a network connected device running Linux so that it receives every message targeted on its IP but not sends anything even Acks? or in my case is there anyway to assign same IP ...
0
votes
1answer
43 views

Connecting to server on localhost with same source and destination port

Here is simple server listening to port 80 of localhost: nc -4 --listen 127.0.0.1 80 Here is the client to connect to server on localhost using source port same as destination port of server: nc -4 ...
0
votes
1answer
30 views

Cannot access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost ...
0
votes
2answers
93 views

How to access server without IP-address

I have a centos server that was previously on my company's network using a static IP address, but it has since been blocked/firewalled on the network such that I'm not even able to ping it. I was told ...
6
votes
3answers
136 views

Is it possible to initiate an IP connection between two NICs in same PC externally?

If two NICs in a Linux machine are directly connected with each other using an external cable, then is it possible to initiate an IP connection between those two NICs over this cable? I configured my ...
0
votes
0answers
55 views

Setting multiple IP addresses on private network interface using Vagrant

I am trying to configure IPv4 and IPv6 address on Internal network Vagrant interface but I am unable to do so. Here is the configuration: config.vm.network "private_network", ip: ...
1
vote
0answers
29 views

Userspace Network Stack

I am writing a (very simple) userland IP network stack. For this purpose, I need to go "around" the OS network stack and obtain the raw Ethernet frames. The tap interface sounds like a way to go, but ...
0
votes
0answers
12 views

Could two servers connected by one cable use the link in the same time?

I'd like to know if two servers connected through a cable, can use the only connection to communicate in the same time. For example suppose both have are ssh servers, could I log in from A into B and ...
1
vote
1answer
67 views

Check IP is in Range of Whitelist Array

#!/bin/bash MAXCDN_ARRAY="108.161.176.0/20 94.46.144.0/20 146.88.128.0/20 198.232.124.0/22 23.111.8.0/22 217.22.28.0/22 64.125.76.64/27 64.125.76.96/27 64.125.78.96/27 64.125.78.192/27 ...
0
votes
1answer
18 views

When enter http://my_server_IP_address don't see Apache HTTP server default page

I just launch a VPS instance use CentOS 7 x64. I follow this tutorial for installing Apache HTTP Server sudo yum install httpd sudo systemctl start httpd.service but when I use my browser (at ...
1
vote
0answers
22 views

'ip netns exec' command execution using nsid obtained from 'ip netns list-id'

I have previously used ip netns exec command to modify netns interfaces. But if there is no name associated with a netns (eg: docker), how can I use nsid result of ip netns list-id command for ...
9
votes
1answer
3k views

Change remote host IP address without losing control (Linux)

How can I change a remote host primary IP address without getting disconnected at all (without being in a "no IP addr" state). The matter is poorly discussed on Internet (according to my research). ...
0
votes
1answer
268 views

noip2 can't update my IP address correctly after computer reboot

I want to set up a server with using no-ip DDNS service. I follow this guide, but it can't update my IP address after reboot the following message is command # noip2 -S 1 noip2 process active. ...
0
votes
0answers
30 views

ip link up with empty line

case: # eth0.cfg The primary network interface auto eth0 iface eth0 inet static address IP-1 netmask 255.255.255.255 broadcast IP-1 post-up ip addr add 192.168.100.254/24 dev ...
-2
votes
2answers
3k 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: ...