the IP protocol and IP addresses

learn more… | top users | synonyms

1
vote
0answers
25 views

Remote SSH into raspberry pi [on hold]

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
33 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
59 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
41 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 ...
1
vote
1answer
21 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 ...
0
votes
0answers
27 views

Assign IP to a device using BOOTP protocol?

I have a device that is BOOTP enabled, I want to assign an IP to this device on Linux. there are these tools that works perfectly ...
0
votes
0answers
32 views

CentOS 6 Include Gateway for Static IP Address

I've just set up a static IP Address for my CentOS Machine using the following settings in /etc/sysconfig/network-scripts/ifcfg-eth0 #eth0 Config #IPv4 DEVICE="eth0" NM_CONTROLLED="yes" ...
0
votes
0answers
9 views

Measure data submited to a blocked ip adress in iptables

With: sudo iptables -A INPUT -p all -d $ip -j DROP One can drop all packets submitted to an ip adress (or a range of ip adresses). This method is useful if you want to prevent applications from ...
-1
votes
0answers
42 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 ...
2
votes
1answer
49 views

How can I share my internet connection (wireless) with an ethernet only computer?

I have a raspberry pi B+ set up in a server configuration and it connects to internet succesfully over Wifi with a USB dongle. My other pi (an A+) has always been located downstairs in the garage, ...
0
votes
0answers
18 views

dhclient allows for address conflicts

I invoke from my application dhclient but there is a problem with IP addresses conflicts. If I have other interface with statically set IP address, dhclient does not send DHCPDECLINE when DHCP Server ...
2
votes
1answer
26 views

package from IP arrives at certain port => open portrange to IP for x seconds

I have been toiling with an issue on iptables: I am trying to make a portrange open to a specific IP for x seconds/minutes as a result of a single packet being sent to a specific port. Not exactly ...
1
vote
1answer
22 views

How does OpenVPN server assign client IP addresses in case of multiclient configuration?

For a multiclient OpenVPN configuration, as we can find from the relevant documentation (server.conf comments), Configure server mode and supply a VPN subnet for OpenVPN to draw client ...
0
votes
0answers
26 views

noip2 can't update my IP address correctly after computer reboot

I want to set up a server with using no-ip DDNS service. I follow this guide, but it can't update my IP address after reboot the following message is command # noip2 -S 1 noip2 process active. ...
0
votes
1answer
42 views

How to make virtual interface ping to a host in the network

I crated a virtual interface as indicated in this link. sudo modprobe dummy sudo ip link set name eth10 dev dummy0 sudo ifconfig eth10 up sudo ifconfig eth10 192.168.1.150 now if I want to make a ...
1
vote
0answers
19 views

Add vlan to interface with unique mac - different syntax for different Linux distros

I need to add a subinterface to an existing interface, which is on a VLAN. Furthermore, the subinterface must have it's own MAC address. Through the man pages I found this syntax which works fine on ...
1
vote
1answer
40 views

Bonding two interfaces

I'm trying to simulate bonding between two interfaces eth0 and eth1. So basicly, I need these two interfaces to be on the same subnet. My question here is: How can I achieve this?
2
votes
1answer
42 views

Addresses overlaps

I was putting somes static addresses to my interfaces then it shows me this: 172.16.1.0 overlaps with FastEthernet 0/0 What does it mean when two addresses overlaps and how can we avoid it? EDIT: ...
0
votes
0answers
25 views

IPvsadm, cannot get it to work at all

From my production server, I should make several connections (>50) to two different IP addresses. I am trying to load balance among these two IP addresses when making outbound connections so that the ...
0
votes
1answer
75 views

Set a local static IP address on a network interface and have it permanent even after restart

I have openSUSE 13.2. My laptop connects to the internet through a WiFi network but I have an embedded device which I need to connect to it through the ethernet interface. It has an IP address of ...
1
vote
1answer
51 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
1answer
54 views

Updating IP for port

In below unix output of "netstat -pln" netstat -pln (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet ...
1
vote
1answer
76 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
0
votes
1answer
35 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
1
vote
0answers
31 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
0
votes
0answers
92 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
66 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
53 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
101 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
43 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
73 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
26 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
57 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
29 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
56 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
14 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
49 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
55 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
81 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
41 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
145 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
22 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
40 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
54 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
61 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
103 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
193 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
38 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
40 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
234 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 ...