Linux Networking refers to any networking function performed by a server running Linux. A Linux server operating as a router or firewall are the most common applications.

learn more… | top users | synonyms

0
votes
1answer
155 views

Changing qemu/libvirt default gateway IPv4 IP to something other than x.x.x.1/24

General info: I have a KVM-libvirt/qemu running on ArchLinux; 3.18.2-2-ARCH ls | egrep -i 'libvirt|qemu' libvirt-1.2.11-1-x86_64.pkg.tar.xz libvirt-glib-0.2.0-1-x86_64.pkg.tar.xz ...
2
votes
1answer
227 views

TCP Upload Speeds Slow to the Internet over LFN

I've got two Linux VMs separated by a 50 mbps WAN connection. There is about 70ms of RTT on this WAN link, so it's got some latency. I've been testing my upload throughput to the Internet from each of ...
1
vote
7answers
22k views

Can't start CentOS 7 “network” service

I Can't start CentOS 7 "network" service after disabling and removing "NetworkManager" service. When I check the network service status, it comes up with the following error: #systemctl status ...
2
votes
1answer
78 views

Difference between ip link eth down and ip link dev eth down

What's the difference between ip link set eth0 down and ip link set dev eth0 down ? The difference between the commands does not appear to be documented anywhere.
1
vote
0answers
173 views

How to create openvpn tunnel between multiple interfaces between two hosts ubuntu linux

I want to create OpenVPN tunnel between two Ubuntu 12.10 hosts which has two interfaces, say: Host1: eth0, eth1 Host2: eth0, eth1 A tunnel is wanted between: Host1 (eth0) <-> Host 2 (eth0) ...
0
votes
0answers
106 views

How to config private IPs for IPMI using VPN?

Recently I discovered it is best to protect my IPMI web interface behind a VPN. I went ahead and installed OpenVPN on my server and connect to it using tunnleblink on OSX. The VPN part is all set and ...
0
votes
1answer
86 views

Debian-based Infiniband point-to-point Voltaire dual port cards

I have the following configuration: I------------------I I------------------I I I(P0)---------(P0)I I I Voltaire HCA 0 I I ...
0
votes
1answer
126 views

how to make this bridge to work?

I have posted a similar question at: http://stackoverflow.com/questions/27873819/customising-docker-network-doesnt-work# To simplify the question, let me get rid of docker. This is the network ...
1
vote
1answer
160 views

Windows multicast NLB with Linux clients

I'm (on behalf of a client, anyway) having some troubles with Linux accessing a multicast NLB cluster hosted on Hyper-V (waiting for more information on what version, but I don't think the version is ...
1
vote
1answer
3k views

Allow OpenVPN client to push it's own DNS servers, regardless of OpenVPN server's pushed dns?

There is an OpenVPN server running on a Debian and it pushes a DNS in the server config file: push "dhcp-option DNS 8.8.8.8" Is there an option to allow the users to change that DNS servers on the ...
0
votes
1answer
42 views

Why adding a route here is throwing up an error?

I have a linux Fedora -16 machine that has two interfaces - em1 Link encap:Ethernet HWaddr B8:CA:3A:89:EE:F1 inet addr:136.170.195.17 Bcast:136.170.195.255 Mask:255.255.252.0 ...
0
votes
1answer
217 views

Expose internal LAN to VPN using CentOS FirewallD

I have a (tinc) VPN setup with multiple clients that connect to a VPN server that sits on a LAN behind a firewall. I want to expose that LAN to the VPN that server is serving. I've seen a few examples ...
-1
votes
2answers
136 views

how to force linux to accept packet with loopback ip

i have an embedded system with an Ethernet interface that needs to accept external packets with IP of 127.x.x.xx. is there a way to force Linux to accept external packets with this loop back address ...
0
votes
1answer
65 views

Public IP not responding because routing table…?

Fixed with: /etc/iproute2/rt_tables 1 tble_eth0 /etc/sysconfig/network-scripts/route-eth0 104.000.64.0/18 dev eth0 src 104.000.65.38 table tble_eth0 default via 104.000.64.1 dev eth0 src ...
1
vote
1answer
758 views

How to set ethernet devices to specific hardware on Centos 7

I have a Centos 7 system where I've disabled the new network naming system and reverted to the old system (eth0, eth1, etc.). I've done this because I'm using this in an RDO Openstack setup, and this ...
0
votes
0answers
112 views

How to add additional network segment?

