the IP protocol and IP addresses

learn more… | top users | synonyms

2
votes
0answers
28 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 ...
3
votes
2answers
46 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, ...
1
vote
1answer
29 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 ...
-4
votes
0answers
35 views

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

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?
0
votes
3answers
25 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 ...
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 ...
-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 ...
2
votes
1answer
40 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 ...
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
23 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
33 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 ...
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 ...
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 ...
5
votes
4answers
237 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 ...
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
37 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 ...
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 ...
3
votes
2answers
79 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
31 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 ...
0
votes
0answers
60 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
30 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 ...
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 ...
6
votes
3answers
137 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
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
68 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 ...
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 ...
0
votes
0answers
30 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

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
55 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
36 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
40 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
33 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 [ ...
1
vote
2answers
104 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
144 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
38 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 ...
-2
votes
1answer
23 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 ...
0
votes
1answer
69 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
253 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 ...
0
votes
2answers
61 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 ...
0
votes
2answers
251 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
0answers
69 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 ...
1
vote
0answers
34 views

Centos 6.x multi-homed routing question

I have a conundrum and would like to hear any pointers (been working on this for 2 days now, and need to get this server in to production). My "google-foo" has not been strong with this ...