The ip tag has no wiki summary.
1
vote
1answer
20 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
44 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 ...
1
vote
3answers
64 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
1answer
23 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 ...
0
votes
0answers
29 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
77 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 ...
0
votes
0answers
21 views
How do I setup DNS names and static IPs for an Ubuntu virtualbox? [migrated]
I have Ubuntu installed on VirtualBox, on top of a Windows 8 host. How can I setup a static IP and DNS name for this virtual machine that other virtual machines will see?
2
votes
3answers
80 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
136 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 ...
2
votes
3answers
39 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
26 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?
4
votes
2answers
140 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
2answers
49 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
113 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
1answer
136 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 ...
0
votes
4answers
83 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
128 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
113 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
130 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
2answers
36 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 ...
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
248 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 ...
0
votes
2answers
89 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 ...
3
votes
1answer
207 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
131 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
268 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
166 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)
...
5
votes
2answers
351 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 ...
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?
2
votes
4answers
1k 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 ...
6
votes
5answers
374 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
711 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
483 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 ...
3
votes
1answer
111 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 ...
1
vote
2answers
81 views
What's the mechanism that a process listening to localhost refuses to process a request to its LAN IP address?
The private IP address of my machine is 192.168.44.182. If I started a process using
nc -l localhost 20000
Then this process won't handle requests sent to 192.168.44.182.
Since the process ...
0
votes
2answers
359 views
“system-config-network-tui &” doesn't work
When I try to edit or assign the IP using this command:
system-config-network-tui &
Terminal opens a console which is uncontrollable, just like this:
This happens on CentOS and Red Hat.
2
votes
1answer
561 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 ...
7
votes
2answers
501 views
How can I disable TCP/IP for an Ethernet adapter?
I have CentOS 6.3 running in a (virtual) machine with two Ethernet adapters. I have eth0 connected to a TCP/IP LAN and eth1 connected to a DSL modem. The system is intended as a dedicated ...
2
votes
2answers
285 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
1answer
198 views
What is the GNU/Linux equivalent of BSD's “route get …”?
The BSD route command has a feature that will show what route will be selected for a given host. For example:
/Users/mhaase $ route get google.com
route to: iad23s07-in-f8.1e100.net
destination: ...
1
vote
2answers
449 views
SSH to a remote computer having only the public IP
I looked over some questions asked here relating to this issue but couldn't find a solution.
I'm trying to connect to a computer behind a router via SSH knowing only the public IP address (of the ...
3
votes
2answers
145 views
How to force a connection to a certain host to use to a specific source IP?
When using the Shoutcast2 yellowpages there is a really annoying issue that it always uses the default IP the system uses for an outgoing conection to register itself even if the server is configured ...
2
votes
1answer
245 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 ...
1
vote
1answer
206 views
Changing host file in Ubuntu
I tried to change /etc/hosts to change a local DNS entry, so I can map any website name to any IP, but it isn't working. How can I debug it?