The ip tag has no wiki summary.
3
votes
1answer
194 views
Detecting multihomed machine
Is there a way to reliably detect whether or not a machine is multi-homed? I'd like to be able to write a script that will return a true or false regarding that information.
2
votes
1answer
21 views
RapidIO packet filtering in Linux
I was wondering if there is support in Linux Kernel for RapidIO packets filtering, something similar to iptables, but based on RapidIO header?
-2
votes
0answers
23 views
One computer is blocking one ip address with three webpages [closed]
I've checked /etc/hosts, iptables --list, uninstalled dansguardian, squid3, tinyproxy, firehol,
Other computers connecting to the same modem are fine.
Other webpages on the same computer are fine.
...
2
votes
1answer
523 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 ...
-1
votes
2answers
54 views
How to know ip camera address
I have ip camera with static ip address preset. How can I know it ip using linux?
I connect camera direct to my notebook.
My system is
Linux machine 3.5.7-gentoo #2 SMP
ifconfig eth0
eth0: ...
4
votes
2answers
178 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.
...
2
votes
1answer
37 views
How can I be sure that access to my home server from my home network is not done via Internet?
As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server.
However, my needs have changed a bit. I want to be ...
2
votes
2answers
296 views
policy routing problem with load balanced ppp connections
This my setup using Debian 6.0.6. It's role is a proxy server and a load balancer using eight 3G modems.
First and foremost:
Whenever a ppp connection dials it takes over the default gateway which ...
3
votes
2answers
1k views
How can I block a range of IP addresses with an Amazon EC2 instance?
I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
4
votes
2answers
161 views
is it possible to send the remote connector ip via netcat?
Actually I want to make something like ifconfig.me functionality but only for my internal network. I see it the way smth on server listens some port and send ip of connected remote machine.
Seems nc ...
1
vote
0answers
38 views
coLinux strange networking trouble
Installed coLinux, debian, sshd inside, pcap-bridged networking, and I can connect to ssh service from coLinux console and from LAN.
Now, the strange part: I CANNOT connect to linux guest ssh service ...
0
votes
2answers
187 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
248 views
Static IP config no longer persistent in CentOS6
I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge
and restored the network-script ...
0
votes
1answer
37 views
centos httpd.conf set different ip for a directory
I have 3 IPs in my server, i want use them to increase twitter API limits.
How to set a different ip for a directory in centos 6.1 httpd.conf (apache 2.3.1)
I added these line in the bottom of ...
1
vote
1answer
26 views
privoxy show client ip when sending mail
Is it possible for privoxy to show original client ip when sending mail ( example:
this mail header should show the client's ip not the proxy ip:
Received: from [xx.xx.xx.xx] by ...
1
vote
2answers
70 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 ...
2
votes
0answers
132 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 ...
1
vote
3answers
88 views
how can I find out my server's subnet mask via SSH
Hi I use media tamples dv server... I connected it via SSH with putty.. I need my server's IP address and subnetmask. I know the IP address but I don't know the subnetmask.
How can I find out my ...
0
votes
0answers
47 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
1answer
41 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 ...
9
votes
3answers
832 views
Parsing log files for frequent IP's
So, I hacked this together while undergoing a DDOS attack to pull naughty ips out of my logs. Anyone have any improvements or other suggestions to make it better?
Here's the general idea:
pull ...
1
vote
2answers
41 views
Assigning IP to a bridged interfaces
Is there a way to assign an IP to bridged interfaces? For example, under normal circumstances:
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr mybridge
brctl addif mybridge eth0
brctl addif ...
0
votes
1answer
245 views
How to add Two Gateway on same machine
I have one test server that has Two Interfaces. To one interface i have assigned ip 172.16.122.1 and GW 172.16.xxx.xxx
Now i connected cable to second interface and gave it ip 10.2.2.98.
Now they ...
2
votes
3answers
108 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
79 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 ...
5
votes
2answers
409 views
Change linux remote host *primary* IP address without losing control
I was wondering about how one could change a remote host primary IP address without getting disconnected at all (without being in a "no IP addr" state).
The matter is poorly discussed on Internet ...
1
vote
2answers
245 views
How to allow mysql remote connections via particular interface
I have a 10.237.49.251 IP on eth0 and another IP on another interface
How do I enable remote mysql calls on eth0 device?
2
votes
3answers
40 views
Can DNS identify hostnames dynamically if they're statically configured?
I've got a small environment of ~40 VMs with static IPs on 12 servers, it would be dandy if I could refer to each VM by name. We have a lot of VMs come and go, so maintaining one static list is a ...
0
votes
1answer
38 views
Restoring default ip rule
I accidentally issued ip rule flush, now the default ip rule are all gone, which is,
32766: from all lookup main
32767: from all lookup default
Anyone know how to add them back?
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
2answers
53 views
How do Apache2 VirtualHosts get resolved?
As I understand it, when you request a url from a website using your browser, it asks the DNS server that the OS is pointing at if it knows the ip address that relates to the dns-name of the server; ...
0
votes
1answer
141 views
explanation of the output's command “ifconfig ppp0”
I'm trying to understand the meaning the output of the command:
ifconfig ppp0
Note that i'm using an internet-usb-board and so i'm sure that ppp0 interface is associated to it. In particular i have ...
0
votes
4answers
86 views
how to know IPs available on a server?
I think there used to be a command to do that but I forget.
Something like ipconfig in windows.
My server has 10 available IPs and I want to know them all.
1
vote
1answer
153 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 ...
3
votes
1answer
89 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 ...
1
vote
1answer
128 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
170 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 ...
3
votes
1answer
239 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
77 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 ...
0
votes
1answer
70 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
187 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
2answers
291 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 ...
4
votes
3answers
4k views
How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
How can I find out if my IP address is DHCP, Fixed or Dynamic?
I need to tell my network administrator what the IP address is, that my Virtual Machine is using. I know the numbers, but I don't know ...
11
votes
5answers
3k views
How to get my own IP address and save it to a variable in a shell script?
How can I get my own IP address and save it to a variable in a shell script?
0
votes
2answers
103 views
Use a specific interface for a specific destination subnet (source IP setting)
I am looking for some sort of routing trickery to set a specific source IP:
Local machine has two IPs;
Eth1: 192.168.0.1
Eth1:2 192.168.0.2
Default gateway is 192.168.0.254 via Eth1
Remote subnet ...
2
votes
4answers
2k views
How to remove all default gateways
I'm commanding a customarily built linux machine so not all linux commands are available. I execute network related commands so I need to set a default gateway right before I run my command, then ...
3
votes
1answer
115 views
Looking for elegant iproute2 solution for host w/ 2 interfaces on 2 networks and 3 gateways
I've got a Linux webserver with 192.168.0.2/24 assigned to eth0 and 172.16.0.2/24 assigned to eth1. I must not change this. Here's the routing so far:
172.16.0.0/24 dev eth1 proto kernel scope link ...
3
votes
1answer
231 views
set VM IP address to be the same every time from DHCP on CentOS 5.6
I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
1
vote
1answer
179 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 ...
3
votes
4answers
381 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 ...