the IP protocol and IP addresses

learn more… | top users | synonyms

1
vote
0answers
20 views

apache sending mail with subject “x.x.x.x not in hosts list”

I recently changed my server's IP address. I made sure to update the VirtualHosts in the httpd config. After restarting services, apache started sending mail (from the apache@my.box account) with ...
1
vote
1answer
18 views

NIC cards in a LINUX server

I have below doubts, Can someone clarify, please? Four interfaces(say eth1, eth2,eth3,eth4) are configured with different subnet IP addresses in my LINUX server, so does that mean are there four ...
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 ...
1
vote
2answers
147 views

move IP address from one interface to another without interruption

When I need to move IP address from one interface to another, I have usually done simply for example ip addr flush dev eth0; ip addr add 10.10.10.181/26 dev eth0.35 over an SSH session. So far I have ...
6
votes
2answers
303 views

Looking for elegant iproute2 solution for host w/ 2 interfaces on 2 networks and 3 gateways

I've got a Linux webserver with 192.168.0.2/24 assigned to eth0 and 172.16.0.2/24 assigned to eth1. I must not change this. Here's the routing so far: 172.16.0.0/24 dev eth1 proto kernel scope link ...
143
votes
21answers
137k views

How can I get my external IP address in a shell script?

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

Use same IP for 2 Ethernet Adapters in different Physical networks

We have a Linux Panel with 2 Network Interfaces. On this Panel runs a software wich needs to comunicate to our devices in our network, and needs to be accessible from the customers network. One ...
2
votes
3answers
234 views

Append data of multiple files to new file separated by a line

I have more than a hundred firewall rules for many different customers in discrete files in a folder. Suppose the filenames are: 1.wawa.com_firewall_rule 2.newa.com_firewall_rule Each file ...
3
votes
1answer
34 views

Can I get just the list of network interfaces from ip?

I am looking to retrieve a list of network interfaces. Currently I am returning the results of ip addr and then doing some regex/string searching from output like this: 1: lo: <LOOPBACK,UP,...
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 ...
3
votes
0answers
14 views

What is the default behaviour of IPv4LL on Linuxsystems?

I'm looking for a good source and confirmation about Dynamic Configuration of IPv4 Link-Local Addresses. The rfc Dynamic Configuration of IPv4 Link-Local Addresses didn't really help answer my ...
1
vote
0answers
16 views

If it possible to permanently set a loose source routing option to all ip packages to a specific ip address?

First of all, the loose source routing is a kind of ip options which requires a selected hop to route this package. I wonder if it possible to set loose source routing option on specific ip packages(...
1
vote
0answers
20 views

Why I'm able to configure IP address on bridged interface?

Consider following bridge setup: brctl addbr mybridge brctl addif mybridge eth0 I see a lot of people failing their setup on configuring the IP on eth0 rather than the mybridge interface, so I was ...
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
9 views

Report Multiple IPs to tracker rtorrent

There is an option in rtorrent to report an IP to the tracker. I have a seeding rtorrent box connected to 4 WAN connections. I have configured port forwarding on all 4 wan connections and also made ...
1
vote
0answers
20 views

Does anyone use Netem anymore? Alternatives?

When simulating an IP network you can use Linux built-in network emulator Netem. Together with bridge-utils of course. Simulating packet drop, duplicate packets, jitter et cetera. Is anyone using ...
4
votes
2answers
66 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, ...
2
votes
1answer
47 views

Unprivileged ping6 not working

I am trying to get my CentOS v7 server to run IPv6. Root works, it can ping using "ping6 ipv6.google.com", and ifconfig looks great; I see the lines: eth0: flags=4163<UP,BROADCAST,RUNNING,...
3
votes
1answer
369 views

vsftpd conditional pasv_address (internal ip vs. external ip)

I have a vsftpd server setup that i'd like to be able to access with passive transfer from an external ip (use of my domain name) and also from my local network (192.168.1.x). Currently I have /etc/...
1
vote
1answer
35 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 ...
0
votes
1answer
338 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
42 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
76 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
464 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
3answers
26 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
21 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 ...
2
votes
1answer
51 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
50 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
112 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
165 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
34k 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
21 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
71 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
29 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
38 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
37 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
24 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
252 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
44 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
65 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
57 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
764 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 ...
60
votes
2answers
137k 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
39 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 ...
3
votes
2answers
82 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 address--whatsmyip....
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
56 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 ...