0
votes
1answer
31 views

Need a way to use 2 networks to access the server in parallel sharing data traffic

I have a server connected to Internet via two networks - A microwave link and an ADSL Link. The server has been assigned static IP address in both network. Both both the networks are not reliable and ...
1
vote
0answers
23 views

DNS Server won't work! [Bind 9 on Debian 7; Virtualized CT through Proxmox]

First I'd like to thank everyone in advance for helping me - communities like this are exactly what amatuers like myself need when faced with perplexing issues. I've recently begun virtualizing ...
0
votes
2answers
31 views

DNS server won't work! [Bind9 running on Debian 7; virtualized through Proxmox 3.1]

First I'd like to thank everyone in advance for helping me - communities like this are exactly what amatuers like myself need when faced with perplexing issues. I've recently begun virtualizing ...
0
votes
0answers
27 views

Very strange behavior when I try to connect using SSH. Why it works only if I copy and paste the IP address?

I am experiencing a very strange behavior. The situation is the following one: I connect to my RaspBerry Pi from my Ubuntu Linux 12.04 using SSH So I do the following operation: I go into my router ...
1
vote
2answers
29 views

How does wlan interface receive 802.11 management frames?

From what I have read, hostapd (its used for creating a wifi access-point) creates a mon0.wlan0 interface to send and receive wifi management frames ...
3
votes
3answers
8k views

Setup static IP under Ubuntu 14.04 Trusty

How to setup static IP address under Ubuntu 14.04 Trusty? My setting is not working. What special about Ubuntu 14.04 Trusty is that I found it now using the "source-directory" keyword to source ...
0
votes
0answers
49 views

Ethernet port on Linux machine not recognizing ethernet connection with embedded device

I have an atmel at91sam7x256 microcontroller that I would like to use for a TCP/IP communication. The very first step of my project is to be able to "ping" my board given its IP address. I have its IP ...
1
vote
4answers
189 views

Bind IP address to application

I have multiple network interfaces on a single machine. I am wondering how I can bind a network interface to an application. Example: Network Interfaces: eth0, eth1 Application A use dummy0 ...
0
votes
1answer
43 views

Policy route by source MAC address

I have a requirement to perform MAC based policy routing on embedded Linux platform (desktop Linux example will work as well) . I have examined the man of ip route add command and did not found ...
2
votes
1answer
83 views

local network - ping local ip fail

I have trouble to connect to own host, here is details debian is virtual host o virtual box grek@debian-dev:~$ ip addr 1: lo: <LOOPBACK> mtu 16436 qdisc noop state DOWN link/loopback ...
0
votes
1answer
88 views

How to properly obtain the ip ranges of a domain?

In order to shape traffic cheaply, I would like to know the address range of a particular domain, say google.com. First option is to do a reverse dns lookup for a range of ips that are close to the ...
1
vote
2answers
400 views

Multiple IPs on Multiple NICs same subnet

So, I've got two NICs: eth0 eth1 and I have multiple IP addresses assigned to each: auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 10.0.0.194 netmask ...
0
votes
3answers
62 views

Determinte Switch IP/Linux

i'm trying to determine the ip of the network switch several linux boxes are plugged into. Background: i need to know in which physical port they're plugged in, so the machines automatically detect ...
0
votes
1answer
52 views

Remote IP on a local device

What I want to achieve is to be able to have one of the IP addresses from a remote server on a local server (raspberry pi). Right now the network map would look like this: RPi (192.168.0.42) ---> ...
0
votes
0answers
47 views

Over VPN IP/USB sharing Linux

I have one issue I don't know if this are possible but so i explain you and i hope to can find a great result of this. I have a server in the cloud so and on my home i have a scanner/Printer over IP. ...
1
vote
1answer
96 views

Is there a trickle-like tool to set IP ToS?

I've set up my router to traffic shape using the ToS field, but not all bandwidth-heavy programs set an appropriate value. So I need a way to set the ToS for the traffic of an arbitrary program. Is ...
2
votes
1answer
239 views

CONNMARK on rewritten packets

