0
votes
0answers
13 views

net cat client server model

netcat is used for making client server model and makes them chat . that's fine what it want is to format the chat as follow nickname@hostname:message what I thought about is to make a daemon it ...
0
votes
0answers
17 views

I'm trying to create a public TLD using BIND

I'm using these two guides: jackal777.wordpress.com/2013/11/19/custom-tld-for-local-network/ timg.ws/2008/07/31/how-to-run-your-own-top-level-domain/ When I run dig sokolovskaya.ssu, it looks ...
0
votes
0answers
25 views

Routing incoming source IP traffic to a loopback IP issue

I'm wanting to accomplish the following: I have a BIND DNS server setup where it is listening on ANY address and also listening in a BIND config ACL on 127.0.1.1. If there is another way where you ...
0
votes
1answer
18 views

sMail server cannot get connect by Linux frequently

I have a mail server A build by iredmail on Centos6.5 system. The mail server have a public ip aaa. There are about 40~50 mail clients which operating system is windows in local network, they all ...
1
vote
1answer
21 views

Is there an /etc/network/interfaces option like wireless-ap except for a wpa-ssid/wpa-psk connection?

In /etc/network/interfaces (on Debian Linux 7.6 with wpa_supplicant), wireless-ap forces a specific access point for wireless-essid connections. Is there an equivalent option for wpa-ssid/wpa-psk ...
0
votes
0answers
31 views

How to configure teaming in RHEL 7?

I've used RedHat documentation to configure LACP on my server. Now I see "Connecting" on the Team just created: why "team0" is mentioned twice in the list? Why is it "Connecting", not "Connected? ...
0
votes
0answers
8 views

A question in ip_append_data [migrated]

