Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
64 views

Kickstart install problems, ethernet configuration missing

Using CentOS 6.7 I've created a custom(and working) kickstart installation. Initially I had coded the configuration for eth0 in the kickstart file, but ideally I'd like the user to input it, but it ...
0
votes
1answer
27 views

IPV4 getting removed after restart CentOS machines

I have CentOS machines (both 6.x and 7.1) and whenever I reboot them, automatically IPV6 is assigned to them and IPV4 is lost. Any idea why it is happening and how to prevent it? I Could not ...
2
votes
1answer
38 views

How do you block a port on your loopback?

I am doing some testing and want to be able to test situations where my database goes down. Its running on the same box as my tests, and it appears that things like the following are not doing the ...
1
vote
1answer
61 views

How to install Debian with a network that uses WPA2-Enterprise MSCHAPv2 EAP-PEAP (username/password)?

I am currently trying to install Debian on a laptop and due to firmware incompatibility, I am using the non-free netinstaller which can be found here. I cp'd it onto a USB (not a partition) and booted ...
1
vote
1answer
42 views

How does FING (or any of the IP/MAC Address Mappers) work?

Per this comment, I am going to take advice and ask this as a separate question. I am trying to learn more about networking and security and want to play with tools to help increase my understanding. ...
4
votes
1answer
38 views

I am stuck connecting to the internet via a usb wifi stick

I am trying to set up a an internet connection through a usb wifi sticker in Linux. Here's the sequence I tried: iw dev This returns the name(?) of the Interface that I want to connect to: phy#0 ...
0
votes
1answer
39 views

ip tables by route command and iptables's table by iptables command, is the same?

There are two command : route, and iptables. Both of it have a/many tables: route tables and iptables's table. Does those two kind of tables describe the diffrent thing, or iptables can also be ...
0
votes
1answer
21 views

Connect VM from Internet

I'm new to Linux and I have created a RedHat6 VM using Oracle VirtualBox. For testing purpose, I have set it up so that I can connect to it from my local/host Windows machine (and those of my friends ...
1
vote
1answer
51 views

How to directly connect two machines over ethernet without static IPs?

Question: How can I set up two machines, so that when I directly connect them together with an ethernet cable, one machine can connect to the other? I'm looking for a solution that does not involve ...
4
votes
2answers
186 views

Understanding wpa_supplicant

TL;DR. I need help getting to the bottom of: why there are errors related to ioctl when using wext driver, why I'm not able to use nl80211 driver. When running wpa_supplicant I get weird errors ...
0
votes
0answers
45 views

linux red-hat 7.1 + increase the ring buffer

My target is to increase the ring buffer ( I have Linux red-hat 7.1 ) , but I get the following: ethtool -G eth1 rx 8192 Cannot set device ring parameters: Invalid argument so how to enable this ...
0
votes
0answers
15 views

Achieving UDP communication through two tuntap inerfaces