I have a host, on which I rewrite saddr and daddr of IP packets coming to it, this is done by the program, employing libnetfilter_queue. Basically it acts like proxy. For example, the packet comes ...
0
votes
2answers
164 views

ip namespace non-root shell

I am trying to run ssh command to another ip namespace. I can do it right now, but it runs as root. I want to run it as a normal user. I want to know if there is a way to enter a non-root shell in ...
1
vote
0answers
77 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
1
vote
1answer
91 views

Using the secondary IP in a bash script

I have a Primary IP set for all the system related tasks. Sometimes I have to use my system to carry out different tests and most of the time I have to deal with bash/shell scripts. I want the ...
2
votes
3answers
295 views

Check external IP from a Linux headless server

I have access to a headless Debian server which I would like to learn the external IP address. How can I do that? The server is connected to the Internet.
0
votes
0answers
84 views

Multiple eth0 addresses (aliases) and TCP source address

My eth0 card has several aliases from the same subnet (Load Balancing software) and eth0 IP is set as leading to default gateway on this host. I have an application that listens only on eth0:5 on ...
0
votes
0answers
117 views

Public IP is not accessible

I have a VPS, after a DDos attack, the service provider disabled my server until the attack finished. After recovering from the DDos, the main IP is not accessible at all! I don't know where to look. ...
1
vote
1answer
193 views

Route between two machines on the same network (but different IP ranges)

This is the network topology I'm working with: .______. | | |Modem | 10.0.0.1 |______| | | .______. | `----------------| | | |Box A | ...
0
votes
1answer
115 views

SSH protocol: 1 ip, 2 domain names, 2 servers

Is it possible to have this scenario? (I am not talking about websites or anything related to apache) both example1.com and example2.com point to same IP. If I ssh to example1.com:22 it goes to ...
3
votes
2answers
179 views

Same IP for WLAN and ethernet on Linux

I have a laptop runnung Lubuntu 13.04. I use "ssh -X" to log into my server and start programs there that I view on my laptop. When I pull the ethernet cable, the laptop switches to WLAN but my "ssh ...
0
votes
0answers
160 views

How to display port 50070 in hadoop?

I'm unable to open namenode:50070, however, namenode:50030 works fine. I've set up a 2 node cluster on VirtualBox. The host OS is windows 7, and I have 2 guests that are both ubuntu. 1 slave and 1 ...
0
votes
1answer
70 views

How to get the IP of the computer, of searches in my google account? [closed]

How do I get the IP of the computer that made researches in my google account, which was recorded in history that is accessed through my google account? Thanks so much!
0
votes
0answers
56 views

VM doesn't pick up ip from dhcp

I'm running virtualbox in bridged mode on a windows host. ifconfig returns this: Here's the etc../interfaces file: How can I force it to grab an IP address from the dhcp?
0
votes
0answers
63 views

Proper way of setting up static IP settings

When I am at home, I have no problem setting a static IP address for my VM running on virtualbox this way: I'm able to SSH into it and ping it from the host machine. However, at work, when I try ...
2
votes
2answers
2k views

ssh: connect to host port 22: Connection refused with external ip address

ssh: connect to host XXX.XXX.XXX.XX port 22: Connection refused This happens when i try to connect with external ip (WAN IP Address). I am successfully able to connect using internal ip address ...
0
votes
2answers
78 views

Linux: Any distro-independent way to change and persist IP settings?

Are there any distribution-independent mechanisms for tasks like assigning static IP addresses, adding or deleting routes, etc and, then, also be able to persist the changes so made? AFAIK, each ...
0
votes
1answer
109 views

How to drop IP packets received on the default route interface when no other than default route is found?

I am setting up a router based on a linux kernel. As expected, ipv4 packets received on the interface used by default route are sent back to the same interface in case no other route is found. Is ...
0
votes
1answer
86 views

OpenVPN configuration

Preamble: I am lucky to have an IP subnet which has real IPs, so no NAT. I have a network from 1.2.3.0 to 1.2.3.128. I have a Debian server with an eth0 interface say 1.2.4.9. Now I want to have an ...
0
votes
1answer
285 views

