Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
31 views

Set the TCP window scaling option to 4 & the TCP window size to 65535 [on hold]

I want all TCP packet (linux system) to be sent with: TCP window scaling option set to: 4 TCP window size set to: 65535 (0xffff). How I can configure my linux system to do that?
1
vote
1answer
32 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
32 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: ...
4
votes
1answer
31 views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
1
vote
0answers
28 views

Linux - iptables - get YouTube streaming bytes usage

How do I get bytes usage using iptables for a particular IP, including YouTube streaming videos? Currently, I am using the following IP tables rules to get data usage by IP address: sudo iptables -I ...
3
votes
1answer
35 views

I can't ping my bond interface when simulating 2 WAN connections

I'm actually simulating 2 WANs connexions with Wanem (each one on a different VM), those are connected to my servers. What I need to do here is to create a bonding to improve my bandwidth. I've ...
0
votes
2answers
19 views

Unable to connect to certain IP address, but able to connect to other IP in same subnet

I'm running a 14.04.2 LTS ubuntu box in a DMZ with IP of 10.10.30.35 and I have the following network mystery. I'm trying to connect to another unix box outside the DMZ but in our internal network at ...
0
votes
1answer
13 views

What happens to TCP when a write fails to enqueue with the device tx ring?

Lets say the device tx ring is full and you do a normal C non blocking write(fd, buff) to enqueue data in the TCP SND buffer. What happens when this fails? In UDP - the packet would be dropped but ...
1
vote
1answer
17 views

Sharing the loopback interface across network namespaces

I'm interested in using a separate namespace for running a VPN client, so that every process I run into that namespace accesses the Internet through the VPN. That part I've managed to accomplish. ...
1
vote
1answer
31 views

Unable to access another server over local network on Digital Ocean

I have two servers. Let's call them A and B. Both are running ubuntu server 14.04. B runs percona server. Now I do not have any firewall set-up on either servers still I am unable to connect to server ...
0
votes
0answers
7 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
17 views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
0
votes
0answers
26 views

URXVT network issues

So yeah. Whenever I maximize URXVT my friend's computer's League of Legends client, while in-game, latency goes up to around 3,000. Wireshark, ntop and tcpdump do not reveal any outgoing packets ...
1
vote
0answers
14 views

Get Debian Wheezy netinstall to detect wlan

I'm attempting to install debian wheezy from the netinstall iso burned to usb. I'm trying to use a Belkin F9L1002v1. First time I attempted installation, I was notified of some missing firmware, so I ...
1
vote
0answers
25 views

Running a systemd service file after the network is up to bypass an OpenVPN default gateway

I would like to add a static route using a systemd service file on system boot. I have a DMZ network on a separate 192.168 class C network reachable via my default gateway. I also use OpenVPN to ...
0
votes
1answer
35 views

What does “network interface” mean in /etc/network/interfaces, ifconfig and iwconfig?

/etc/network/interfaces is a file configuring network interfaces, and ifconfig and iwconfig are commands operating on network interfaces. I saw the logical name for a network interface they use can ...
0
votes
0answers
15 views

Snort alerts analysis (web interface)

I have a question about Snort (or maybe any other IDS/IPS, any working solutions would be ok). The goal is to set up some web interface providing a way to view the whole TCP stream packets of each ...
-1
votes
0answers
16 views

Is netcat or socat zero copy

netcat or socat could run like a broker in messaging systems. For example: a one-line forward server socat TCP4-LISTEN:www,fork TCP4:www.domain.org:www Are they zero-copy under the hood?
1
vote
1answer
41 views

ifconfig not showing ip address under eth0

Usually when I connect my raspberry pi to my laptop using an ethernet cable, the ifconfig command in each computer would show the ipaddress of each computer under eth0. I recently got a new raspberry ...
1
vote
0answers
24 views

List all layer 3 protocols available in my system?

I am studying the OSI model and I have some doubts. How do I list layer 3 (OSI) protocols available/running in my system? Can I monitor them? Can I access to them (other than IP) from an programming ...
0
votes
0answers
7 views

How much of Linux's recent TCP bufferbloat remediation also applies to SCTP?

I am looking at rebuilding an existing communications sub-system within a shared-nothing cluster. The current message protocol is built on UDP but layers on reliable, in-order delivery and ...
1
vote
2answers
26 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
0
votes
0answers
22 views

