Questions tagged [interface]
333 questions
1
vote
1 answer
Let an application use a certain interface
I'm using Ubuntu 15.04.
I'm using 2 Interfaces, but I need to let application use the second interface (in my case, eth0:0, the first one is named eth0).
Is it possible? Or, if not, is it possible to connect to an IP with a certain interface?
It's a…

xMarcoGP
- 13
- 3
1
vote
0 answers
How to use virtual interface as default interface
I've got a cloud SSD VPS @ OVH, and I'd like to change the default interface used for requests.
I have two interfaces: eth0 (which is the default interface) and eth0:0 (which is the new virtual interface that I'd like to use).
Here is the output of…

Danogentili
- 111
- 1
1
vote
1 answer
How do I set Ubuntu server to two static IP addresses and proper routing with two interfaces
I'm trying to set up the routing table on Ubuntu 12.04. The network environment is as follows:
server -----eth0 192.168.0.1 (DMZ)---LAN----10.13.x.x
Because the communication between 192.168.0.1 and LAN is too heavy, the firewall will crash.…

HCChen
- 11
- 1
1
vote
0 answers
Multiple IPv6 addresses added to interface, now IPv6 not working on my server
I got /64 IPv6 block from my server provider.
When I add few IPv6 addresses (maybe 10 or 20) to network interface. Everything works fine about IPv6 network.
When I'm added above 500+ IPv6 addresses to network interface. My server IPv6 network not…

Temüjin
- 133
- 4
1
vote
2 answers
How to add persistent route for 2 VPN connections when interface # varies?
I need to configure split tunnelling with persistent routes for 2 VPN connections on the same computer as the user needs to connect to 2 different corporate servers at the same time. I have a problem though as the VPN interface # varies in some…

Hanuman
- 11
- 1
- 1
- 4
1
vote
1 answer
Add static route on Ubuntu 14.04 server
I have set up Ubuntu 14.04 server on a machine and configured /etc/network/interfaces with two gateways. The default one is em1 which is fine, but I need traffic to a specific IP address on the internet to be sent via the other gateway. The…

James
- 31
- 1
- 1
- 4
1
vote
1 answer
Configure bond using mode=4 (802.3ad)
I have a Debian 8 system with two NICs I want to bond. My managed switch is already configured to link aggregate the two ports I'm using.
On the linux box, I have installed ifenslave.
In /etc/network/interfaces, I have:
auto eth0
iface eth0 inet…

user2087262
- 11
- 1
- 3
1
vote
1 answer
VMware Guest machine NIC errors
I am running Linux CentOS 5.11 with 32bit Arch I have seen NIC generating many interface errors
[root@centos5 ~]$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0C:29:97:C0:0E
inet addr:10.0.0.211 Bcast:10.0.0.255 …

Satish
- 682
- 3
- 8
- 22
1
vote
1 answer
Linux Interface configuration
May i have some question about interface configuration ?
I want to use 4 ports gigabit bonding on centos6.
Is linux limited speed below full ports( 4 * 1GB) by default or not?
I cannot use speed more than 2 GB.
Thank you in advance.

The Cattery
- 21
- 3
1
vote
1 answer
2 nics and 2 public ips
I have a server with 2 nics (interfaces) running ubuntu 14.10
I need to connect each nic to a different router (each being a gateway to different internet connections from different ISPs.
I also need the server to respond to requests from the same…

537mfb
- 167
- 1
- 11
1
vote
1 answer
Setup openvpn as interface device only
I just setup OpenVPN client using this guide on The Geek Stuff
But now (somewhat as expected) all my traffic is routed through the VPN.
I actually just want to set up the interface device.
Does anyone know how to do that?
Here's the config…

Jelle De Loecker
- 1,094
- 6
- 17
- 30
1
vote
1 answer
heartbeat doesn't work on virtual interface
I try to use vertual interface as broadcast for heartbeat(bcast in ha.cf).
When I try it I see this message in syslog:
May 23 12:17:26 Ubuntu2 heartbeat: [1107]: ERROR: glib: Error setting socket option SO_BINDTODEVICE: No such device
May 23…

user275402
- 43
- 1
- 1
- 6
1
vote
1 answer
Tshark/wireshark on an ephemeral interface
Our server hosts a VPN. Each connection to the VPN creates a new PPP interface (ppp0, ppp1, etc.) and the connections are ephemeral in the sense that the interface can go up or down intermittently.
What we need is a way to capture packets using…

Climax
- 123
- 5
1
vote
1 answer
Inactive router on quagga
Im trying to connect 5 virtual machines using quagga but for some reason one of my virtual routers appears as inactive, when I use "show ip route" my router with IP "192.168.2.2" is inactive https://i.stack.imgur.com/ejj0I.jpg
How can I activate my…

erick
- 11
- 2
1
vote
2 answers
How to set ip address permanently
This might sound a little strange, but I try to achieve to set up an ip address permanently in Ubuntu using the command line, but not an editor.
My idea is to provision servers and just type in the ip address once and the script takes care of this.…

David
- 159
- 8