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
0answers
7 views

Transparent Bridging of Internal Network in KVM

I am deploying a following topology of virtual Honeynet in KVM.Topology of Honeynet I have two network interfaces eth0 and eth1 ony my System. Problem I am facing is to implement transparent bridge ...
-3
votes
1answer
37 views

If a server is headless (CentOS 7) is there a way to make the GPU used as an extra CPU core?

I've got a server with centOS that has no graphical interface. I only connect to it via ssh. As a result, the GPU is probably not used for much. I'd like to make the server use it as an extra CPU ...
0
votes
2answers
30 views

how to execute a script Rhel 7 at booting time?

I am trying to execute a shell script on RHEL7.1 when the machine starts. As in ubuntu, Upstart scripts (in /etc/init/) are used to execute any scripts or to start any services at boot time, is there ...
0
votes
0answers
9 views

Proxmox: Add IPs from different subnets to LXC-container

I am using proxmox 4.1. If I add IP-addresses to my CentOS-7-LXC I can only do that if this IP is from the same subnet. If I'm using another subnet with another gateway the container is not pingable ...
0
votes
0answers
21 views

IPv6 interface not responding to neighbor solicitations, DHCP involved too

ip addr shows: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 02:6d:5e:86:29:49 brd ff:ff:ff:ff:ff:ff inet ...
0
votes
0answers
12 views

Debian iptables load fail

I Have Debian 8 Jessie and I have installed iptables, but it's not correctly. I can add rule just like: iptables -A OUTPUT -s 212.50.128.0/19 -j DROP but it's not working. iptables -L command works ...
0
votes
0answers
10 views

Hostapd connected but without an internet connection

I am able to connect my Android device to my Linux Mint Server, however, I can only browse my server's websites and not those over the internet. My server has internet access via eth0 without any ...
1
vote
2answers
50 views

why Ethernet MTU size is 1500? [on hold]

Can somebody explain that why the Ethernet Maximum Transmission Unit was chosen to be 1500 bytes (why exactly 1500) ? It might have some historical reason.
0
votes
4answers
55 views

How do I find out linux gateway IP address?

