the IP protocol and IP addresses

learn more… | top users | synonyms

0
votes
1answer
7 views

Nmap output 165 hosts up

So i tried arp -a on my macintosh terminal to find out who is using my network and the output gave me five IPs which seems legit in my home. When I tried this command in kali the output was 10 IPs ...
1
vote
0answers
61 views

VirtualBox network interface with custom CIDR and internet access

I have an OpenStack setup running on VirtualBox. The host OS is Ubuntu, and the guest OSes are all Ubuntu. I use 3 VirtualBox VMs to setup and install OpenStack. My OpenStack setup further spawns ...
1
vote
0answers
18 views

Can two USB RNDIS gadgets with the same IP connect to one computer's VNC servers?

I have two android gadgets set to USB tether mode, connecting to one computer. I'd like to have one gadget connect to VNC on port 5900 and the other on port 5902. When they're both connected, the ...
1
vote
2answers
475 views

set up centos7, configuration of ip

when I'm searching for ip setting of centos 7. Responed is centos 6.X 's or ealier, and I tried. But how is the default DHCP configuration of centos 7. Some configurations have been done like I want ...
1
vote
2answers
1k views

How to find MAC or IP address of a device connected to the same Ethernet bridge?

I have the following topology: DeviceX ------ | DeviceX bridge with two Ethernet cards (created with bridge-utils) ---------------- router | ...
0
votes
1answer
2k views

ICMP gives host an impossible redirect

I am having trouble with forwarding on a system which hosts a few headless VirtualBox VMs. I have not changed anything but the configuration has stopped working. The VMs have IP addresses on their own ...
-1
votes
0answers
8 views

use an already registered domain as main domain for centos web panel

hello i already installed centos web panel on centos 6.5 final and i have a domain name testdomain.me i want to use this domain as the main domain for server so that when i want to add other ...
0
votes
1answer
1k 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' ...
2
votes
1answer
33 views

what does none in “tun0@none” stand for?

In the output of ip a I just got the lines: 4: tun0@NONE: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100 What does the NONE in there ...
3
votes
1answer
75 views

Bash: Permission denied when trying to echo data directly to Network

I am trying to send characters directly to the network stack as explained in this thread. Even when the process work OK under CygWin (Windows), the same lines do fail on Ubuntu v14.04: ...
0
votes
1answer
64 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
0
votes
1answer
34 views

Problems setting up Ubuntu Machine as a router

I have been at this for over 24 hours, here is what I have so far. -I have an Ubuntu Server running version 14.04.2.amd64, called SV-01 -SV-01 has two NICs. ETH1 is for the external network (goes to ...
3
votes
2answers
644 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 ...
1
vote
1answer
2k 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
50 views

`ip addr` in one-line per interface

I would like to print specific information about network configuration for different interfaces over all the servers I manage: the interface name the interface ipv4 address the interface hardware ...
2
votes
3answers
60 views

Is there a command to deny an IP

Looking at the access log I found excessive access from an IP address. I then edit either .htaccess or .conf files to deny access from that IP. I wonder if there is a command or a oneliner that can do ...
0
votes
1answer
15 views

What things should be kept in mind while assigning static IP addresses to Virtual Machines

I always face problems pinging the base machine whenever I assign statics IPs to VMs. I also don't understand what gateway IP should I give,to connect to the internet or just to be able ping the Base ...
0
votes
0answers
14 views

Packet loss when turning off net.ipv4.conf.all.accept_redirects

I applied this rule: /sbin/sysctl -w net.ipv4.conf.all.accept_redirects=0 /sbin/sysctl -w net.ipv4.conf.default.accept_redirects=0 and in /etc/sysctl.conf I added these lines ...
5
votes
3answers
26k views

Hostname and IP address mapping in /etc/hosts

In my linux machine, when I run hostname, it shows mongodb, but when I run host mongodb, it shows: mongodb@mongodb:/var/hadoop/hadoop-1.2.1/bin$ host mongodb Host mongodb not found: 2(SERVFAIL) My ...
1
vote
1answer
40 views

Unix Program (not ab) to create local requests to local server with different IP addresses

I made a module for apache and want to test it across thousands of different IP addresses in a short time. Currently, my only option is to integrate the module onto a live server for which I have ...
0
votes
1answer
54 views

Possibility to use app in LAN and via Internet

I use web based (https encapsulated) app in my home network and via Internet. The app has dedicated Linux desktop client (I use Mageia ver4 Linux for laptop). Of course server address I have connected ...
0
votes
3answers
49 views

Can't identify IP addresses

I got several interesting :) e-mails from IP addresses where I can't identify country and owner (internet provider), it's by example 10.180.221.97 10.220.113.130 10.52.135.39 I tried several IP ...
2
votes
2answers
824 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 ...
1
vote
3answers
13k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
0
votes
0answers
23 views

How to communicate with modem over Ethernet?

I have an old modem I was considering repurposing. The first step I thought to do was connect my computer with the modem and try to map the open ports. I found that, upon connecting the device, that ...
0
votes
2answers
15k 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 ...
0
votes
1answer
77 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
3
votes
1answer
66 views

How safe is it to change the Linux Ephemeral Port range

