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
111 views

How can I measure the cumulative network usage of a process, from execution beginning to end

I want to measure how much bandwidth git pull uses, preferably by prefixing git command with desired program, i.e. nettally git pull Alternatively, is there some sneaky way to accumulate nethogs / ...
1
vote
1answer
312 views

Mirror network packets from WiFi to Ethernet in an ASUS Router RT N53

I have an ASUS RT N53 router, running the default firmware (Linux 2.6.22 with busybox and uclibc). I need to capture data packets from some Wi-Fi devices I have connected to that router (iPad and some ...
0
votes
0answers
221 views

bonding module parameters are not shown in /sys/module/bonding/parameters/

I have a server with Suse 11 sp1 kernel 2.6.32.54-0.3-default, with modinfo bonding i see all parameters, but under /sys/module/bonding/parameters/ not modinfo bonding | grep ^parm parm: ...
0
votes
1answer
54 views

Only one server behind a switch cannot access the internet and vice versa

I have multiple servers deployed behind a single switch. All the servers have their own public IP addresses. Suddenly one of them (say A) cannot be accessed from the outside by any means, e.g. HTTP, ...
0
votes
1answer
83 views

Private DHCP through a switch using two eth interfaces?

Right now, I have an Scientific Linux blade connected to the internet on eth3, and connected to a 48 port Cisco switch on eth2. This Cisco switch is connected to the eth2 of 24 blank blades (which are ...
3
votes
1answer
4k views

VLAN tags not shown in packet capture (Linux) via tcpdump

I am adding a tagged VLAN onto eth0: #ip link add link eth0 name eth0.20 type vlan id 20 This results in: #ip link 2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc ...
3
votes
2answers
104 views

How to disable/delete network manager

I'm on CentOS 6.4 64 bit in rescue mode and network manager keeps overwriting my resolv.conf and the command chkconfig is "unknown" so how do I disable/delete network manager?
-2
votes
1answer
81 views

Sync EC2 instances [on hold]

I know many people have asked how to sync multiple ec2 instances and it seems the usual answer is to store all the assets in S3. Would this still make sense if the only thing I am trying to share ...
0
votes
1answer
539 views

Network aliases on boot on Fedora 17

We have a fedora server(Fedora release 17 (Beefy Miracle)) with a few aliases on the main NIC that don't get setup during boot. Here's my config: # cat /etc/sysconfig/network-scripts/ifcfg-em1* ...
-3
votes
1answer
50 views

iptables allow A -> B:22 , B -> everywhere:22

I want iptables rules that let a server allow incoming ssh from a specific host and at the same time this server can connect ssh on any destination, then block any other in/out traffic Thanks in ...
1
vote
1answer
231 views

how to configure static ipv6 and additional ipv6 with same vlan?

I'm having trouble with configuration static ipv6 address and additonal ipv6 on same interface(eth4). static ipv6 configuraiton issue firstly, I configure below vi /etc/network/interfaces auto ...
-1
votes
2answers
113 views

Monitor port status in Linux [closed]

I want to monitor the list of used ports in linux system. I want to make a script that can run an alert when a new port is up or down. For example when the port 8080 is up , i get an alert: this port ...
0
votes
0answers
471 views

Transparently redirecting http traffic to local proxy in bridge mode

Router - LinuxBridge - Backbone -- 10.0.0.0/8 , 10.20.0.0/16 test net | | |(eth1) --------> Management Interface 10.101.101.10 # brctl ...
-3
votes
2answers
71 views

Centos Server Crashed and wiped everything after network restart

Using Centos 6, I modified the hosts and network file, restarted and everything has been down. Here are the steps. modified /etc/hosts to update the ip from what my dedicated server seller originally ...
0
votes
2answers
93 views

Linux VM's connectivity dies when second network interface is brought up

I'm in the middle of doing some testing on a mobile device, and want to test it from the network. The mobile device will only connect to networks via WiFi, and doesn't support ad-hoc mode, so I've set ...
2
votes
1answer
56 views

Linux: Is it possible to assign an IP that is on another server and network? [closed]

I have two linux servers in two different datacenters with the following IPs: Server1: 4.4.4.4 Server2: 8.8.8.8 and 8.8.8.9 I need to route all traffic from 8.8.8.9 (Server2) to 4.4.4.4 (Server1) ...
0
votes
2answers
98 views

How can I assign specific IP addresses to wireless clients based on criteria (mac address, etc.) for a mobile device/phone?

I want to assign a special (based on its MAC-address or speed of mobile device) IP addresses to each incoming mobile device/phone when it enter the range of my access-point (AP). I am not sure whether ...
0
votes
2answers
90 views

how to count bandwidth for external ip who exhausting my vps

i have some troubles with determining how or who exhausting my clients vps bandwidth i left iftop open and listen on all interfaces for port 3306 and total bandwidth is like 10g/day to mysql remote ...
0
votes
0answers
58 views

Trying to restore images via clonezilla

I'm trying to restore an image to a computer on a local area network. I setup drbl via the drblsrv -i and drblpush -i commands, and pretty much left all those options to default (except for number of ...
0
votes
1answer
187 views

Setting the default network interface

My /etc/network/interfaces looks like this: auto lo iface lo inet loopback auto eth1 iface eth1 inet static address 10.0.0.99 netmask 255.255.255.0 gateway 10.0.0.1 auto eth0 ...
0
votes
1answer
79 views

DNS resolution lost when starting sub-interface

I am starting a sub-interface off of my existing eth0, and its supposed to be an instant thing, so I'm trying to avoid using a config file. When I issue: ifconfig eth0:1 192.168.0.2 up The ...
0
votes
1answer
2k views

Sub-interface already in use on another host - brand new interface

I created a sub-interface on a RHEL box, eth0:1, and copied the eth0 config and changed all the settings to reflect eth0:1 and the IP address. However, when I issue ifup eth0:1 I receive this error: ...
3
votes
2answers
552 views

Properly setting ifcfg-eth0

cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" BOOTPROTO="none" HWADDR="00:0C:29:02:8C:1A" ONBOOT="yes" GATEWAY="192.168.2.1" NETMASK="255.255.255.0" IPADDR="192.168.2.4" TYPE="Ethernet" ...
0
votes
1answer
32 views

Forwarding local network interface on my server through NAT

I have 3 interfaces on my server, first is used for the local network, second and third are internet connections (each has its own ip routing table). How can i force server daemons and command ...
0
votes
1answer
55 views

Masquerading a Webserver [closed]

I was trying to gain access to a piece of obsolete network hardware by intercepting into the configuration information that it is downloading from a remote server(with a public IP - This server exists ...
0
votes
1answer
95 views

Linux Firewall & sharing files between computers in different subnets connected to single switch

EDIT : I've edited the question & the title to bring more clarity hoping that someone will be able to point me in the right direction. ************************* * Internet ...
3
votes
1answer
166 views

What's the expected behaviour of multiple hostname entries with different IP addresses in /etc/hosts?

I know this has been discussed in several places, but there doesn't seem to be a definitive answer yet - at least not for RHEL 6. I'm just hoping someone might be able to point to how it's working so ...
2
votes
1answer
328 views

iptables: why only OUTPUT rules are needed for samba clients?

I tried the following iptables rules for samba client and they worked. Please note that policy for INPUT, OUTPUT and FORWARD were all set to DROP iptables -A OUTPUT -m state --state NEW,ESTABLISHED ...
-1
votes
1answer
40 views

GRE tunnel / Route traffic based on which domain the user is trying to access

Imagine this kind of setup. 5 servers. 1 server will be the "front-end", all the traffic has to go through it first before going to the 4 other servers. I don't want people to know the IPs of the ...
3
votes
0answers
387 views

Limiting bandwidth with hashlimit (e.g. kb/s — not connections!) doesn't work, though the man page says it should

According to the iptables-extensions man page hashlimit can do bandwidth limiting: "flows exceeding 512kbyte/s" => --hashlimit-mode srcip,dstip,srcport,dstport --hashlimit-above 512kb/s ...
1
vote
0answers
81 views

Linux as gateway with VLANs failing for local network

We have a private VLAN being routed out from a host connected both to it and to our public network. Hosts on the private VLAN have the private IP address of the gateway host (10.2.2.82) set as their ...
1
vote
0answers
51 views

what is PAT exactly?

In attempt to understand PAT, I've setup the following setup where I have a Linux Router that masquerades from in internal interface to the external. Thus both clients are able to talk to outside ...
3
votes
2answers
130 views

How to detect a dead ISP in a multihomed Linux router and route traffic through alternate ISP?

I am currently using a Linux box (CentOS 5.9) as my router. The router is multihomed and uses two ISP to connect to the internet. Internet traffic from the LAN is distributed through both the lines. ...
0
votes
0answers
49 views

Linux + OpenVPN + SNAT + Failure on client grab the reply to it's own generated traffic

Ok, I'm really desesperate I need to release an openvpn deploy to get rid of a dying server. On the subject: I installed OpenVPN with a routed interface (tun0) into a server with a public IP + 3 ...
0
votes
2answers
24 views

use-either-port multiple interfaces between three nodes

I have a network of three computers, each of which has two ports. I do not have a network switch (the three ports are 10GbE and the switches are prohibitively expensive for now). I would like to ...
0
votes
2answers
86 views

How can I get a 2nd IP adress from a DHCP-server

If i use static IP adresses i can use more then one per network card, for exemple i can set eth0 to use 192.168.0.1 and eth0:1 to use 192.168.1.1. And if eth1 get a ip-adress over dhcp, can i somehow ...
-1
votes
2answers
187 views

Does this iptables output mean all traffic is allowed?

I am having problems running a program from a client to my RHEL box that uses a non-standard port and I am trying to track down where the communication problem is occurring. I'm starting at the ...
1
vote
1answer
742 views

how to make bridge networking with KVM work in Fedora19

I'm attempting to get several virtual machines setup on a Fedora-19 host system, with the traditional bridge network devices (br0, br1, etc). I've done this many times before with older versions of ...
2
votes
3answers
146 views

how to configure two ip blocks for use on a network

My ISP has given me a /30 and a /27 ip block I can use. for the sake of not giving out my ips I'll use 192.168.1.192/30 and 192.169.1.224/27. I'm not using a router in my setup, I only have a switch. ...
1
vote
0answers
84 views

Connect two servers with OpenVPN

guys, I need a consulting. I need to connect two servers which are located at another places geographically. One of servers is at LeaseWeb, and another is at our office in Moscow. I'm using OpenVPN ...
5
votes
1answer
2k views

Too many TCP connections causes disconnections

I have a game server which runs with TCP connections. Server disconnects users randomly. I think its related with TCP settings of server. In local development environment written code can handle ...
-1
votes
1answer
337 views

I can't access my computer through specific port

On Fedora 18 I tried to access port 1521, so I opened the following port on my firewall: $ sudo iptables -I INPUT -i eth0 -p tcp -m tcp --dport 1521 -j ACCEPT $ sudo service iptables save and $ ...
1
vote
1answer
538 views

Infiniband port status UP but can't open UMAD port ((null):0)

My system has 2 infiniband devices, one of which has both the ports up. $> ibstatus Infiniband device 'mlx4_0' port 1 status: default gid: fe80:0000:0000:0000:0002:c903:000f:0a9f ...
2
votes
2answers
207 views

Redundant Iptables Routers - secondary router logging martian packet errors

We have a network mostly set up with a redundant pair of Linux Iptables firewalls/routers, but we're missing a crucial piece of the puzzle. Any local traffic destined to the secondary router succeeds ...
0
votes
2answers
336 views

How to set a custom route source in openvpn

I have a simple openvpn configuration. remote 1.2.3.4 dev tun ifconfig 10.74.1.13 10.75.2.1 secret static.key route 10.75.0.0 255.255.0.0 keepalive 10 60 When the link come up, the routing table is ...
3
votes
1answer
479 views

Debian 7 how are IPv6 link local addresses set?

It seems like when dhclient runs on eth0 I get an IPv4 address from the DHCP server and a Scope:Link IPv6 address attached to eth0: inet6 addr: fe80::a00:27ff:fed0:4d41/64 Scope:Link But I can't ...
1
vote
1answer
366 views

Check nginx active connection without HttpStubStatusModule

We want to check the number of active connections without the module HttpStubStatusModule being installed. What would be the equivalent Linux command? As a base line, we test on a machine with ...
4
votes
1answer
94 views

N times per day we exhibit 10% loss for indefinite minutes, sometimes hours

We are managing like 350 servers, in couple of different cabinets. Sometimes for a certain period of time we lost 10% of pings and session drops with a whole cabin. It is obivous that there is no ...
0
votes
1answer
312 views

Linux network interface broadcast statistics

I am looking for a way to see the number of Ethernet broadcast frames transmit/received by the network interfaces. I am familiar with many Linux commands,procs and options to get interface statistics ...
-2
votes
2answers
188 views

Expose Azure linux vm to private network [closed]

I have a VM running linux in Microsoft Azure cloud, The VM is under Azure Virtual network and has a private IP and a public IP I wish to open all the ports (disable the firewall) for the VM only in ...