Managing and using network connectivity on a unix system
2
votes
1answer
11 views
mechanism of IP alias
I am a Linux admin beginner and knew that Linux can do so called ip alias today for the first time.
My question: How can one NIC have two IPs at the same time? IP addresses must be identified by MAC ...
0
votes
0answers
8 views
Internet connection through ethernet [on hold]
My computer was successfully connected to the Internet through Ethernet (Firefox 30). Then I downloaded bleachbit. Now I cannot connect through Ethernet. Internet connection is on and available. I am ...
0
votes
2answers
27 views
Allow multiple local servers to share a local domain
I'm wanting to set up multiple local servers in VMWare. For example, one web server, one file server, one openvpn server, etc.
I would like to create a domain that works locally (e.g. ...
0
votes
0answers
20 views
Can't enable network adapter
I just installed CentOS 6.7 basic server on my z97a gaming 7 4970k. I can't get the network to work. ifconfig only shows lo. ifconfig -a only shows lo. I tried to create the eth0 and resolv.conf files ...
38
votes
13answers
6k views
What is the fastest way to send massive amounts of data between two computers?
This is a situation I am frequently in:
I have a source server with a 320GB hard-drive inside of it, and 16GB of ram (exact specs available here, but as this is an issue I run into frequently on ...
0
votes
0answers
8 views
How to use a alpha usb network adapter on debian
I have a Alpha Wireless and , i install debian on my desktop but the the problem is he didn't read the wirless connection , now i don't have a connection in my pc , so how can i make debian read the ...
-1
votes
5answers
50 views
network: destination host unreachable
So Im using linux oess(centos).
in the terminal im trying to
ping 8.8.8.8
to see my connectivity. so it says:
Network is unreachable
Than I typed
ifconfig:
inet addr: 192.168.56.101
...
0
votes
1answer
29 views
Linux: root filesystem via network (with authentication)
I try to create a linux computer which loads its root filesystem from the network. This currently works with NFS, but unfortunately it is not very secure.
The network is just a home network, which ...
0
votes
1answer
55 views
How to assign two iface to different subnets?
I have a ethernet connection eth0 and a wifi usb connection wlan0 on my raspbian box which both connect to a router with internet.
In my etc/network/interfaces file I have a setup that allows me to ...
2
votes
2answers
100 views
Is it possible to transfer file from a Linux bash script to Windows without mounting the server folder?
I am writing a script (bash) to transfer files from my local linux machine to Windows servers.
The Windows servers are accessible normally using the SAMBA shares and I am able to mount a folder to my ...
0
votes
0answers
24 views
Ip Forwarding: wlan0 <=> eth0: without NetworkManager?
I enabled ip-forwarding between my interfaces wlan0 and eth0 :
in /etc/sysctl.conf
sh "echo 1 > proc/etc..."
3 iptables rules.
IpTables rules:
sudo iptables -t nat -A POSTROUTING -o eth0 ...
0
votes
1answer
30 views
ufw won't allow connections to port 5432
I've installed Postgresql 9.4 on Ubuntu Trusty from the PGDG ppa. I've created a database and set it listen-addresses to '*'. I've made an entry in the pg_hba.conf file. I can connect locally with no ...
0
votes
1answer
20 views
inet address not being assigned in /etc/network/interfaces
I am running raspbian and have plugged in two wifi usb dongles.
In my /etc/network/interfaces I have assigned them both ip address.
...
iface wlan0 inet static
address 192.168.2.100
...
0
votes
0answers
10 views
How do I increase my network perform on Centos 7
I am doing some research and I find that I have to configure the sysctl.conf file if I want to increase the network performance.
So, I want to configure the default maximum Linux TCP buffer sizes ...
0
votes
1answer
32 views
Subnet Issue - Multiple instances match the same subnet
I have my /etc/network/interfaces file configured as the following
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway ...
1
vote
0answers
18 views
Is the ordering of blocks within /etc/network/interfaces important? if so why?
I am using raspbian and have came accross a problem when using isc-dhcp-server .
The problem seems to arrise when I change the ordering of the blocks within my etc/network/interfaces file
For ...
0
votes
0answers
32 views
Use iptables to redirect **all* requests, even DNS-unsolved domain?
Context: With iptables, I redirect all the traffic - incoming at port 80 - to a distant server IP (X.X.X.X). I aim that anywhat you write in the urlbar of browser, you get X.X.X.X.
IP That works ...
0
votes
1answer
92 views
What do these commands do?
I have been working at this company for around 8 years now and something that has always puzzled me is that we have a software supplier who often connects to our network to provide user support on ...
2
votes
0answers
26 views
Random pieces of ancient hardware not working together (Mac G5, Sun network adapter)
This is probably some kind of weird esoteric hardware combination but it's not why I did it. It's just what I had lying around. I have a 2x 2ghz Mac G5 and I can't really bring myself to part with it ...
0
votes
1answer
55 views
+50
Setting up OpenSSH to use rhosts?
I rent a couple of VPSs running latest Ubuntu, both with OpenSSH. I'd like to try password-less login using .rhosts/.shosts. I know this is not recommended, and that it's better to use public-key ...
0
votes
0answers
21 views
Linux macvlan add MAC to VLAN
Is there any way Linux behave as a switch Layer 2?
I have the idea of making the MAC will automatically be ditched a client to a particular VLAN.
Likewise the switches are working.
Examples.
...
0
votes
0answers
10 views
ERSPAN encapsulation
Is there a way to ENCAPSULATE traffic into an ERSPAN tunnel without using a cisco device? What if I wanted to source ERSPAN traffic from a Linux host instead of a switch?
0
votes
2answers
25 views
How to set up the gateway for wlan0?
I am using a private hotspot to connect a Raspberry Py to internet. I've setup the password and the ssid in the /etc/network/interfaces file. With this configuration I'm able to connect to the wifi ...
1
vote
0answers
15 views
Separation between the User machine and Server machine by another linux for monitoring
I am planning to have three virtual machines with virtual box (m1, m2,m3).
I already installed on m1 = Windows XP Home Edition, and on m2 = LUbuntu 15.
The big picture is this :
m1 : a user
m2 : ...
2
votes
1answer
92 views
Umount network drives with systemd before shutdown
My shutdown takes quite a long time (I'm on Debian 8.1) and I found out that it can be fixed by unmounting the network drive before shutting down the system. Apparently the network gets disconnected ...
0
votes
1answer
20 views
Possible to communicate between two networks without bridging?
I have two interfaces connected to a real machine, eth0 and vboxnet2 (a VirtualBox bridged network).
eth0 is sitting on 192.168.15.x and is connected to my ADSL modem. vboxnet2 is on 192.168.200.x.
...
1
vote
2answers
34 views
Meaning of address netmask without route to subnet?
My understanding is that the netmask of the interface tells what subnet the interface belongs to. Meaning of this information is that the routing system knows that packets to this subnet should be ...
3
votes
1answer
21 views
How to enable package caching in dnf?
I started using fedora 22 and started learning dnf only to find out about two annoying facts:
Almost every time I install or upgrade anything it has to rebuild the whole repository metadata cache ...
0
votes
1answer
42 views
No internet after changing mac on Kali Linux
I'm running Kali Linux on VirtualBox. I'm using bridged adapter, WNA with adapter type Intel Pro/1000 MT in the VBox network settings.
My internet works flawlessly as long as my eth0 mac is the same ...
1
vote
1answer
13 views
Network Monitor Tun Interfaces
I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection.
I already have logging of openvpn data ...
3
votes
2answers
44 views
How to skip unresponsive server
I wrote a script that runs on multiple servers. Sometimes the script gets hung on one of the servers and I have to hit (control C) to end the process. If not, it gets stuck and keeps trying to ...
0
votes
1answer
28 views
Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers
I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
0
votes
1answer
42 views
Proxy connection via SSH from one terminal to another
I have a private proxy which can be either HTTP/SOCKS, and i am renting a Linode server that i use for web-hosting.
If I use a program like putty to SSH onto the webserver and run who it will display ...
0
votes
0answers
10 views
Network testing (e.g. iperf) using only one server
I would like to test my network performance using iperf on a single Unix host.
As far as I can tell, a solution would be to make server able to distinguish traffic on the two networks without ...
0
votes
0answers
31 views
How can i distribute a software package to workstations on the same network?
I want to distribute a software package from my Linux server automatically to the windows workstations on the network. I'm doing it manually at the moment, and I want to do it automatically from the ...
0
votes
0answers
23 views
Hamachi login failed on Debian Wheezy
I am trying to use Hamachi on Debian (Wheezy 7.8) with an ARM architecture.
Whenever I try to login, it fails:
# hamachi login
Logging in ..... failed
I tried this command on another Ubuntu machine ...
0
votes
0answers
7 views
How to use RTNETLINK in kernel module/kernel space to extract routing table?
I want to extract routing table information in kernel module using Netlink sockets? Is it possible? I know that in user space we can do that.
Regards
1
vote
1answer
21 views
DHCP server with static IP not resolving hostnames (clients do)
Network Setup
I have a server which I am trying to set up LXCs on
I am using LXD which forces me to use DHCP
DHCP is working fine already
due to my setup I need to be able to access the containers ...
-2
votes
2answers
44 views
my linux pc not pingable using hostname
From a remote machine I am able to ping my computer by its IP address, but not by its hostname. How can I make it accessible by its hostname as well?
0
votes
1answer
5 views
netperf - get output of actual test?
I installed netperf on both my PC and remote server. Now I try to run this test:
netperf -H remotehost.com -t TCP_STREAM
But nothing happens, no output. I can only stop it uzing ctl+z. So how do I ...
0
votes
0answers
37 views
Wired connection drops after a few seconds
When I connect to my wired network using netctl, the connection drops automatically after a few seconds. It happens both with DHCP and static configuration, but the wifi connection on the same network ...
1
vote
2answers
49 views
Putting network interface in promiscuous mode (not monitor mode)
I'm looking to capture Wifi request probes while still associated with a network and otherwise not affecting that connection.
I can successfully enable monitor mode but, of course, can't join ...
5
votes
1answer
54 views
Why doesn't NAT reserve ports from the machine's TCP and UDP port pool?
I made two experiments. This is the network for both of them:
[private network] [public network]
A -------------------- R ----------------- B
192.168.0.5 192.168.0.1|192.0.2.1 ...
0
votes
2answers
18 views
Octopi.local does not resolve - DNS name resolution issue
I'm working with the Octopi distro and it's supposed to have a few networking things already put together to make things easy out of the box. One of them is an easy-to-use hostname and/or DNS name: ...
1
vote
3answers
51 views
Is it possible to set different DNS servers for different users?
Is it possible to set different DNS servers for different users?
Say user test1 uses Google's DNS (8.8.8.8 and 8.8.8.8), test2 would use 0.0.0.0, and both test3 and test4 would use 127.0.0.1.
Is ...
0
votes
1answer
20 views
How can I install my network driver on Debian from a USB media?
Here's my typical workflow for installing Ubuntu/Mint:
1) Boot from a USB stick with Live installation
2) Install, reboot
3) Use my USB network adapter which is supported by Mint to get internet
4) ...
0
votes
0answers
12 views
cannot ping nodes on same ad-hoc network with certain adapters
I'm setting up an ad-hoc network made mostly of Raspberry Pis and I'm running into a problem where nodes using certain wireless adapter cards cannot interact with other nodes on the network. I know ...
0
votes
1answer
26 views
Is it Possible to Define Two Name Servers and a HTTP Host in a Unix-Based Server With Only One Static IP Address
Is it possible to define two globally name servers (ns1.example.com and ns2.example.com) on the same server, with an static IP (e.g., 99.99.99.99), that hosts the HTTP through port 80.
Why Am I Not ...
0
votes
1answer
66 views
CentOS 6.7: cannot disable netfilter for Xen bridge
Following sysctl.conf settings at Xen host does not work:
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
# sysctl -p
...
...
2
votes
1answer
52 views
Static IP address without a gateway
Simple question. I have a machine with multiple network interfaces, two for example - eth0 and eth1.
eth0 has a static address and has a default gateway assigned.
eth1 has a static address and will ...