Tagged Questions
A computer network allows sharing of resources and information among interconnected devices.
0
votes
1answer
12 views
Accessing a different computer on the network
At work we have a large network of computer, some linux, some windows. On a windows machine I can go in to my computer and access a network drive simply by typing \ip-address\folder. It'll often ask ...
1
vote
0answers
19 views
How do I allow only certain IPSet set's to access a certain port with iptables?
I'm using IPSet to build IP ranges for different countries as follows :
# Canada
ipset -F ca.zone
ipset -N ca.zone nethash
for IP in $(wget -O - http://www.ipdeny.com/ipblocks/data/countries/ca.zone)
...
1
vote
2answers
21 views
How does KVM set its own netfilter rules?
I've been poking around with KVM VM's on Centos 6.4 and after some hair pulling and copious amounts of trying to break my desk with my head due to not having an internet connection on my VM's, I found ...
0
votes
1answer
15 views
Is it possible to add/remove arp-ip-targets without taking the bonding interface up/down
i just changed in /etc/sysconfig/network-scripts/ifcfg-bond0:
BONDING_OPTS="mode=active-backup arp_interval=1000 arp_ip_target=10.0.0.1"
and now i want to set those arp_interval and arp_ip_target ...
1
vote
1answer
45 views
failure in connecting to my server through ssh
My goal: I want to be able to ssh to my workstation from external client.
My workstation(in the following also referred as server) is on a lan. Its ip address on this lan is obviously different from ...
1
vote
1answer
37 views
What does ifup do when “/etc/network/interfaces” has an invalid netmask address?
The interfaces file looks like below:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.130
netmask 250.255.255.0
gateway 192.168.0.254
As you can see ...
2
votes
1answer
25 views
How do I fix iptables in ChromeOS?
Using the shell in chrosh in ChromeOS I followed some (apparently terrible) advice to flush my IP tables. using the command
sudo iptables -F
I am now unable to connect to the internet at all. All ...
7
votes
4answers
252 views
How am I supposed to edit files on a network with Vim?
Currently I'm doing it by SSHing into a server, and executing Vim on the server. This has the benefit of not having to deal with cumbersome syntax of opening files from a remote server over SCP, and, ...
0
votes
0answers
42 views
How to prevent MAC spoofing? [migrated]
I want to define in my Cisco switch a whitelist of allowed MACs, but MAC spoofing could allow any host to connect. How can I prevent MAC spoofing?
1
vote
2answers
31 views
Restarting network service for a local VM via SSH
During the course of practicing switching my local VM from static IP to DHCP and vice versa via system-config-network, I decided I didn't like having to access the VM's console through virt-manager ...
1
vote
1answer
40 views
Linux CentOS 5.5 not connecting to Network
I have installed Linux CentOS 5.5. During installation, I configured the LAN driver and gave it an IP address. After installation, I checked the network connection but it shows "not connected".
I ...
3
votes
1answer
42 views
sshfs will not use ~/.ssh/config (on Linux Mint 15)
Local: Linux Mint 15 - Olivia
/proc/version: Linux version 3.8.0-19-generic (buildd@allspice) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) )
ssh -V: OpenSSH_6.1p1 Debian-4, OpenSSL ...
1
vote
1answer
35 views
Open a port CentOS
I'm new in CentOS and I'm trying to create a little script in Python, something like:
$ python -m SimpleHTTPServer
If I try to access port 8000 in my web browser, I don't get access, however if I ...
1
vote
1answer
20 views
Split DNS (bind9), match-clients any doesn't work?
I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8.
When I nslookup pc1.clase.net internally it responds with ...
1
vote
2answers
37 views
How do I get the nc command to end after 2 seconds? [duplicate]
I have to write a maintenance script that iterates over our IPs testing their connectivity to certain services such as nc -sip# mailin-01.mx.aol.com 25.
It has a flag -w ... but it's not what I think ...