Tagged Questions
1
vote
2answers
42 views
Checking if I can reach some ports from my computer
Is there a terminal command or something on OSX that I can use to test if I can reach some ports on a remote server?
I know these ports are reachable on that server, because I can access them from ...
0
votes
0answers
28 views
QEMU communication between a process on a host and a process on the guest
I am running Ubuntu virtual machine using QEMU.
Right now I am facing a problem how to send IP packets from the host OS to the guest OS over some virtual network interface throw QEMU.
Virtual ...
2
votes
0answers
73 views
Virtualbox NAT + Host-Only Adapter
My host is Ubuntu 12.04 and guest is a Debian squeeze (LAMP server). I want to allow the host to connect the guest. and allow the guest to connect the internet. The guest should not be enabled from ...
2
votes
3answers
75 views
SSH is suddenly not working anymore: “Write Failed:Broken Pipe”
I use a macbook pro at home and regularly ssh into the machines at my lab. For the past 3-4 days however, whenever I SSH into the machine in the lab, I get a Write Failed:Broken Pipe error, hardly ...
2
votes
3answers
66 views
Detect which interface traffic to an IP address goes through
I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
0
votes
1answer
132 views
Fedora 18 host cannot ping Windows XP guest
I have my laptop running Fedora 18. I want to run a Windows XP guest using VirtualBox 4.2.6. My configuration seems correct, here
is my networking report.
Fedora 18 host
lo: ...
2
votes
1answer
36 views
switch network on and off of a virtual remote server
I need to perform a testing panel which disconnects a network cable and connect it again on a specific virtual server via a php web page.
I found that ip & ifconfig can disconnect a network, but ...
4
votes
2answers
138 views
Routing for multiple uplinks/providers
I have a PC with two internet connections. The first one is an Ethernet interface to connect to my local network and access internet via my router. The second one use a GSM modem to connect with ppp.
...
1
vote
1answer
126 views
No DNS on Debian wifi after unplugging the DNS cable
I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
1
vote
1answer
111 views
With two interfaces, how can I make one the default route and the other an alternate?
I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi)
My idea is to route all traffic to eth0 ...
2
votes
1answer
125 views
Route SSH to host through interface
is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected?
Since my IP is dynamic, I would like to use a name ...
1
vote
1answer
76 views
Help understanding interfaces in Backtrack
I am fairly new in UNIX and have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces.
I am ...
3
votes
1answer
76 views
Alternative to mrouted for DVMRP on Debian Squeeze
I need to implement DVMRP protocol to route multicast over Openvpn (tun) connection for some old 3Com NBX phones.
I use Debian squeeze so mrouted is not available (obsolete).
What can I use ...
0
votes
2answers
155 views
Is /etc/resolv.conf needed when using a static IP address?
I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with
iface eth0 inet static
...
0
votes
1answer
64 views
Unable to get embedded device to ping anything on the network
I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
0
votes
2answers
242 views
Heartbeat with virtual IP at Ubuntu 12.04
I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
1
vote
1answer
126 views
What to use for firewall testing (port opened or not)
so... we know that we can test that if a port is open on the firewall with:
telnet SERVERIP PORT
..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
2
votes
4answers
255 views
How do I know what service is running on a particular port in linux?
I am trying to run weblogic server on my linux machine and I am getting the following error :
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to ...
2
votes
1answer
165 views
Running a local port scan and found open ports but, don't know what they're used for?
I wrote a very basic python script to port scan my system. I'm running linux-mint lisa:
open_ports = []
for port in xrange(65536):
conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
...
2
votes
1answer
1k views
Unable to ping gateway & other Linux boxes on same network
I'm somewhat new to Linux, but I'm trying to network a few Linux machines. I can't seem to be able ping the gateway or the other Linux machines.
My scenario: I have a few Linux boxes set up on a ...
4
votes
2answers
129 views
Discover MTU between me and destination IP
In a case I can use only UDP and ICMP protocols, how can I discover, in bytes, the path MTU for packet transfer from my computer to a destination IP?
6
votes
5answers
367 views
Assigning IP address to environment variable
How can I assign the IP address of eth0 to an environment variable, say $ip, as easily as possible?
Update: Distro is Ubuntu Server 12.04 LTS.
6
votes
1answer
692 views
Linux always send ICMP redirect
I have several Debian Squeeze (6.0.6 up to date) used as routers.
When a link is down, they send ICMP redirects to local hosts. This is the default behaviour of Debian and several others. So once the ...
2
votes
1answer
482 views
Static IP address shifting to 192.168.1.251
I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
2
votes
1answer
556 views
ubuntu server 12.04 lts is there a way to enable sleep mode and wake on lan?
I was wondering if it were posible to make my server go to sleep after a set period of time, but still be listening for lan requests. I use my server as a media server that might get used 3 or 4 hours ...
1
vote
1answer
433 views
Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
I have a GPS localizer (TK102). I've set it up to send responses over GPRS to particular IP and over particular port. I was told that, it uses UDP.
It seems that something is being sent (paid ...
3
votes
1answer
234 views
Kickstart: one network card with DHCP, one with static IP?
I am using Kickstart to automate a CentOS install. I wanted one of the interfaces to have static IP so I wrote -
network --onboot yes --bootproto static \
-ip="intended IP" -netmask="intended ...
1
vote
1answer
199 views
How to use traceroute command in unix
how to determine if the server is slow or not with traceroute unix command .
Here is the traceroute Out put of a host IP .
traceroute 188.165.247.43
traceroute to 188.165.247.43 (188.165.247.43), ...
6
votes
1answer
298 views
Load Balancer Solution with linux
I need a suggestion to realize a proper solution to this problem:
As you can see in the image above, I have 2 application servers that need to talk with and external third party provider over the ...
2
votes
0answers
179 views
How do I route a spare network interface through an SSH tunnel?
I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
1
vote
1answer
102 views
Monitoring interface changes with udev, especially if a route is set
Is there a way to monitor interface up/downs, especially to check if a route is setup or removed, with udev?
2
votes
3answers
369 views
How can I restart a network interface?
How can I restart a network interface? I have a vm that doesn't update its IP address correctly when switching between home and work. The vm runs Ubuntu server and uses a bridged network adapter.
1
vote
1answer
602 views
Changing DD-WRT's default IP address
I have Buffalo WZR-HP-G300NH wireless router and I updated the firmware to DD-WRT (the newest build). The rest of my home network is in IP scope of 192.168.0.100-200 and this router has it's own. The ...
4
votes
2answers
627 views
How to know if a network interface is tap, tun, bridge or physical?
As far as i know, there are 4 main types of network interfaces in linux: tun, tap, bridge and physical.
When i'm doing sys admin on machines running KVM, i usually come accross tap, bridge and ...
4
votes
1answer
293 views
Control source address for whois queries
is it possible to execute the command "whois" and choose the outgoing ip for the query?
I have mounted several IP's on my network interface "/etc/network/interfaces" for ssl porpuses, but would be ...
2
votes
1answer
172 views
Constantly pinging a server
I am not sure if this is exactly the right place for this question, but there is no networking stack exchange.
I want to ping a server a bunch of times (eg.10,000+) to gather information on the ...
0
votes
1answer
51 views
Do IPTABLE rules apply to other devices on a network?
I have an embedded device that listens to a specific port to be programmed by vendor specific software. If I have a network that consists of a small linux computer and this industrial device would ...
3
votes
3answers
2k views
Find out network traffic per IP
We have one central server which functions as an internet gateway. This server is connected to the internet, and using iptables we forward traffic and share the internet connection among all computers ...
3
votes
1answer
223 views
Route incoming network requests for a given port to different applications
I have an application that listens for connections on a port, but I occasionally take it down for updates and the like. I'd like a way to configure the system such that if that program is running, ...
1
vote
2answers
3k views
Configure a bridged Ethernet adapter in a VirtualBox guest running Scientific Linux
I installed Scientific Linux 6.2 x86 in VirtualBox on Windows 7 x64.
The adapter is
Adapter 1: Paravirtualized Network (Bridged adapter, Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller)
...
0
votes
1answer
2k views
Centos 6.2 static IP: only getting IPV6 address and need IPV4
I installed a Centos 6.2 min install. I have edited /etc/sysconfig/network-scripts and I have ifcfg-eth0,eth1
I have tried to setup static IPs but I only get IPV6 address back on both adapters and ...
4
votes
3answers
684 views
How can I get the netmask from an IP address?
How do I get a netmask from the IP address? Is there a command to get it?
2
votes
1answer
336 views
Routing private network to internet via 2 gateways
I have the current set up for an embedded environment:
Embedded Target (192.168.0.200) -----> Virtual Machine (VMWare) (2 NIC's - 192.168.0.2 (Target Port) and 192.168.49.69 (NAT Port to host)) ...
1
vote
0answers
257 views
Usb tethering with linux and htc desire s other than rndis_host
I want to share the connection of my htc desire s with linux and I'm doing it but if it is possibile I'd like to avoid using the rndis_host module. The tethering can be configured as "windows" or "mac ...
7
votes
4answers
5k views
How to find the IP address of a KVM Virtual Machine, that I can SSH into it?
I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
1
vote
0answers
267 views
AIX multihomed multicast
On my AIX machine if I run netstat -ia I get:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0
...
2
votes
1answer
84 views
Gentoo on VM setting IP Manually
I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do
ifconfig eth0 192.168.0.10
route add default gw 192.168.0.1
everytime it boots on ...
3
votes
6answers
410 views
Find my computer on a LAN network
Let's say that I have a computer plugged in to a local network using a dhcp connection, so it will get a different IP every time. Is there a way to find this computer (so the IP) from a different ...
4
votes
2answers
776 views
How to build a gateway from my Linux OS
I want to configure my Linux so that it will be used as a network router (gateway). Can anybody give me some hints on this? (links are welcome!)
Thanks.
2
votes
1answer
4k views
Static route in Centos 6
Here is my route -n output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 ...