1
vote
0answers
42 views

Ping not working from tap interface attached to bridge interface with ip on same subnet as that of bridge to outside

My requirement is to create a multiple tap interfaces, each with ip address on same subnet. I tried this by creating a bridge br0 (192.168.1.199) ...
1
vote
1answer
66 views

Make sshd listen to a specific interface

On my machine I'm using OpenVPN which use the tun0 interface. I want sshd to listen only on this interface. I know, I can specify the IP address to listen to in /etc/ssh/sshd_config with a ...
2
votes
4answers
95 views

How to disable NIC transmitter or receiver in Linux

Is it possible to disable either the tx or the rx in a NIC? I am setting up a network monitoring machine and I would like to be sure that no packet will be introduced by this machine at the network. ...
0
votes
0answers
49 views

NetKit - Multiple tap interfaces

I have a computer with 4 physical ethernet interfaces (2 netcards). I am trying to use NetKit in order to simulate a networking system (BGP+OSPF+MPLS+...), however I cannot emulate everything, I will ...
0
votes
2answers
141 views

How to run Linux system commands from web interface?

I'm looking for a clean and secure way to run specific Linux system commands from a web interface. Let's say I would like to sudo -u differentuser ping 0.0.0.0. The IP address is supplied by user in ...
1
vote
4answers
486 views

Is it possible to run two services on the same ports with different IP but on the same machine?

My question is simple. Is it possible to run TWO different game servers using exact same port but on different IP's using same network interface on the same server ? Does each IP adress have it's ...
0
votes
2answers
84 views

How to perform remote backups on a USB external drive?

I have a server hosting files (~300 Gb) and I need to perform a full backup every week on an exernal USB drive. People without good IT knowledge need to be able to do it too, so it has to be a very ...
0
votes
1answer
2k views

Use one NIC to create multiple interfaces for Linux KVM

I am working on a thesis research project, and I am having some difficulty figuring out how to make one NIC spawn several "bridge" interfaces such that each KVM VM can be seen on the local network. I ...
3
votes
1answer
657 views

Set source address to use tun device does not work (Debian Squeeze)

There have been similar questions on StackExchange but none of the answers helped me, so I'll try a question of my own. I have a VPN connection via OpenVPN. By default, all traffic is redirected ...
1
vote
2answers
748 views

Openwrt two nic on the same vlan instead of alias?

I have a TP-Link WR1043ND with 1 wan and 1 lan cables attached. The lan cable currently have 2 ips of two different network, using an alias. The two networks share the same switch. I'd like the ...
3
votes
3answers
300 views

identify physical network device by interface name in linux

I have multiple USB to ethernet devices which are plugged to the same pc. Is there a way to identify which one is mapped to which eth* network interface via usb port/etc ? I have tried looking in ...
0
votes
3answers
3k views

Failed to bring up eth1 in a dual ips solution in ubuntu

I'm using ubuntu 12.04. I tried to assign two ips to two ethernet cards in my server. The content of /etc/network/interfaces is like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet ...
1
vote
1answer
3k views

Amazon EC2 instance missing Network Interface

I am running Linux on a t1.micro instance at Amazon EC2. Once I noticed bruteforce ssh login attemtps from a certain IP, after litle Googling I issued the two following commands (other ip): iptables ...
0
votes
1answer
454 views

How to NAT virtual interfaces

I've created a virtual interface in Ubuntu with the following: sudo ifconfig eth0:0 192.168.1.99 netmask 255.255.255.0 up Now I need to be able to ping from the new virtual interface. ping -I ...
1
vote
1answer
2k views

Create and bridge virtual network interfaces in Linux

I have a tool that replays traffic from a .pcap file and another tool that interprets that traffic. For testing purposes, I need to play traffic out one interface and have it come in another. ...
2
votes
2answers
1k views

How to set up internal routing between virtual interfaces and real ethernet interface (Linux)

I have a Linux box with one real (as opposes to virtual, a.k.a. aliased) Ethernet interface I can use (eth0 is used for other purposes - can't use it, nor can I add more NICs). Say it's eth1 I need ...
5
votes
3answers
4k views

Pick the default network interface

I have a server with 2 interfaces. eth0 is 100 times faster than eth1. Though for some reason, every reboot, the default interface is picked at random. To make things more annoying, they both use the ...
2
votes
3answers
2k views

A tool to change the default bind interface for a given command?

This is somehow related to Change interface for doing a whois The differece is that I'd like to know if it's possible to specify the default interface only for a specific program - not system-wide. ...
1
vote
1answer
549 views

Linux 2 network card routing depending on the interface used

My server has 2 network card installed and I manage to get it up and running. I can ping both interface but I can not ssh or access any service (ie web/ftp) if I connect using second interface. Both ...
1
vote
3answers
252 views

Problem with Ubuntu and eth0 interface

I have a problem that I cannot access a web page when using eth0 interface. If I use loopback interface everything works fine. wget http: //127.0.0.1:8080/app - works ok wget http: ...
1
vote
2answers
583 views

Monit network availability checking

I'd like to start a service with monit but only when I have the correct ip bound to the host. Can this be done somehow with the normal config? For example I want to start a process xxx with pidfile ...