Long-standing network (A) is as follows Network A: 192.168.37.0/24 GatewayA: 192.168.37.1/255.255.255.0 (eth1) ADSL on ppp0 (via eth0) Kernel IP routing table Destination Gateway Genmask ...
8
votes
4answers
389 views

Simulate slow connection between two ubuntu server machines

I want to simulate the following scenario: given that I have 4 ubuntu server machines A,B,C and D. I want to reduce the network bandwidth by 20% between machine A and machine C and 10% between A and ...
0
votes
1answer
343 views

Unable to set eth0 autoneg off speed 1000 duplex full : invalid argument

I use Ubuntu server for my things,but when i config speed 1000 and duplex full the error occur. I've tried the answers from here,does not work, the command i used is ethtool -s eth0 speed 100 duplex ...
1
vote
2answers
739 views

How do I block incoming traffic from Amazon AWS IPs?

I'd like to block ALL incoming traffic from Amazon AWS IPs. They publish a list of their IP addresses in json format here: http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html I have a ...
1
vote
1answer
448 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
5
votes
2answers
149 views

How do I set up docker containers to communicate on private network?

I have a small cluster at rackspace with a private network in the range 192.168.3.0/24. I would like my worker services to talk to each other using this network but can't figure out how to get docker ...
0
votes
0answers
233 views

OpenVPN server cannot ping client (routing/iptables issue?)

I am not sure exactly where the issue is here. I'm fairly sure that this is some NAT or iptables issue on the OpenVPN server but am lacking the networking know-how to fix the issue. The crux of the ...
2
votes
1answer
114 views

Is Linux limiting my application's UDP transfers, and how can I see it?

I am currently developping two applications to work over a custom video streaming "protocol". Basically: The server captures video frames from a webcam, slices them into parts, and sends these parts ...
1
vote
0answers
120 views

linux not replying to an arp request

I am running linux 3.14 on a system with 2 interfaces. on the first interface, i can access our local network. on the second interface, arp packets come in but linux doesn't send out reply. is it ...
1
vote
2answers
227 views

Performance Tuning Linux [closed]

Performance Tuning/ Monitoring/Latency keeping in mind I see following 4 items & in each item they are lot of tools. CPU Memory IO Network What I see following tools we do use. vmstat mpstat ...
0
votes
0answers
12 views

promisc mode doesnt work - better solution?

I have a Debian Wheezy server running snort with two network cards: eth0 and eth1. Eth0 is used to recieve a packet stream to inspect by snort - while eth1 is used by the admin to connect to the ...
1
vote
2answers
159 views

Can't connect to MySQL from another server

I have two servers on the same subnet. 192.168.100.1 (mysql) 192.168.100.2 (php) MySQL seems to be running fine on it's box but I can't seem to connect to it. These are both ubuntu boxes and ...
0
votes
1answer
984 views

Stale Network connections to Tomcat AJP port

I have Tomcat Application server connected with Apache server using mod_jk connector. Both are running on different servers. Apache ----->------ Firewall ----->------ Tomcat For the last couple of ...
1
vote
1answer
380 views

Redirect all traffic from multiple interfaces to single IP

I would like to redirect all traffic (specifically TCP & UDP) from multiple WAN interfaces (ppp0, ppp1, ppp2) to a single IP from eth0. When it comes to interface to IP, I can use the PREROUTING ...
0
votes
1answer
157 views

IPsec transport mode and MTU

[Similar to Right way to set the MTU of an IPsec Client (Linux/Racoon), but different in that there is no router on the responder side] I have a setup where machines in a local network need to talk ...
0
votes
1answer
188 views

conflict in network interface configuration of CentOS 6.5

I am trying to create 2 network interfaces, one with DHCP and the other with static IP on a CentOS VM running on ESXi Server. Content of file ifcfg-eth0 is as follows: DEVICE=eth0 ONBOOT=yes ...
0
votes
2answers
79 views

Is it possible to configure carp using /etc/network/interfaces?

Lots of tutorials out there show to set-up carp using ifconfig: https://www.netbsd.org/docs/guide/en/chap-carp.html I'm wondering if it's possible to do the same using /etc/network/interfaces? For ...
2
votes
1answer
2k views

Using Firewall-cmd to create address specific restrictions in centos 7

How do I create a firewall rule using firewall-cmd tool (new firewalld) such that I will limit specific network to access only one service and allow all on all service in one zone. For example: I ...
-1
votes
1answer
46 views

How to check what application is requesting port? [duplicate]

Is it possible to check which application is requesting specific port in a debian server? I'm getting a ton of these in iptraf: x x UDP (77 bytes) from 172.16.0.2:25748 to 212.59.1.1:53 on eth0 ...
7
votes
2answers
8k views

