the IP protocol and IP addresses

learn more… | top users | synonyms

1
vote
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' ...
1
vote
2answers
33 views

Meaning of address netmask without route to subnet?

My understanding is that the netmask of the interface tells what subnet the interface belongs to. Meaning of this information is that the routing system knows that packets to this subnet should be ...
0
votes
0answers
16 views

internal and extern ip adress when installing softwares etc [on hold]

I rent a Linux Debian server. I have problems with installing software on it. When I install centovacast, I have no problem, but when I create a radiostation into centova for a client, it gives them ...
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 ...
-2
votes
2answers
44 views

my linux pc not pingable using hostname

From a remote machine I am able to ping my computer by its IP address, but not by its hostname. How can I make it accessible by its hostname as well?
3
votes
2answers
659 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
votes
0answers
27 views

Request a second available IP from the DHCP server? [closed]

I have 3 servers A, B and C that already have IP addresses assigned by the DHCP server. I wanted to request a fourth IP from the DHCP server that I can use as a floating IP between my service. Is ...
95
votes
19answers
81k 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
1answer
19 views

How to add static route in Virtual Guest to reach Host network?

I have a Linux mint virtual machine running with public IP as 203.x.x.x with bridge mode Ethernet adapter whereas my physical machine IP Address is 145.17.x.x subnet. To access my physical PC's ...
2
votes
1answer
37 views

IP address assigned when using 3G USB modem

If I use a 3G USB modem with a SIM card on my linux machine, do I get the IP address assigned by the carrier just as my phone when it uses the same SIM card, or do I get a different IP address (as it ...
0
votes
0answers
24 views

Can't find connected devices on wifi network

I've been having some issues with finding my devices on the network.. Ettercap & nmap and everything else I have tried does not find a host that is connected to my gateway? I have three devices; ...
0
votes
0answers
40 views

server1 ssh's to server2 but server2 sees server1 by it's private ip due to both servers being on the same firm/network

I ssh into server1 via it's public IP from server2. I then ask server1 what my IP is. i.e. server2's IP. It shows me server2's private IP. I want it to show me server2's public IP. If server2 was ...
-5
votes
0answers
62 views

dns queries not answered plus broken https

I am on kali linux which means debian wheezy. I didn't change or install anything new,it just came out of the blue when i booted in. I am alone on the network. Router is D-link 2730U I was just ...
1
vote
2answers
28 views

How to use routing to use the next available inetface

My system has 2 interfaces (eth0, eth1). I open a socket and bind it with an ip attached to eth0, now I want the OS to route the packets to another ip (which attached to eth1 but i'm not sure it's ...
1
vote
1answer
31 views

Networking fundamentals: what IP is assigned a NIC if there is no successful DHCP negotiation?

On Windows computers, when there is no DHCP server found on the network interface, it gets assigned some IP address like: 169.254.x.x So it is supposed you can find it on the network using tools ...
0
votes
1answer
100 views

How to bind IP address to MAC in autoyast?

Is it possible to bind IP to physical address in autoyast config file? The following code doesn't do the trick: ... <interfaces config:type="list"> <interface> ...
22
votes
10answers
24k views
0
votes
1answer
65 views

Arch-Linux after system-update no internet connection but connection lan

Yesterday I updated my Arch Linux after 2 Months with sudo pacman -Syu and after the reboot I don't get any connection with the Internet neither from Browser nor with Skype, etc. When I try to ping ...
0
votes
0answers
94 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
23 views

installed application keeps open port

I installed an application (a text editor) and it keeps a connection alive. I blocked the IP with iptables, but the port stays open. netstat shows: tcp 0 0 127.0.0.1:<port> 0.0.0.0:* ...
2
votes
1answer
67 views

Local port is not accessible with public IP address

I have a linux server which has public IP and Private IP. So, when ever I login with public IP, the terminal directly shows private IP. example: $ ssh root@55.27.XX.XX root's password: ...
2
votes
1answer
33 views

If I use an SSH tunnel to forward a remote port to a local one, and my IP address changes, will that tunnel still work?

Simple - trying to use my personal computer as a server, by forwarding a public static IP address's port to mine, but I'm worried about Comcast pulling out the rug from underneath my feet and changing ...
2
votes
2answers
870 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
0answers
113 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
33 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
493 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 | ...
2
votes
1answer
63 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
107 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
82 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
42 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 ...
1
vote
2answers
64 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
63 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
18 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
27 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
29k 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
42 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
56 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 ...
1
vote
3answers
14k 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
26 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
16k 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
85 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
92 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
34 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
86 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
37 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
18 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
24 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 ...