the IP protocol and IP addresses

learn more… | top users | synonyms

0
votes
0answers
11 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
16 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
746 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 ...
52
votes
3answers
118k 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
26 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
votes
0answers
29 views

run commands via proxy in centos [closed]

i want run some commands in my centos but i need tunnel my commands to another ip. for example my server ip is: 111.111.111.111 and i have another server with this ip: 222.222.222.222 when i run ...
0
votes
1answer
1k 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 ...
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 ...
-4
votes
0answers
31 views

Script to get solaris or linux hosts within IP range [closed]

I would like to make a script in RHEL preferably shell script to get a list of Solaris or Linux hosts on a site with the following condition: Multiple list of IP range from server network to scan. ...
3
votes
2answers
51 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 ...
-1
votes
0answers
18 views

How can I make my CentOS Apache server be accesed from any network? [duplicate]

I am currently running an Apache server on a computer with CentOS 7 installed. I am able to access the server locally using the IP address 10.0.1.127. However, if I try to access it remotely from ...
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
15 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
22 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
83 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
123 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
30 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
22 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
11 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
53 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
13 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 ...
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 ...
1
vote
0answers
16 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
244 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
24 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: ...
0
votes
0answers
20 views

How to firewall qemu/kvm guest in host machine?

I have a qemu guest with following network topology: Internet <-> eth1.96[bridge]tap96 <-> eth0[guest] I need to allow access to guest machine only from one specific /24 network and I ...
0
votes
1answer
30 views

sendmsg: Network is unreachable

I set the IP address of my network card to a particular value to be able to talk to a piece of hardware. Then I try to ping it, which works for a few seconds, until I get the error ping: sendmsg: ...
0
votes
1answer
49 views

Setting static ip address for multiple ethernet controller

I have a simple question for which I couldn't find a answer for hours on the internet. I didn't think it's so much special what I want to do, but it seems to be. I have Debian virtual machine within ...
0
votes
1answer
27 views

linux + how to monitor dropping from ifconfig or ip

How to monitor RX dropped packets in Linux 7 with tcpdump ? Or maybe any other way? And what is RX dropped? ifconfig results on eth1: # ifconfig -a | grep RX | grep dropped RX errors 0 ...
0
votes
1answer
65 views

Access from unknown IP tracks to non-existent website

Just had a warning that my Gmail's been accessed from the following IP: 151.230.107.114 which routes to something called htc_frisbee.com , which doesn't appear to be a real website. Could this just be ...
0
votes
1answer
30 views

How can I grant permission to a user to change the IP address?

I need the user be able to change the IP address, without giving him full super user access. How can I do that? I tried the solution here http://serverfault.com/a/480823 That works fine, but only ...
0
votes
0answers
27 views

Unable to connect to wifi “IPv6: ADDRCONF(NETDEV_UP”

When I click on the wifi icon and the hotspot I want to connect to, nothing happens. Nothing at all. And here's my dmesg: [ 9647.582070] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ ...
3
votes
1answer
52 views

“legal” ARP poisoning by machine aggregating 2 NICs crashes us

I'm really not sure if that title makes any sense so apologies for that, but strange things are afoot, threats are being made and we need to sort this problem out; The situation: Our device (a ...
1
vote
2answers
77 views

How to set static IP with fallback to DHCP

On /etc/network/interfaces (Raspbian), is it possible to set a static IP with optional fallback to DHCP? That can be handy in case the configured static IP is already taken. Or it could be in a ...
0
votes
1answer
86 views

Routing Problem with IP Forwarding on Ubuntu 14.04 and VirtualBox

I'm not entirely sure how to best title this question as the set up is a little complicated... but basically I have a routing problem with IP forwarding on my ubuntu server. On my ubuntu server (an ...
4
votes
1answer
34 views

I am stuck connecting to the internet via a usb wifi stick

I am trying to set up a an internet connection through a usb wifi sticker in Linux. Here's the sequence I tried: iw dev This returns the name(?) of the Interface that I want to connect to: phy#0 ...
134
votes
21answers
124k 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
20 views

Execute command with specific routing (ip/iptables)?

I saw great solution for binding application based on some routing table alias... not sure now what it was, but for sure with ip, route or iptables tools... anybody knows the procedure? What was the ...
14
votes
3answers
24k views

How can I block a range of IP addresses with an Amazon EC2 instance?

I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
0
votes
1answer
46 views

Forward ALL incoming HTTP requests to one of two servers based on subdomain?

I have two Debian Jessie servers. One is my home server that I use for personal/hobby stuff, the other is my development server for work. For arguments sake lets say... Personal: 1.1.1.1 ...
1
vote
1answer
2k views

SUSE Linux 12 - configuring IP alias

I want to setup an IP address alias on a network card. I created a file /etc/sysconfig/network/ifcfg-ens160 and its contents are: BOOTPROTO='static' STARTMODE='onboot' IPADDR='192.168.0.113' ...
0
votes
2answers
188 views

Why cannot I ping 192.168.10.1, the default gateway, from an Ubuntu Linux 15.10 computer but I can do so from Windows 7?

I cannot ping 192.168.10.1, the default gateway, from the Ubuntu Linux 15.10 computer, 192.168.10.22. But I can ping 192.168.10.1, the default gateway, from the Windows 7 computer, 192.168.10.15. ...
0
votes
2answers
52 views

Is it possible to redirect a local port to a LAN port?

I'm using a Flask application with virtual environment. When I start the server, I can access it locally via the IP 127.0.0.1:5000, but I'd like to make it accessible on my WLAN (pointing at ...
1
vote
1answer
152 views

Docker container doesn't expose ports when --net=host is mentioned in the docker run command

I have a CentOS docker container on CentOS docker host. When I use this command to run the docker image docker run -d --net=host -p 8777:8777 ceilometer:1.x the docker container get host's IP but ...
8
votes
5answers
57k 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 ...
0
votes
0answers
61 views

How to set kali linux IP Address Networking issue

I need your help regarding one small confusion. I have installed kali linux directly on desktop hard disk. i have also installed VirtualBox running vulnerable vm's inside kali linux OS with a network ...
2
votes
1answer
1k views

Set a local static IP address on a network interface and have it permanent even after restart

I have openSUSE 13.2. My laptop connects to the internet through a WiFi network but I have an embedded device which I need to connect to it through the ethernet interface. It has an IP address of ...