I am confused with ip_append_data in linux network protocol stack when I see those codes: if (!(rt->u.dst.dev->features&NETIF_F_SG)) { unsigned int off; off = ...
1
vote
4answers
108 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
1
vote
1answer
30 views

Cacti/rrdtool error -> Poller[0] ERROR: SQL Row Failed!, Error:'1033'

I have cacti working flawlessly on a centos 7.0 machine but I need it working on a centos 6.3 machine. I download the same version of cacti as what is on the 7.0 and I installed rrdtool from yum. ...
1
vote
2answers
74 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
2
votes
0answers
27 views

Send/Receive bandwidth monitor per application?

I'm looking for a tool that can monitor my system and create some summary how many data was sent or received by each application/process. Is something like this? I found nethogs but he shows only real ...
-1
votes
0answers
19 views

iptables forward too many interface

Can I build a FORWARD rule which gives both an in/out and SRC/DST IP host? I need to create a rule that does the following: PC -> switch (non-mgmt) -> Linux Router (VLAN) -> world: block ICMP $ ...
1
vote
1answer
25 views

KVM bridge network requirement

I am following the following guide on installing my first KVM HV. http://wiki.centos.org/HowTos/KVM I thing I do not understand is the bit about bridge network setup. It states its optional, but what ...
0
votes
1answer
50 views

linux namespace, How to connect internet in network namespace?

I want to test linux network namespace. The current problem is I cannot connect internet in the namespace here is my commands: 1 Create network namespace netns1, create a pair of veths (A and B) ...
1
vote
1answer
57 views

How to set static IPv6 IP address to embedded Linux board using ifconfig (busybox)?

We want to set static IPv6 IP to custom embedded Linux board. So far we could enable IPv6 in Linux kernel and Busybox. We could test that kernel is IPv6 ready. We tried to configure a static IP using ...
1
vote
0answers
32 views

How do I write the rule that has an edge server forward a clients request to an internal network server and back?

I have a network situation as follows: -server1:1.1.1.1 -server2:2.2.2.2 -tunnel 10.8.0.0/24 -client: 3.3.3.3 I'm trying to have client IP 3.3.3.3 do an HTTP request from the 1.1.1.1 server. ...
1
vote
3answers
69 views

Server running on guest Linux VM will not accept connections from Windows host

I have a simple echo server program running on CentOS 7. If I run both the client and the server in the VM, I can connect to the server. I'm using VirtualBox with the "bridged" network configuration. ...
0
votes
1answer
59 views

NAS set-up issue with NFS protocol in linux Mint

I have a Synology NAS that I'm trying to map in my Linux machine as if its like a regular HDD drive. I have looked all over the internet without being able to figure out how this thing works. I have ...
1
vote
2answers
104 views

Drop TCP packets and prevent TCP retransmission

I have an application that sends TCP data to a server. My server is made to intentionally drop the packets sent by the application, and as a result the client retransmits the packets. I need to ...
2
votes
1answer
64 views

How is the content of configuration files parsed on different Linux distributions?

Different Linux distributions store the same configuration parameters in different files. For example IPv4 address in Debian Wheezy is stored in /etc/network/interfaces file while in Fedora 20 it is ...
1
vote
1answer
74 views

Why IP address for Linux Bridge which is layer 2 virtual device?

Shouldn't bridge (or a switch) be working without having an IP address? I believe I can have a bridge br0 setup with eth0 and eth1 as members both having no IP addresses. I can't understand why an ...
1
vote
0answers
117 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
1
vote
2answers
102 views

How to troubleshooting failing ping to router on a linux box?

I have a home network 192.168.0.x from which I am posting this message, on this network I have a CentOS7 host 192.168.0.3 which is running a DNS server for the network. I can ssh into 192.168.0.3 I ...
2
votes
1answer
16 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
1
vote
1answer
61 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
1
vote
1answer
46 views

Unable to access an http sevice forwarded using ssh

I forwarded a port from a remote server (which has Tomcat running on it) to a local port on my machine. Say, if the remote server address is http://myremoteserver.com:8080, I forwarded the port to ...
1
vote
3answers
93 views

Network statistics on linux

I am trying to write a small script to gather network statistics on my Linux system. Is there any way I can do this? What I'm after is live stats on current network throughput. I have done some ...
0
votes
0answers
41 views

How can I use 0.0.0.0/0 in ipset hash:net,port?

Right now, if I do ipset a ansible_allowed 0.0.0.0/0,tcp:22 I get ipset v6.19: The value of the CIDR parameter of the IP address is invalid and instead I have to add 0.0.0.0/1,tcp:22 ...
0
votes
1answer
32 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
2
votes
1answer
3k views

Fedora 20: Failed to start LSB: Bring up/down networking

I'm trying to restart my networking service in Fedora 20, and I get the following error: [dev@localhost das]$ sudo service network restart [sudo] password for dev: Restarting network (via ...
2
votes
0answers
31 views

How to set up networking on a per-user basis?

I would like to set up access to corporate VPN for just my user account on my computer; not for the other accounts and certainly not for the guest user. To achieve this, I presume, I need to ...
0
votes
2answers
170 views

Debian VLAN (8021q) Configuration doesn't work

I try to setup VLANs on a virtual Debian machine. It's connected to an Cisco 2960 Switch. The Switch has 3 VLANs (1,100,200) which're allowed the pass the trunk. The Switch Configurations was tested ...
1
vote
1answer
50 views

Naming PPP interfaces

I have two PPP peers, dsl-line1 and dsl-line2 which are configured with pppd on Ubuntu (Server) Linux. They are brought up by the /etc/network/interfaces file with the auto thingy however each PPP ...
4
votes
1answer
2k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
0
votes
0answers
61 views

Cannot connect to wired ethernet after hibernate

When I am at home I use wired connection on my laptop and it works fine. Then I put it to hibernate with sudo pm-hibernate and start it up again when I am work. I am not able to connect to internet ...
2
votes
1answer
45 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
-1
votes
1answer
76 views

How to control network bandwidth using Linux [closed]

Currently my Internet is really slow. But I want to allocate all resources to a browser that is loading a movie. How do I do that?
2
votes
0answers
35 views

Last data traffic time for a TCP socket

Is it possible, to find out when was the last time there was any traffic on an opened TCP socket? Keepalive and timeout timers are based on this statistic, so I guess it has to be stored somewhere. ...
4
votes
2answers
118 views

Preprocess packets send to/from interface

Is it somehow possible to intercept packet data just before it reaches an interface, and just after it is received? E.g. preprocess it and send it back on its way? I wanted to create a custom ...
3
votes
1answer
101 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
1
vote
1answer
124 views

masscan. how to configure Linux?

I've set this in my sysctl.conf: net.netfilter.nf_conntrack_max=268435456 Because, this border 16,777,216 achieved very quick. Also, I've decrease timeouts: net.ipv4.tcp_fin_timeout = 30 ...
2
votes
1answer
269 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
0
votes
0answers
20 views

lost packets using traceroute

using mytraceroute I see 50% of ICMP echo request lost: 192.168.1.212 is internal server while 192.168.5.1 is my router: Host Loss% Snt Last Avg ...
1
vote
2answers
889 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
3
votes
3answers
67 views

linux interface to get connected IPs

Is there an interface to get the currently connected IPs and their state in Linux? I am aware of ss and netstat, but I want to use /proc/ or some other "official" kernel interface that already has ...
1
vote
1answer
60 views

LVS is not accessible from the outside

I'm currently busy setting up a LVS - Linux Virtual Server: root@debian1:~# ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port ...
2
votes
0answers
159 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 ...
1
vote
0answers
55 views

Setting up traffic for GRE Tunnel

I want to set up clients that are behind NAT with a public IP but allow them to have one or more public IP's on their device. The idea is to have a linux box with either 1 or two network cards. Lets ...
1
vote
1answer
48 views

DHCP Problems Virtualbox

I have some minor issues with Ubuntu server on a virtual machine and even though I have some assumptions as to what actually happens, I'd like to ask all of you about your opinion. Here's the deal: I ...