the IP protocol and IP addresses

learn more… | top users | synonyms

3
votes
0answers
109 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
0answers
239 views

AppArmor Profile: Deny internet access

I want to deny the internet permission for some applications. Therefore, I tried first to deny the internet permission for ping, but it doesn't work. Here is the profile of /etc/apparmor.d/bin.ping ...
2
votes
0answers
21 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 ...
2
votes
0answers
127 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
194 views

Network connectivity trouble to non-routing multi-homed hosts?

I have two networks: A and B (172.16.2.0/24 and 172.17.2.0/24). A is Ethernet, B is WiFi. An OpenWRT router connects A and B, and most traffic gets passed OK. Default route on router leads to a ...
2
votes
0answers
221 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
2
votes
0answers
608 views

Network connectivity issue between different hosts from a network namespace in one host

I have created two Ubuntu 12.04 VMs using VMWare Player with NAT network configuration. I am able to ping them from each other. After that, I created a network namespace in one of them and add a ...
2
votes
0answers
37 views

Manually adding static ip not resolved after a while

Hi Unix/Linux community, I have a small problem with a device I am connecting to my laptop, running Debian Linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am ...
2
votes
0answers
169 views

How to fairly share bandwidth between IPs with tc?

I have a linux router (d-link 320-nru) with tc installed. I have some users' computers to fairly share bandwidth between them. Also there is such complication as inconstant uplink bandwidth. How can ...
1
vote
0answers
29 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
0answers
29 views

Userspace Network Stack

I am writing a (very simple) userland IP network stack. For this purpose, I need to go "around" the OS network stack and obtain the raw Ethernet frames. The tap interface sounds like a way to go, but ...
1
vote
0answers
31 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 ...
1
vote
0answers
22 views

'ip netns exec' command execution using nsid obtained from 'ip netns list-id'

I have previously used ip netns exec command to modify netns interfaces. But if there is no name associated with a netns (eg: docker), how can I use nsid result of ip netns list-id command for ...
1
vote
0answers
33 views

Centos 6.x multi-homed routing question

I have a conundrum and would like to hear any pointers (been working on this for 2 days now, and need to get this server in to production). My "google-foo" has not been strong with this ...
1
vote
0answers
62 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
1
vote
0answers
114 views

Not permitted to add eth0 to bond0

I'm trying to add an interface to my bond0 but I always get the error. sudo ip link set dev eth0 master bond0 RTNETLINK answers: Operation not permitted I already tried it with sudo and with ...
1
vote
0answers
278 views

ip link add gives me an error that it's not supported

I would like to set up a bridge with iproute2 like this: Adding bridge : ip link add name br0 type bridge Bringing bridge UP : ip link set dev br0 up Adding interface to bridge : ip link set dev eth1 ...
1
vote
0answers
28 views

How to force dhcpcd to forget an old static address after editing dhcpcd.conf?

How can I force dhcpcd to forget a previously configured static address after setting a new one in /etc/dhcpcd.conf? I changed: static ip_address=192.168.1.1/24 to static ...
1
vote
0answers
30 views

Any potential problems when configure multiple NIC for isolated networks to have same subnet?

System I have an ARM Linux (kernel 3.17) for field use and it has multiple NIC, say eth0, eth1, and wlan0. On the left side, I need to use a PC0 to configure the ARM Linux so that it can change it's ...
1
vote
0answers
87 views

conntrack -E - traffic counter reporting

I'm currently in the process of writing small solution which would continuously receive output from conntrack -E command and along with some other stats, it would count/monitor traffic. The only ...
1
vote
0answers
59 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
0answers
793 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
0answers
458 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
0answers
98 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 ...
1
vote
0answers
353 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
0answers
209 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
0answers
253 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
190 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 ...
1
vote
0answers
73 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 ...
1
vote
0answers
40 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
0answers
51 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 ...
1
vote
0answers
191 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
153 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
0answers
133 views

Egress packets do not use non-default routing table

I made a custom routing table named test: # ip route show table test default via 10.10.10.126 dev eth0 # As seen above, it contains only a single route. As a next step, I made a rule where traffic ...
1
vote
0answers
53 views

NAT-T set up using 3 linux machines

I am trying to have a simple NAT-T setup using 3 linux machines. Linux1 Linux2(NATdevice) Linux3 (eth0) 192.168.1.51 <--->(eth1)192.168.1.80 & ...
1
vote
0answers
61 views

How to run a specific TCP client with a different IP?

My server has 3 ips. I use cronjob doing some api job. But this api has some limit: 100 calls/day. So how can i set a special ip for running some special script via cronjob? Thanks. 0,20,40 * * * * ...
1
vote
0answers
122 views

Linux Source Routing with one gateway

I've a Linux box which have IP 10.1.1.100/24 on eth0 with gateway 10.1.1.1 and as well as 20.1.1.1 on eth0:1 and 20.1.1.2 on eth0:2 . Is there any way that I could communicate to a remote machine ...
1
vote
0answers
216 views

Debian access point is detected, but provides no Internet access

I am use Debian sid. I want to share my network (ppp0) via AP (Access Point) to my mobile device. This is my configuration. /etc/hostapd/hostapd.conf : # WiFi Hotspot interface=wlan0 driver=nl80211 ...
1
vote
0answers
108 views

What should be the right dhcp configuration for generating a new network over eth0?

Even not under a real server like scenario, I'm testing with dhcpd for learning and practice purposes. I'm using Ubuntu 12.04 LTS. I want to offer a network by my eth0 interface. I receive ip and so ...
1
vote
0answers
307 views

Share (masquerade) Internet connection from Debian desktop to a bunch of computers

I need to share the Internet connection of my Debian desktop to some other devices (a Mac Laptop, and an Android tablet). The Debian desktop is connected to the local network via eth0, and the rest ...
1
vote
0answers
271 views

SSH to a machine that is getting it's network connection from an Android device(Google TV)

I have a Linux(Ubuntu) machine for my HTPC. It's running XBMC and I control it via my IR remote control. I don't have a (wired) keyboard to control it. It has Wifi adaptor but it's not installed. I ...
1
vote
0answers
110 views

coLinux strange networking trouble

Installed coLinux, Debian, sshd inside, pcap-bridged networking, and I can connect to ssh service from coLinux console and from LAN. Now, the strange part: I cannot connect to Linux guest ssh service ...
1
vote
0answers
368 views

Usb tethering with linux and htc desire s other than rndis_host

I want to share the connection of my htc desire s with linux and I'm doing it but if it is possibile I'd like to avoid using the rndis_host module. The tethering can be configured as "windows" or "mac ...
1
vote
0answers
619 views

AIX multihomed multicast

On my AIX machine if I run netstat -ia I get: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0 ...
0
votes
0answers
21 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 ...
0
votes
0answers
30 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
0answers
55 views

Setting multiple IP addresses on private network interface using Vagrant

I am trying to configure IPv4 and IPv6 address on Internal network Vagrant interface but I am unable to do so. Here is the configuration: config.vm.network "private_network", ip: ...
0
votes
0answers
12 views

Could two servers connected by one cable use the link in the same time?

I'd like to know if two servers connected through a cable, can use the only connection to communicate in the same time. For example suppose both have are ssh servers, could I log in from A into B and ...
0
votes
0answers
30 views

ip link up with empty line

case: # eth0.cfg The primary network interface auto eth0 iface eth0 inet static address IP-1 netmask 255.255.255.255 broadcast IP-1 post-up ip addr add 192.168.100.254/24 dev ...