How to create local network in virtualbox between Ubuntu server

I created a Ubuntu server on virtualbox that Ubuntu server install with minimal virtual machine. I created the three linked clone and I have internal network between them. I removed ...
1
vote
2answers
327 views

What kind of methods are used to calculate IP ID fields?

I'm doing a bit of research on the methods of generating the ID field of the IP headers. I have read the sources and other documents and have confirmed that Linux generates a random number for every ...
1
vote
2answers
162 views

Remove IP with ip command in linux

If I add two IPs like this: ip addr add 1.1.1.1/24 dev eth2 ip addr add 1.1.1.2/24 dev eth2 and then I try to delete one of like this: ip addr del 1.1.1.2/24 dev eth2 BOTH IPs will be deleted ...
0
votes
2answers
54 views

working directory deleted

There are some 4 people who know my root password.And someone deleted my code directory. We have a single system where everyone has his own code base directory and everyone ssh to this system and ...
0
votes
1answer
68 views

Find out the HOST IP of a VM

I have the following setup: I have a linux host, running a brunch of windows virtual machines (VMware) and I log in to one of those VMs via logmein. I need to get a file from the HOST machine (the ...
1
vote
0answers
296 views

iproute nexthop not working - defining multiple default gateways

I have several point to point connections and I'd like to use all of them as default gateways. I saw this link which explains how to do this using load balancing by calling ip route with a nexthop ...
0
votes
1answer
267 views

Configuring NAT through iptables

I want to change this: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 178.212.120.5 192.168.1.254 255.255.255.255 UGH 0 0 0 ...
1
vote
2answers
2k views

Multiple network interfaces on Linux PC

I have a question related to multiple network interfaces on Linux PC. Suppose I have two connected network interfaces. Let us say that both network interfaces connect to LANs. Let us say one LAN ...
0
votes
1answer
391 views

How to use ip rule and ip route commands for IPv6 addresses?

For IPv4 we use: ip rule add from (ipv4 address) table 60 ip route -net (ipv4 address) mask (ipv4 mask) (interface number) How do I use the ip rule and ip route commands for IPv6 addresses?
0
votes
1answer
389 views

Ubuntu server Internal and External IP's

Well this might be a simple networking question but a question that is puzzling me. I hope some one can clarify something for me. I have to physical computers, a linux laptop, and gaming computer ...
1
vote
1answer
108 views

How do i setup this ip for two location which will be using a same gateway as different subnet?

I have two public IP, they have not given me any subnetmask and gateway for those two. But in seperate they have given me one subnet mask/gateway as below: 217.91.227.x 217.91.170.x To be use ...
-1
votes
1answer
596 views

Can't get my Raspberry Pi to keep a static IP

I recently got given a Raspberry Pi and I would like to be able to remote into it using puTTy from my laptop so I don't have to sit next to my tv with a keyboard and mouse to use it. I am able to get ...
0
votes
3answers
766 views

IPv6 address is not working in Ubuntu

Telnet connection with echo service succeeds for localhost and 127.0.0.1 host names, but fails with ::1 host name: alex@u120432:~$ telnet localhost 7 Trying 127.0.0.1... Connected to localhost. ...
0
votes
1answer
876 views

Why do I have so many IPv6 (inet6) addresses?

If I run ifconfig on my Linux (Ubuntu) server, I get the following output: eth0 Link encap:Ethernet HWaddr d0:27:88:0f:80:74 inet addr:10.1.0.11 Bcast:10.255.255.255 Mask:255.0.0.0 ...
1
vote
4answers
1k views

Use-cases for assigning multiple IP addresses to 1 NIC [closed]

What would be some of major use-cases in which you would want to assign multiple IP addresses to your NIC? Knowing of any standard/well-known 'gotchas' associated with each use-case would also be ...
0
votes
1answer
901 views

How to route traffic via another machine before the default gateway

At the moment I have a router on 192.168.0.1, a Linux box on 192.168.0.2 and desktop clients from 192.168.0.3. Everything works with 192.168.0.1 as the default gateway. I'd like to send the traffic ...