Intermittently high ping times to router via Wi-Fi

On my local network there are (among others) 5 machines (running Debian Jessie or Arch) wirelessly connected to a Netgear WNDR4000 router. Below is a graph of the ping times to the router from each of ...
0
votes
2answers
101 views

Bind dont forward to secondary dns server as specified in “forwarders” under named.options.conf

I have bind9 setup to forward dns queries to machines connected localy trough the 192.168.1/24 network. The ip's that I forward the queries to are also my internet gateways. Sometimes one of the ...
1
vote
0answers
155 views

Route traffic for a specific IP through a specific interface

I'm setting up a server that tunnels all its traffic over an OpenVPN connection. The VPN connection is further tunnelled over obfsproxy hosted on the same machine. The problem is that as soon as the ...
2
votes
2answers
142 views

IPv6 Stateless Autoconfiguration route advertisements

In our network, we have a Cisco router acting as the core router, connecting all our sites to the main site. We also have a Linux firewall connecting us to the Internet. Site 1 --\ ...
5
votes
1answer
319 views

Load balancing network traffic using iptables

I am trying to load balance traffic from internal LAN on a linux router having two gateways. Initially I went for the iproute implementation which didnt balance the load as expected, reason being that ...
0
votes
0answers
60 views

Dropped TCP Packets over two-stage IKEv2 VPNs

Something of a weird setup this: There are two Virtual Private Clouds (10.100.240.0/20 = prod1 and 10.101.0.0/24 = control), which have a valid router between them. Control hosts a VPN that is meant ...
1
vote
0answers
64 views

Configuring openldap/PHP LDAP against “signed” LDAP connections with Active Directory

This may sound like a stupid question, and maybe it's already been answered, but I can't find a definitive answer anywhere, so I thought I'd ask. When someone enables "Domain controller: LDAP server ...
0
votes
1answer
113 views

nmap: why is it scanning port 80 with TCP ACK and not SYN?

While reading nmap man pages, I read for the -sn option: The default host discovery done with -sn consists of an ICMP echo request, TCP SYN to port 443, TCP ACK to port 80, and an ICMP timestamp ...
1
vote
2answers
208 views

SSH works locally but not remotely

Recently ran into a hardware issue on my CentOS machine. After a PSU, ram, mobo and CPU replacement I think I have the hardware issue resolved. However, I believe I have a network configuration ...
0
votes
1answer
133 views

Hosts cannot ping in two name spaces using Open Vswitch

I have two name spaces red and blue. Red is connected to host1, and blue is connected to host2, but these two hosts cannot ping each other. Here is the commands that I put: ip link add host1 type ...
0
votes
2answers
113 views

Port forward with iptables

I got lo (127.0.0.1) and eth0 (172.17.0.8). I want to redirect packets that land on 127.0.0.1:80 to 172.17.42.1:80 (route from eth0). I tried iptables -t nat -A OUTPUT -p tcp --dport 80 -d 127.0.0.1 ...
1
vote
2answers
888 views

Add a VLAN tag to specific UDP port traffic

I'm running an application in Ubuntu12.04 that I've written that does some remote switch management. I have only a single NIC connected to the network of managed switches, eth0 which is set with IPv4 ...
0
votes
0answers
85 views

OpenVPN Client recieves reply from Ping to Server but not from eth0 or non-server IP

I have been using OpenVPN succesfully with Layer2 bonding for over a year now. I have been experimenting with a more complicated setup on the local LAN using a ProxmoxVE hosting KVM VM as the server ...
0
votes
1answer
67 views

How to route an IP Whitelist to one VM and all other to a second VM on proxmox?

Is it possible on linux to have a whitelist of IP's that are allowed to reach a specific VM on the internal NAT? eg (public ip (proxmox) --> My VM for whitelisted IP's (192.168.0.1)), and if the ...
1
vote
1answer
210 views

Cannot Ping Devices Across Interfaces for Shorewall Single IP Three-interface Firewall on Debian Wheezy

Summary I am currently working on a three interface software firewall using Shorewall 4.5.5.3 on Debian Wheezy, and I'm having some difficulty with the loc (eth2) and dmz (eth1) interfaces. The fw ...
0
votes
1answer
162 views

why linux bridge shows 2 mac addresses for one qemu vm?

I am new to qemu networking and pretty confused about the following situation. I launched 5 VMs. Each connects to br0 through a tap device. I also have a dnsmasq listening on br0 for DHCP. The ...