I have CentOS 6.7 with two Internet connections eth0 - dynamic IP address and dynamic gateway via DHCP (controlled by NetworkManager) ppp0 - dynamic IP address and dynamic gateway (configured with ...
0
votes
1answer
18 views

Setting default gateway on CentOS 7 and showing it using route and netstat -r

I am following a tutorial found here on how to setup a gateway for each adapter and also a default gateway: http://linux-training.be/sysadmin/ch22.html But when I run the commands $ route and $ ...
1
vote
0answers
9 views

How to ensure via shorewall that the network is closed at boot time?

I use Shorewall (on Ubuntu 16.04) and would like to ensure that between the start of the boot process and the moment iptables rules are applied the network is in a closed state. There provision for ...
0
votes
1answer
7 views

Iperf3 keeps hanging when running UDP test

I wrote a Python program that runs iperf3 in a for loop with different datagram sizes. I am using Python's subprocess.call function to run iperf3 like this: iperf3 -u -c 185.82.21.60 -b 100M -t 5 -l ...
0
votes
0answers
14 views

all outgoing tcp packets have source port 0.0.0.0 [closed]

currently i am connected to a network 169.254.x.x (a Hostel's Network) and there are three gateways. 169.254.10.1 169.254.20.1 169.254.30.1 above three works as dhcp servers as well. from a windows ...
1
vote
1answer
22 views

How to redirect traffic through IPv6 IPSec (strongswan) gateway?

I'm trying to set up IPSec secured connection to the gateway. Have three hosts: A: eth1 - fec0:1::1/64 B: eth1 - fec0:1::2/64 eth2 - fec0:2::2/64 which is gateway between A and C; forwarding is set ...
0
votes
1answer
14 views

ksoftirqd/0 hit ~100% cpu usage led network lag

I run an app on CentOS6(e5-2667v2 x2 with 128GB RAM, 1000M network interface), When network load up to ~300Mbit/s, the ksoftirqd/0 process hit ~100% cpu usage, and begin loss packet. How can I do?
0
votes
0answers
13 views

switch not giving desired dhcp leases [closed]

Our college has one router. a switch at each hostel floor. now if this router is disconnected from the switch then switch assigns IP addresses in the range of 192.168.x.x but if the router is ...
-2
votes
0answers
11 views

Dlink dir 620 strange behaviour [closed]

I have replaced Dlink dir 300 with Dlink dir 620. In dir 300 I had the enabled config of port forwarding to the local raspbery pi, on port 80, and had connected internet domain name. Now I haven't ...
0
votes
1answer
39 views

Running LAN services on a router/firewall

So I work in a company where we have a linux machine acting as a router/firewall, and I like all the control you get in this kind of setup compared to having a consumer grade router that ISPs usually ...
2
votes
1answer
39 views

openSUSE installs and VMs constantly being hacked and bricked

Sorry if this is a total newbie question, but I'm doing frontend design work for a radical political organisation and ALL my installations of Linux, be they openSUSE, Ubuntu or Fedora keep getting ...
1
vote
1answer
23 views

Disable eth0 on boot, but allow to turn back on

We are setting up an offline/offsite backup server. The purpose is to have it offline and uncontactable from anything. Then, once the cron starts the backup process it will enable the network, backup ...
0
votes
0answers
22 views

Hostapd with ACS not working due to not collecting survey data

I'm trying to use hostapd in version 2.5 with ACS. In order to do that, I have used the following config file: interface=wlp2s0 driver=nl80211 ssid=ap-example hw_mode=g channel=acs_survey ...
3
votes
1answer
19 views

Segmentation fault when running nuttcp inside Docker

I am measuring the UDP throughput between two Docker containers that are connected by Docker's native overlay network. I already used iperf but also want to measure the throughput with nuttcp. But ...
0
votes
0answers
11 views

Quagga OSPF not updating

TL;DR: routing daemon not updating tables. Help! Consider two different Linux vm's configured for routing, R1 and R2, which are directly connected on 10.0.0.0/24. Each has other networks on their ...
0
votes
0answers
34 views

Route all the trafic using iptables nat in linux

I'd like to route all the trafic through iptables NAT in linux, I'd like to route all the traffic through TOR. My script is accepting only TCP and UDP protocols, but I need to route all the protocols ...
0
votes
1answer
92 views

no network in nspawn container

I'm having an issue with networking in a systemd nspawn container. I have enabled the -n / --network-veth option in the systemd-nspawn command. This has worked a few hours ago (I know that because I ...
2
votes
0answers
49 views

VRF on Linux using network namespaces

My ultimate goal is to implement Virtual Routing and Forwarding (VRF) in Linux. The method that seems to be most widely accepted is to set up different network name spaces (one for each separate ...
3
votes
0answers
23 views

Right way of measuring overlay network performance

I am currently examining the performance (especially UDP throughput) of different Docker overlay networks. I do this by creating point-to-point connections between two hosts that are connected with a ...
0
votes
2answers
34 views

KVM - Access from an external computer to the Virtual Machine

I have the following setup: Notebook (IP: 192.168.1.100) Host: (IP:192.168.1.129) Both Notebook and Host are connected to a router (Internet IP:192.168.1.1)¨ The host (Host) has two virtual ...
0
votes
1answer
34 views

How to forward a port from guest to host in qemu (kvm)

Is it possible, and how, to forward a port from guest to host in qemu/kvm? Note do I mean (out of) from guest to host, and not from host into guest (that's widely documented). I think I'm looking ...
1
vote
1answer
106 views

How would I get this routing to work between the two subnets? Unsure if i am over-complicating my network

I am attempting to operate 2 subnets, the first subnet on range 192.168.0.0/24 is free to access anything it wants, including machines on the second subnet. the second subnet on range 10.0.0.0/24 is ...
0
votes
1answer
27 views

Bridging of Internal Network in KVM

I am working on a project regarding deployment of VMs as internal network, which should be accessible from external LAN, in KVM. I am stuck in bridging these virtual machines. My setup consists of ...
0
votes
0answers
13 views

Airodump-ng Not Showing Anything

I am using Kali Linux to test some adapters. First of all, I don't know why, but I have a wlan0 and wlan1. I have tried both of them and I still have the same problem. So far I can issue the command: ...
0
votes
1answer
10 views

Trouble routing between interfaces on KVM host

Summary: VMs on host in different subnets can reach each other, but VM on subnet B cannot contact host's interface on subnet A. I am not sure if this is a product of my lab setup and firewall rules, ...
1
vote
0answers
13 views

what makes RPS different from IRQ balance

i was reading about RPS[Recieve Packet Steering] and how it makes Packets distributed on different cpus. I believe IRQbalance also does the same thing by distributing interrupts on different cpu. ...
2
votes
1answer
31 views

IPTables Configuration to allow all connections, only close/deny once data is sent

I'm looking to set up my IPTables firewall in such a way that: Any new connect() is accepted Once data is received: If the destination port is on a whitelist, continue allowing the connection and ...
1
vote
2answers
97 views

How to setup a netem box

I'm trying to simulate different network condition based on factors such as latency, bandwidth and so on. I found that Netem is the best way to simulate different network condition. So my desired ...
1
vote
1answer
43 views

Can Linux be made to honour IPv6 Route Advertisement preferences?

Bottom Line Up Front: I can't get a Linux box receiving RAs to use the RFC4191 "Default Router Preference" value to prefer higher-priority routes. Instead, whichever default route it learnt first is ...
0
votes
1answer
22 views

CentOS: How to create a default route after server starts

I'm using CentOS 6.7 on Proxmox KVM. Now I would like to get my network-connection working. This is my config: Now I have to perform ip route add 89.xxx.xxx.1 dev eth0 and ip route add ...
0
votes
1answer
22 views

Unable to access Node Server from external network

I have a VM with two public IPs. I have installed OpenStack controller node on the VM. I have access from the external network to Horizon and Keystone service running on apache2 web server on ports 80 ...
0
votes
0answers
11 views

Capture no-modified packet with iptables

I have a user-space program in which I process packets. I send them there with help of iptables. The problem is that I capture not original packet but modified. I have wlan0 interface up with access ...
0
votes
1answer
62 views

PFSense IPSec and NAT

Due to bad design and hosting provider constraints I have a network where I don't control the router. Our network: 172.16.0.0/12 - LAN x.x.x.0/24 - WAN (Router is connected to the switches, we have ...
0
votes
1answer
104 views

CentOS port forward

I have the following situation: Internet ----- Server ------- virtual machine (kvm) public ip 192.168.122.12 x.x.x.x I need to make service on the port 3333 ...
1
vote
0answers
21 views

keep ossec iptables rules after restarting OSSEC

I have 6 OSSEC installations (5 agents + 1 server, all Debian 8) all configured to block repeated offenders using iptables from 10 minutes to 1 month. I have the need to restart one or more of the ...
0
votes
0answers
24 views

OpenVPN connect to OpenVPN client network

OpenVPN Server Ubuntu 14.04 In Digital Ocean (Public and Private interface) OpenVPN client Ubuntu 14.04 I can't SSH from Server to client via VPN connection. Ping works fine. Tunnel is up. Followed ...
0
votes
1answer
22 views

Change name of the internet network service on CentOS

If I try nmap to my server (CentOS 7), I get something like this: $ nmap myserver.com Nmap scan report for myserver.com (1.2.3.4) Host is up (0.93s latency). Not shown: 998 filtered ports PORT ...
0
votes
0answers
32 views

What is the difference between arp_ignore and arp_filter?

What is the exact difference between the arp_ignore flag and the arp_filter flag defined in syctl.conf in Linux? Both seems to serve the same purpose.
-1
votes
1answer
32 views

How are IP packets routed from LAN to WAN? [closed]

I have OpenWRT set up on a router, with a wireless client connected on the LAN, and connected to another network on the WAN. wlan1 is bridged on the br-lan interface, and typically forwards to the LAN ...
1
vote
0answers
28 views

Which virtual/software switches support meter table (QoS) in OpenFlow v1.3 [closed]

Does anybody know which virtual/software switches support OpenFlow v1.3 meter table QoS feature?
3
votes
1answer
47 views

fallback route to drop packets if output interface that is NATed to goes down?

Background: I establish a connection to a 3rd party VPN and NAT packets marked as part of a particular cgroup (in order to selectively run processes through the VPN or not) to the 3rd party's VPN tun ...
0
votes
0answers
6 views

How can I drop packets in SnabbSwitch on the same interface

Can I have the following setup using SnabbSwitch ? https://github.com/SnabbCo/snabbswitch traffic packets -> eth0 -> SnabbSwitch (eg...drop half of packets) -> eth0 -> binded software (nginx, ...