I see the following ephemeral port range on my Linux box. sysctl net.ipv4.ip_local_port_range net.ipv4.ip_local_port_range = 32768 61000 I want to extend the port range to start from around ...
0
votes
1answer
24 views

Forwarding traffics come from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of VPN tunnel. Given four linux devices A, B, C and D, for example, I ...
0
votes
2answers
75 views

Tell socat to listen to connections from a single IP address

socat TCP-LISTEN:22,fork TCP:192.168.0.15:5900 How can I tell to socat, that port 22 is only trusted from the remote IP address 8.8.8.8, and it should not accept connections from other IP addresses? ...
1
vote
1answer
34 views

Delay after a MAC change

I am writing a script that will change my ethernet MAC address on a local network. It will work as follows: Initially eth0 will be brought down MAC will be changed using the ifconfig utility eth0 ...
0
votes
1answer
14 views

Letting a device access internet trough ethernet port via a laptop [duplicate]

So i have internet access to my laptop, over wifi. I have connectd a device with an ethernet port (with an ethernet cable from my laptop to the device), and set up a local area network between the ...
0
votes
0answers
22 views

Script to remove IPs or network ranges from an IP space

As per the tittle, I have a tool that accepts both lists of IPs or network ranges (CIDR format) to perform a task. Unfortunately, it does not support exclusions of IPs or ranges from the IP space ...
-1
votes
1answer
60 views

Interfaces, IPTables, Connections, Local Connection - Confused :/

I configured my iptables today and ran into some questions i could not resolve yet. So it would be nice, if someone could verify or answer the following to clarify: Each interface can be configured ...
5
votes
3answers
2k views

SSH access from inside and outside a LAN using the same terminal command

I have a Raspberry Pi (RPi) and I am making remote connections to it using ssh. I have managed to set up ssh correctly such that I can access the RPi both from a local area network and from the ...
87
votes
19answers
75k 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 ...
1
vote
0answers
71 views

Hostname resolves to wrong IP address

When I ping the hostname of my phone from a RaspberryPi (with Raspbian installed), it resolves to the wrong IP address: pi@raspberrypi ~ $ ping isimon.fritz.box PING isimon.fritz.box ...
1
vote
1answer
215 views

Solaris 10 IPMP and zones

Is there a way to have an IPMP group Virtual IP only be assigned to a none global zone ? The reason I ask is the need to reduce the number of IP addresses, as we only have so many spare. If I have ...
12
votes
2answers
25k views

show gateway IP address when performing ifconfig command

Currently, when using the ifconfig command, the following IP addresses are shown: own IP, broadcast and mask. Is there a way to show the related gateway IP address as well (on the same screen with ...
2
votes
0answers
73 views

Binding nonlocal address on NetBSD

This is not a programming question, but a question about NetBSD. Linux, FreeBSD and OpenBSD have mutually exclusive but similar interfaces to allow binding the local end of a connection to an address ...
3
votes
2answers
65 views

What is stopping our UDP packets (how does it know the route is down)?

We have a server (camera) sending RTSP video packets via UDP. At a customer site it travels over several hops, one of which may be an unreliable WiFi link that drops the odd packet or five. Usually ...
0
votes
0answers
23 views

Network problem in Kali via bridge on VM

It's as simple as the title. I've installed Kali Linux and can't get ipv4 using bridge network on VM. Already tried all the popular solutions like changing NetworkManager.conf and restarting it. ...
20
votes
9answers
22k views

How to get my own IP address and save it to a variable in a shell script?

How can I get my own IP address and save it to a variable in a shell script?
1
vote
1answer
37 views

What ports will an ssh daemon use outbound?

I am making a bastion ssh server. When I use the following rules in its ip tables, I am able to connect to the server just fine: Inbound Rules Allow traffic on port 22 from my client's IP Block all ...
1
vote
0answers
45 views

Remote SSH into raspberry pi [closed]

I wanna setup Open VPN on my Pi, but first I wanted to check whether I can setup my modem and router (DD-WRT ; linux-based firmware) to port forward to my Pi and test SSH to it in the first place. So ...
1
vote
1answer
58 views

Static IP changes to dynamic automatically after time

I have found only one discussion about my problem here, but not a solution. I have access to one Debian 7.8.0 amd64 virtual machine (under VMware) and its IP address is gained through DHCP, e.g., ...
2
votes
2answers
96 views

How can I allow SSH and SMTP only using IPTables?

I've got a raspberry pi set up to send me periodic emails. As it's connected to the internet 24/7, I need IPTables set up properly. I want to allow incoming SSH and allow emails to send out on port ...
1
vote
1answer
90 views

Why `ip addr` showing inet 192.168.122.1/24?

My local ip address is : 10.102.42.102, but i don't understand the rest of the address. Can someone explain why ? root@HitHiFitHai:~# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc ...
2
votes
1answer
42 views

How can I change the IP and gateway addresses permanently?

I recently installed Linux Ubuntu 14.04 to my computer. To enable internet connection I needed to change my IP and Gateway address. I did the following as a root user # ifconfig eth0 "my ip address ...
11
votes
3answers
15k 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 ...