the IP protocol and IP addresses

learn more… | top users | synonyms

0
votes
0answers
6 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 ...
1
vote
1answer
31 views

How can I set the “default route” when an interface has multiple IPs?

I've followed this guide for Multiple IP addresses on Amazon EC2 and have gone with the second method listed of adding two IP addresses to a single interface. This was done by adding two private IPs ...
0
votes
0answers
30 views

How to get and print a user's public IP address in a Shell Script? [duplicate]

I've just completed a lengthy installation script that deploys a Ruby on Rails application unto web servers. At the end of this script, I'd like it to print something along the lines of: "Installation ...
2
votes
2answers
80 views

How to print from a given range of ip addresses every class-c with the last octect replaced by an asterisk

example: I have a range from 10.0.100.0 to 10.0.224.0 and I want the output like this: 10.0.100.* 10.0.101.* 10.0.102.* and so on
0
votes
2answers
25 views

Tools for Debugging Routing Tables on a Linux Machine?

Is there a tool that debugs routing tables on a Linux machine? I mean one that I can use by inputting an ip address into it, it'll take the existing routing table into account and output the ...
0
votes
1answer
54 views

why can't I ping Google with a static IP address?

I'm trying to install vicibox, an OpenSUSE distro which includes Asterisk. The fine manual says to set a static ip address with yast lan. What's the difference between: ││[ ] Change Hostname via ...
0
votes
0answers
11 views

static ip address in yast

I think that I set the FQDN for the server in yast. How do I set the static IP address with yast? I go to network devices => network settings, see my NIC: YaST2 - lan @ arrakis Network Settings ...
0
votes
1answer
22 views

How to access a website hosted on Ubuntu virtual machine on Azure?

I'm using Ubuntu 14.10 virtual machine located on Azure and I'm accessing it via Putty client. I've installed required software like Nginx and Mono, and I'm trying to host ASP.NET 5 webapp on Ubuntu. ...
2
votes
1answer
20 views

How does server identify frames in case of multiple VLAN sub-interfaces?

When I create a VLAN sub-interface in Linux, then it gets the same MAC address as its parent interface. For example with ip link add link eth0 name eth0.333 type vlan id 333 command, the eth0.333 gets ...
0
votes
2answers
37 views

How to setup routing tables to connect two subnets

How do I setup my routing tables to allow traffic between two subnets I have a gateway box with two NIC's 1st NIC [eth0] is connected to my outgoing network side and DSL modem and has subnet ...
0
votes
0answers
12 views

Changing static on SuSE linux

I have recently received a Linux Suse Ent server that has an active service agreement attached with it. The service requires an VPN connection so I have to change the IP, Default gateway. I have ...
0
votes
1answer
35 views

Resolve Host's IP on VM

