Tagged Questions

1
vote
2answers
152 views

How do you find current internet network interface?

How do I find the network interface that's connected to the Internet? This machine could typically be connected via {eth0,eth1,usb0,wlan0}. The best I could think of is: sudo route | grep default | ...
0
votes
2answers
57 views

Server reverts to DHCP from time to time

I have an Ubuntu 10.04 server with static IP address configuration: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static ...
2
votes
1answer
82 views

Converting iptables command to ipfw

I am trying to convert code I made on ubuntu work with osx. I do not know how to convert the iptables commands to ipfw commands. Any help would be appreciated. Ubuntu Code: echo 1 > ...
2
votes
0answers
147 views

With CentOS 6 and LXC, “ifconfig” is unable to see network interface (but busybox “ifconfig” works fine)

I've just started working with LXC under CentOS 6 (via the libvirt adapter). If I create an LXC container, I'm unable to see any network interfaces when using the native system tools: # ifconfig -a ...
0
votes
0answers
36 views

ask about “teql0” from ifconfig in linux

I have an embedded target device with cross-compilation development settings (ELDK). I happened to use ifconfig to see the ethernet interfaces on the embedded OS. Besides, the eth/lo interfaces, I see ...
0
votes
1answer
62 views

Problem configuring Network aliases

Struggling a bit trying to work this out. I'm on a Centos 5.5 VPS with multiple IP addresses. I've setup the IP address alias for eth0 (eth0, eth0:1, eth0:2, eth0:3, eth0:4, eth0:5), each with a ...
1
vote
1answer
101 views

different MTU sizes for bond aliases

I have a bond interface but I want to change the MTU to 1500 only for bond9:22 Is this possible? bond9:22 Link encap:Ethernet HWaddr 00:0E:0C:E4:BE:F9 inet addr:10.7.18.58 ...
0
votes
1answer
80 views

openvpn: client access policies

I'm trying to setup client access policies, akin to what is described in openvpn documentation. The configuration will use tun device in the above example, it seems the only thing restricting ...
0
votes
1answer
185 views

openvpn: after changing to server mode, client does not create TUN device

i had a previously working configuration with the config files used in a previous question However, i've changed this now to the following configuration using server mode, everything on the logs seem ...
2
votes
4answers
145 views

Portable way to get list of all active network interfaces

I would like to get the list of all active network interfaces (e.g. eth0, wlan0). I assume I'll have to parse the output of ifconfig, but the formatting is different across the various OS's. Does ...
0
votes
2answers
177 views

Why can I listen on an IP not listed by ifconfig?

I'm putting my hands on a legacy system (a Xen cluster) and I'm trying to understand its architecture. It seems that there are services listening on an IP (say, 1.2.3.4) that doesn't show up in ...
1
vote
3answers
228 views

Dropped packets in Linux

I'am using a machine as a router, it works sort of fine, however if I do a ping -t whatever.server it will always cause a 3-4% package loss, no matter what server. Looking at ifconfig or netstat -i ...
1
vote
1answer
153 views

Setting up virtual networks in vmware workstation 6

I've been googling this for hours and I seem to be confused. If anybody could give me a link or point me in the right direction it would be appreciated. I'm using vmware workstation 6. I have three ...
2
votes
2answers
933 views

Exact meaning of RX 'errors' and 'frame' in ifconfig output?

I'm seeing network problems with a (RHEL) node (packets dropped), which also seem to manifest themselves by a non-zero count of the 'error' and 'frame' fields in ifconfig output: eth2 Link ...
1
vote
1answer
518 views

configuring two network interfaces in ubuntu 10.04.1

I have got two NICs configured on a VM - each is tied to a specific network, one is a DMZ, the other is an internal network. I want MySQL to listen on the internal network only and Apache on the DMZ ...
2
votes
6answers
632 views

Ifconfig Alias Address Assigned by DHCP

I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP ...
1
vote
1answer
853 views

eth0:0 is configured but not listed in ifconfig output

I have the following problem: My server was given two IPs from [b]different[/b] subnets. Now I am trying to configure the system to work properly. I have created [root@server ~]# cat ...
4
votes
3answers
820 views

What does ifconfig promisc mode do, or promiscuous mode in general?

This is what man ifconfig has to say about it. [-]promisc Enable or disable the promiscuous mode of the interface. If selected, all packets on the network will be received by the ...
1
vote
3answers
195 views

Network Configuration

This is my situation: Router A: IP 192.168.1.1 Mask 192.168.1.0/24 - Connected to the internet. Server: - Interface eth0: inet addr:10.1.1.125 Mask:255.255.255.0 (connected to router B) - ...
0
votes
3answers
244 views

Can't get an IP address

I'm running Ubuntu 9.04. I have an onboard network card. The computer usually boots perfectly, but today, I don't have an IP address. The light is on, on the network card as well as the switch. Other ...
2
votes
7answers
1k views

Correct way of bringing network interface down in linux

For example: $ ifconfig dummy0 up $ ifconfig dummy0 "192.168.1.190 netmask 255.255.255.0" Calling ifconfig with no parameters shows the interface dummy0 Link encap:Ethernet HWaddr ...