In my linux machine on to VMware workstation, I have two network cards (NIC's), named as eth0, eth1. Also, I want to create two tun(taps) interfaces. I want to achieve the udp datagrams to be sent ...
5
votes
1answer
64 views

Why doesn't rate limiting with trickle work with ruby?

I'm attempting to limit the bandwidth available to a running ruby process to prevent it flooding our link and affecting other traffic. The process is downloading large files over HTTP. I've found ...
0
votes
0answers
35 views

CJDNS `Network is unreachable`

I'm not shure if this question belongs here, but anyway. I was trying to run cjdns on my android phone (OnePlus One runnig CyanogenMod 13) (actually tried on several devices), but it ain't working. It ...
0
votes
0answers
13 views

Adding IP Blocklists to OSSEC

I've been reading through some documentations for OSSEC trying to learn some new tricks and such to make it more effective, and what I got really interested was looking into was seeing if it's ...
1
vote
0answers
41 views

Red Hat vNIC(Virtual NIC) association to physical NIC

I have a virtual network interface named bond0.700 connected to a vlan (ID 700), and 6 physical NIC (eth0 to 5) on RHEL 5.5. Hint : [root@rhle ~]$ cd /sys/devices/virtual/net [root@rhle net]$ ls ...
0
votes
1answer
47 views

KVM bridged interfaces not going up - inet, inet6 , bridge

I am setting up KVM host which will have multiple virtual machines visible from the outside with a similar /etc/network/interfaces config to this one # The loopback network interface auto lo iface ...
0
votes
1answer
63 views

How to run a script after OpenVPN initialization is completed?

Background: I want to check the speed of the various servers of my VPN provider and wrote a script which runs iperf3 for each of the servers. The script does not modify the networking setup in any ...
0
votes
0answers
18 views

Nast port scanner showing wrong results?

I'm trying to do a port scanner with nast. The command I'm using is: sudo nast -S. Later I have to introduce the IP and the port range 1-2000. The problem is that with some IPs it gives me a wrong ...
0
votes
1answer
22 views

KVM Networking Topology

I would like to set up a network on my Server where I run KVM as a hypervisor. The Network will be used for a distributed Jenkins setup. The goal topology is the following: One machine (Jenkins ...
3
votes
2answers
91 views

default netmask in Solaris

On a Solaris local zone, what is the default netmask? I have a blank /etc/netmasks file, but if I run ifconfig I can see that the netmask is set to ffffff00 . [username@servername]# ...
0
votes
1answer
75 views

CentOS “service network restart” FAILED - where is the error log?

In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors? service network restart
1
vote
0answers
16 views

Is there a tool or a command to change the “tagtype” from VLAN tags (single and double tag) before sending the frame over a VLAN Interface?

I have to talk to a device in a VLAN network. It requires that the tagtype field of both VLAN tags are the value 9100 or it refuses to answer. Thanks
1
vote
1answer
56 views

VMWare vSphere packet loss

I have a Dell Blade Enclosure with 14 blades and ESXi 5.5 on it. On blade 7 and 14 I have round about 65 % packet loss when I ping the ESXi Management interface. On all other blades there is no packet ...
2
votes
2answers
151 views

Meaning of “route add -host xxx.xxx.xxx.xxx dev eth0:1”

if the format is: route add -host 192.168.1.20 gw 10.1.1.20 dev eth0:1 I know, It will route 192.168.1.20 to 10.1.1.20 Then, what's the "dev eth0:1" mean?
0
votes
1answer
93 views

redirect to localhost using iptables

I'd like to redirect the outgoing traffic (whether coming from localhost or elsewhere, as the machine is a gateway) going from 192.168.0.2:80 to localhost:80. I've tried setting this rule in the nat ...
2
votes
2answers
70 views

ssh reverse tunnel with remote ip

From a server 192.168.0.1, I'd like to reach a server 192.168.0.2 on port 80. 192.168.0.2 can reach 192.168.0.1, but 192.168.0.1 can't reach 192.168.0.2 (firewall). I have set up a reverse proxy, by ...
0
votes
2answers
117 views

Monitor and limit internet bandwidth per network client

On a linux server with dhcpd that acts as the internet gateway for all clients of the LAN: how can I monitor the internet usage based on IP/MAC address, and deny internet access if a certain bandwidth ...
0
votes
0answers
38 views

iptables Dynamic SNAT, how to force to use different src ip from pool?

Requirement: I need to translate a private-ip range to a public-ip range while going out on the internet. It should be a one-one mapping, if public-ip range exhausts it should drop to the next nat ...
3
votes
2answers
43 views

Fedora Core 4 won't get an IPV4 address

I have a fedora core machine, and it is picking up an IPV6 address, but not an IPV4 address. I have done dhclient -r eth0 but the ipv4 address has not come. I have reset the port using ifconfig, but ...
-1
votes
2answers
61 views

No internet on Linux Mint 17

I have been using Mint 17 for the past 2 months now and it didn't show any problem in networking. Recently, however, when I connect to WiFi it works fine for a while, but when I leave the system idle ...
3
votes
0answers
77 views

Simulate a network cable unplugged without login all routes

I want to simulate unplugging a cable from a Linux instance. My initial response was ip link set eth0 down. However, this command has impact on higher-level networking functions, e.g. routes ...
1
vote
0answers
100 views

Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)

I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here. I run a server and I have 2 IPs at my ...
0
votes
1answer
33 views

How to switch generic routing to source routing?

I will need to do source routing and before going into more complicated setups I want to understand how this works by switching the generic routing (the one created magically by the networking setup) ...
0
votes
1answer
113 views

How to make Linux use the right driver (lshw)

I have an Edimax EW-7811Un wireless adapter which I am trying to get to work on my laptop which is running Debian 8.3.0 with LXDE. I have tried various things that I am going to describe below. But ...
0
votes
1answer
64 views

Screen/system hangs when using scp or rsync + ssh in local network

First, I noticed frequent hang ups with the mouse when using scp in local network. I checked RAM usage, but free -m showed me about 33% usage without buffers/caches. (I have 8G RAM.) The CPU usage was ...
0
votes
0answers
17 views

How can I set wvdial to not limit the speed for my 3G modem?

I'm setting up wvdial with my Huawei 303s-65 USB on the Konekt.io network. I can get it to connect using the nifty little set of commands found here: ...
0
votes
1answer
44 views

ServerAliveInterval and connection reset

If I run: sftp -oServerAliveInterval=10 server-2 Connection is established. But after increasing (decreasing) the value from 10 to 1: sftp -oServerAliveInterval=1 server-2 I am unable to ...
1
vote
0answers
35 views

Weird connection: wired and wireless

On my machine, I do have one internal wifi device. Also I had connected wired cable. I configured both of them to have ip from DHCP and both of them working fine. But, whenever I disable the wired ...
0
votes
0answers
41 views

How to configure internal network card to use with VmWare and Kali Linux?

I have heard that now it is not necessary to use an external wifi network card in order to use with kali linux over VM Ware, is it true ? So, How to configure my internal network card in Kali Linux on ...
1
vote
1answer
180 views

Network Manager error - “cannot send router solicitation”

I see this error occuring for network manager, but only after the laptop goes to sleep mode, and I come back to wake it up. NetworkManager[2040]: <error> [1456121915.287806] ...
0
votes
1answer
37 views

Why avahi-browse doesn't list my link-local address when coupled with a static configuration?

Given the following configuration: auto eth0 allow-hotplug eth0 iface eth0 inet static gateway 192.168.0.1 address 192.168.0.25 netmask 255.255.255.0 post-up ...
0
votes
2answers
174 views

Routing all traffic from eth0 to wlan0

I have a wifi access point that I'm connecting to through my Raspberry Pi on wlan0. I have a DHCP server setup on my Raspberry Pi to give out addresses on eth0. I have an old router setup attached to ...
0
votes
0answers
25 views

Auto-assign free static IP address from a range to a container (veth)?

In the config-file of an individual LXC container, one can specify a static IP address so the inside of the container does not need to acquire an IP by DHCP. Is there a way to automatically assign ...
0
votes
1answer
137 views

Does /proc/net/udp count all drops that occur between ethernet plug and my app?

/proc/net/udp on Linux has a "drops" column: cat /proc/net/udp sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops 16151: ...
3
votes
3answers
307 views

Blocking Websites by days and hours using Iptables in OpenWRT

I want to block Facebook the whole day with the exception of the night. I want to implement that in my Linux-based router OpenWRT. The archive I need to modify is /etc/firewall.user (or at least ...
1
vote
2answers
42 views

How much was uploaded in the last five minutes?

I do not need some kind of realtime visual status of my ethernet - I want to run my script when last five minutes I uploaded less than X. So I need to get only one number from some command. What can ...
1
vote
0answers
28 views

No internet connection after reboot

I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' ...
1
vote
0answers
129 views

Cannot connect via ssh to server with global IP address

I have the no-ip service running on my raspberry pi, it updates the DNS (no-ip) whenever there is a change to it's IP address. I have enabled port forwarding on my router (Asus rt-n66u) ports 22 ...
3
votes
1answer
58 views

How to update the gateway with nmcli

I'm using centos 7 and I setup a new connection with nmcli. I set the gateway but it doesnt seem it took. When I check the connection with nmcli con show conn-name the gateway is listed as: gw = ...