Questions tagged [interface]

333 questions
2
votes
2 answers

How do I configure an interface to have *both* a DHCP address and a static address in Ubuntu?

In a lab setup, I want eth0 on a Ubuntu server box to get a DHCP address for talking to the outside world, and I also want to assign it a static 10.x.y.z address for talking to other boxes on the local network that have 10.x.y.z addresses. I want to…
Paul Hoffman
  • 2,214
  • 5
  • 19
  • 23
2
votes
3 answers

Why is it necessary to set a netmask of 255.255.255.255 for “alias” addresses in FreeBSD?

From FreeBSD handbook on the topic of virtual hosts: For a given interface, there must be one address which correctly represents the network's netmask. Any other addresses which fall within this network must have a netmask of all 1s …
Eugene Yarmash
  • 2,433
  • 5
  • 34
  • 54
2
votes
1 answer

How do bridges really work?

I'm in a major confusion here, regarding bridges. I thought that they were devices that allowed going from one network to a different one without routing (doing the work at layer 2 instead), but if that's so then I don't understand 2 things: 1) how…
ptn777
  • 115
  • 1
  • 1
  • 4
2
votes
1 answer

How to configure a second IP address (to bind it to a VBoxHeadless virtual machine then)?

I've requested my ISP to dedicate me a second Internet IP address and have got it. Now I need to configure it (I've never had any experience with using multiple IP addresses on one network interface) on my Ubuntu 10.04 server so that it will be a…
Ivan
  • 3,398
  • 19
  • 50
  • 71
2
votes
2 answers

interfaces/static IP problem - Debian

I'm trying to configure my Debian machine (Lenny) to use a static ip address. Here's what my interfaces file currently looks like: # This file describes the network interfaces available on your system. # and how to activate them. For more…
elduderino
  • 135
  • 1
  • 6
2
votes
1 answer

Error loading interface lanplus (ipmitool on CentOS)

I'm having trouble specifying the lanplus interface for the ipmitool program. I issue a command such as ipmitool -I lanplus -U USER -P PASSWORD -H 10.16.0.253 sol activate and I am given the following error: Error loading interface lanplus. When I…
William
  • 213
  • 6
  • 15
2
votes
2 answers

How can I setup apache+mod_proxy so when I connect to mod_proxy on interface X, it sends the traffic out on that specific interface?

We use a service that allots us X number of requests per IP and has allows us to setup 5 IPs with such a limit (I know.. it seems stupid they could not just up the limit 5x on one IP). Pretend I have a linux box with the following address on the…
aspitzer
  • 977
  • 5
  • 14
2
votes
1 answer

How to fill in the network line in the ubuntu interfaces config file?

I have to configure an ubuntu hardy server network interface. The service hoster told me that this is the network data for the machine: IP Range: 111.111.200.74 to 111.111.200.78 Netmask: 255.255.255.248 Broadcast: 111.111.200.79 Gateway: …
user12096
  • 927
  • 6
  • 23
  • 39
2
votes
1 answer

Unable to establish link between Mikrotik router and Mellanox NIC

I am trying to establish a 25 GbE link between Mikrotik CCR2004-1G-12S+2XS router and a server running Windows Server 2022 with Mellanox NIC (MCX512A-ADAT). For cabling, I tried using the official Mikrotik DAC (XS+DA0003), unofficial FS.com with one…
Vilican
  • 129
  • 1
  • 21
2
votes
2 answers

qemu commandline can't see /dev/net/tun

i am newbie with qemu and libvirt. I hit the issue with virsh and qemu, especially with tun interface setup. Once i run qemu-system-x86_64 \ -nographic -enable-kvm \ -cpu host -m 2048 \ -serial mon:stdio \ -netdev…
2
votes
1 answer

libreswan configure virtual interface for ipsec traffic

Description: I am learning how to configure ipsec with libreswan. I want to set up a host-to-host vpn between two hosts. I want each host to use a virtual interface for their ipsec tunnel. Problem: I set up my ipsec configuration with RSA, and…
Dave
  • 229
  • 2
  • 10
2
votes
1 answer

Windows disable NIC as if it were unplugged

I have noticed a distinct difference in Windows (10) between administratively disabling a network interface, and physically unplugging the connection. I am not exactly sure how to describe the difference, but I can illustrate it with two continuous…
lampwins
  • 185
  • 2
  • 7
1
vote
0 answers

How can I put a WiFi client and an Ethernet client to the same group?

I have wireless interface wl0 and ethernet interfaces eth0, eth1, eth2, eth3 all in the same bridge br0. Now I have to put one of the wifi clients and one ethernet client to the same group so that they should be able to communicate each other and…
A R
  • 111
  • 2
1
vote
0 answers

Setting up openVpn as an interface rather than routing all traffic from paid vpn

I have subscribed to a VPN provider that's provides openVpn config files. Now instead of routing all traffic through this VPN, I would like to simply set it up as another interface where the software package that have the ability to use this…
mfaiz
  • 111
  • 1
1
vote
2 answers

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 xxx.pid, but only if host currently has 10.0.0.1…
viraptor
  • 1,296
  • 6
  • 21
  • 41