I have kind of tricky situation. I have monitoring tool where all my hosts and their VM's (with IP's and so on) are listed. But what I need is to resolve on which host(need it's ip or hostname) this ...
2
votes
2answers
30 views

iproute2 command to enable a IPv4 address

I am investigating how to have iproute2 commands replace the old ifconfig and ifup ifdown command, and I found out something interesting. My NIC setup is: [16:07:41 root@vm network-scripts ]# cat ...
1
vote
0answers
28 views

Setup public IP address on LXC container

Can anyone tell me how to setup a network interface for each LXC container so that each container can have its own dedicated IP address? Here's what the /etc/network/interfaces file on my host node ...
1
vote
2answers
25 views

Virtual interface and different IPs

I've created a virtual interface on wlan0 with the ifconfig comand and here is what I have: wlan0 Link encap:Ethernet IndirizzoHW c4:46:19:69:b7:a5 indirizzo inet:192.168.1.4 ...
1
vote
1answer
48 views

Not able to resolve IP address for eth1 in Vagrant VM

On runnning ifconfig command I get the following as output. I need the IP address of eth1 for running my python server port with. eth0 Link encap:Ethernet HWaddr 08:00:27:CE:08:3D ...
0
votes
1answer
13 views

How to access a inet6 address from browser

I have installed a pre-built Virtual Box image on an OS X host, and started it up. It's running Ubuntu 12 and Tomcat. From within the box the adapter information only contains an inet6 address (see ...
1
vote
1answer
29 views

How does Linux prevent applications from sending more packets than the link can handle without dropping packets?

I couldn't make the question any clearer so here's an example scenario: Given a Linux machine connected to an IP network through a physical interface of bandwidth 10Mbps (or a higher speed interface ...
1
vote
0answers
32 views

Network tool to monitor IP packet fragmentation

Is there a tool, similar to iptraf, that would let me see how many incoming/outgoing IP packets get fragmented/defragmented, and what percent of traffic they are? I know this can be counted with the ...
1
vote
0answers
50 views

IP packets fragment randomly

I've observed the strangest thing - the same packet, same size, send through the same interface sometimes gets send whole, and sometimes gets fragmented, as if it exceeded the interface MTU... 1472 ...
3
votes
1answer
64 views

why are there different formats for the hosts file between OpenSuSE and Ubuntu?

How is 127.0.0.1 related to 127.0.0.2? Using ssh to login to tleilax (OpenSuSE): tleilax:~ # tleilax:~ # hostname tleilax tleilax:~ # tleilax:~ # hostname -f tleilax.bounceme.net tleilax:~ # ...
-1
votes
1answer
86 views

Why 192.168.1.105 = 127.0.0.1 in my pc?

I have installed apache2 in my debian7.8 . When to input 192.168.1.105 in firefox i get the same output as 127.0.0.1 ? It works! This is the default web page for this server. The web server ...
1
vote
0answers
30 views

What is the first event/file/log in linux that appears/changes on boot that signalizes network being up?

I have a vSphere farm with virtual machines and python script that handles cloning and managing of those VMs. I also have a machine (RedHat 6) that I clone if I need a new one. It has a script that ...
0
votes
1answer
22 views

Invalid IP parameter on nginx setup

I'm currently setting up an an nginx web server with PHP on ubuntu 10.x lastest. I've set it so it will only use my local LAN for testing but it comes with invalid paramter for 192.xxx.x.0/142. My IP ...
2
votes
3answers
87 views

What's the difference between a machine's IP address and localhost

It is silly stupid question for you all. But until i know the answer , it is difficult for me. Doubt has raised from my another question Where if i give localhost to my path, it works. But it doesn't ...
1
vote
0answers
17 views

Is dynamic DNS the only possible way to establish a connection between two routers with temporally IPs?

the situation is as follows. My and my friends Pcs are connected within a WLAN with a local IP to a router, the router gets its global IP from different ISP with a limited pool of IPs, so the ISPs ...
1
vote
2answers
173 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
0answers
13 views

What's wrong with the mapping?

I am running two docker containers one is for hadoop basic services and other is for flume. Services are running successfully. I linked two containers env variables are automatically set by docker ...
1
vote
1answer
37 views

ifconfig made my server unreachable

I just got a second IP address for my Debian Squeeze root. I tried to add the address to my network but somehow I messed up. The command I executed: ifconfig eth0 [new ip address] mask ...
1
vote
2answers
63 views

Output only the IP addresses of the online machines with nmap

I know how to use nmap to find the list of hosts that are currently online. What I would like to do is get a list of just their IP addresses, now it displays extra information such as Nmap scan ...
1
vote
3answers
45 views

Can a Linux system have two IP's Simultaneously?

Recently I installed apache2 on Raspbian and after end of installation I entered the following cmd and got two IP's. $ hostname -I 192.168.1.17 192.168.1.24 Of this, I have been using the IP ...
3
votes
0answers
33 views

delay in IP route deletion

(Apologies if this is the wrong StackExchange for this question, but there does seem to be some confusion regarding appropriate targeting of IP networking questions) I am very much a network newbie, ...
3
votes
1answer
99 views

Strange ip command output

When I call ip addr show I get output with all interfaces and their IP addresses (look at eth7): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
1
vote
0answers
25 views

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need ...
0
votes
0answers
15 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
1
vote
1answer
39 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
3
votes
1answer
65 views

What's the shortest way to find my WAN IP address at the command line? [duplicate]

What's the shortest command I could use to find out my WAN IP?
0
votes
1answer
77 views

Why can I connect to the IP of a network interface (on a server with multiple network interfaces) when the network cable is removed?

I have a Server with multiple (four) network interfaces running Arch Linux when I encountered something strange that I cannot explain. I have two interfaces configured to the the ip addresses ...
1
vote
1answer
22 views

Connect to offline network on second interface

I would think there's likely a dupe of this around but I cannot find it. I have an offline router I'm using to connect a remote wireless device. The router cannot be configured as an access point, ...
2
votes
0answers
120 views

Is Traffic control inside namespace on ports created by OpenvSwitch supported?

I am trying to limit the bandwidth of an interface inside a namespace using tc without much success. Seems it's not supported according to ...
1
vote
0answers
235 views

ping localhost sometimes fails with sendmsg: Operation not permitted

I have a problem with network adapter (i think) , look I trying to ping my self and got a error sometimes, how this can be ? First time in my life i see this. # ping 127.0.0.1 PING 127.0.0.1 ...
-1
votes
2answers
65 views

How to find public ip for a freebsd system [duplicate]

Can someone tell me a command that will find my external ip for a freebsd 10 system.
1
vote
1answer
483 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 ...
0
votes
2answers
51 views

IP routing to domain

I have a remote device that sends data to an IP address through a specific port. The problem I want to solve is that I need it sends data to a domain, but device only allow set IP addresses. I want ...
3
votes
1answer
63 views

disable dhcp in initramfs

In Debian, how can I tell initramfs not to request an IP address via DHCP? I'm using initramfs-tools. I'd be okay with assigning a static IP address for the initramfs, but I can't find how to set ...
1
vote
0answers
47 views

Float MAC address in Heartbeat format

It's been about a month where I've been working with "High Availability" on Elastix based on DRBD and Heartbeat. As you maybe be familiar with it, there is a file in Heartbeat called haresources ...
1
vote
0answers
35 views

Add ipv6 route so packets go to eth0

I have 2 VM Ubuntu 14.04 in VirtualBox. They are connected in internal network. One Ubuntu is sending multicast data (via VLC) and one is receiving. I added this in both VM's so it works via IPV4 ip ...
1
vote
2answers
322 views

Fake IP addresses generator

I have an application running on a server that adds a new iptable rule blocking every IP address trying to connect via SSH with a wrong password. Now, I'd like to perform a stress test where many ...
1
vote
1answer
121 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
0
votes
2answers
58 views

Two virtual machine instance with same network on same host

Is this possible to have two (or more) instances of a virtual machine on a host with the same IP address (like 192.168.0.X)? What are the possible ways of implementing this? I need the two virtual ...