How to access VPN network from Linux machine? [closed]

This is my case How to access the VPN from the Host machine? VPN is connect to the Windows VM.
0
votes
1answer
47 views

-bash: auto: command not found

I'm going to config my network interfaces and run this command: auto eth0 but it returns -bash: auto: command not found. It seems I've missed something which I don't know. Any idea? What should I ...
1
vote
0answers
17 views

Change of Network Interface using Metrics

I want to achieve dynamic interface change between eth0 and wlan0, one solution I am looking into is to change interface metric. Different than this question, I don't want to make any change to ...
1
vote
1answer
17 views

how to use tc with htb on arch-linux

I'm trying to use this tc script on my arch box. Specifically, the first line, roughly equal to tc qdisc add dev eth0 root handle 1: htb default 3 fails with RTNETLINK answers: Operation not ...
1
vote
1answer
27 views

How to find bandwidth usage/bytes transmitted/received within a certain time frame

I'm looking for a way to get numbers on bandwidth usage of an eth port. But I need to filter the results to only show me numbers for the last 24 hours. Or any time period in hours or minutes. Just ...
0
votes
1answer
16 views

SUSE 12 setting up virtual network interface

I'm struggling to setup virtual eth interface on Suse 12 When I run: ipconfig eth0:1 10.0.0.2 netmask 255.255.255.0 Output from ifconfig is as expected: eth0 Link encap:Ethernet HWaddr ...
1
vote
0answers
27 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
0
votes
2answers
36 views

Connection Timeout for ssh connection depending to the ip location?

I have a machine where I can connect it using ssh from different networks. But when I have moved to other country I have not be able to connect it. What may be the cause? I am able to ping the server ...
0
votes
0answers
15 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
0
votes
0answers
21 views

command line tool group chat utility under linux

I am working on mac osx Yosemite. I want to reach to a user under a certain IP address. (It might be local network or thru internet). I want to do it thru terminal using the default tools that ...
2
votes
0answers
19 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
1
vote
1answer
34 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
18 views

How to effectively capture traffic on port 5060 between specific time internals?

users. I want to capture traffic on port 5060 for one week in a file, than wants wireshark to rotate file and start capturing for next week with a different file name. I know little about tshark, ...
1
vote
1answer
24 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
1
vote
1answer
47 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
31 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 ...
0
votes
1answer
73 views

Laptop connected to wifi but no internet

For some reason my wifi has decided to stop working. I can connect to APs, I can have excellent signal strength, but I can't actually load any web pages or ping anything. I know it's my laptop because ...
0
votes
0answers
40 views

Creating an open wifi acess point for April Fool's Day which I want the client can only visit the login/splash page, but not working

I bought a Hiwifi J2 (Chinese) router, and sysupgraded to OpenWrt (not official version, but a patched version based on OpenWrt Barrier Breaker: https://github.com/rssnsj/openwrt-hc5761). Then ...
2
votes
1answer
32 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
1
vote
0answers
31 views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
1
vote
0answers
19 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
1answer
31 views

Apple Home Sharing on a Linux machine

Is it possible to share a directory with media files to an Apple TV (Gen 2 & 3) using Home Sharing on a Linux machine? I've found some solutions suggesting DAAP but none of them seems to be for ...
2
votes
2answers
53 views

Is it possible to have multiple virtual machines with the same (guest) ip on the same host?

What I try to achieve: Multiple virtual machines (virtualbox) on a Debian host which communicate with another server (not with each other or the host). All VMs need to have the same static network ...
2
votes
1answer
37 views

Why does scp not show true upload speed?

Every time I'm trying to upload a file using scp on my slow upload connection (~100kb/s), it shows something like : test 27% 2208KB 2.2MB/s 00:02 ETA On the first ...
1
vote
3answers
55 views

how to automate creating firewall rules?

There is a complex live system - few vlans. In each of them there are linux servers, and on every server there are services. Services connect together - for example service http on host A connect to ...
1
vote
1answer
74 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
1
vote
2answers
62 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
0
votes
0answers
25 views

How do you create an ip alias using iproute utils?

While reading the O'Reilley book on Apache Web Server, they gave an example on using ifconfig to set ip aliases on an interface: ifconfig ep0 192.168.123.2 ifconfig ep0 192.168.123.3 alias netmask ...