Tagged Questions

0
votes
1answer
64 views

IP Config resets to default settings in Linux every night

I have a linux server (centos 5) which for the past 2-3 weeks has been resetting it's ip config information to a local ip (192.168.x.x). In /etc/network/interfaces I have: auto lo iface lo inet ...
0
votes
0answers
32 views

What does `ec` mean in `HWaddr ec`? [closed]

When I do ifconfig on my laptop I get HWaddr ec and than an address, this is next to eth0. Note that my IPv4 address only appears next to eth1 so I assume my laptop uses the eth1 network interface. I ...
0
votes
1answer
53 views

Linux ifcfg network script configuration for RedHat/Fedora/Centos

I've been a long time Linux user and would like to know where I can find the ifcfg network script documentation (interface configuration?) (not just some tutorial; I want official documentation)? I ...
0
votes
3answers
80 views

Linux ifconfig command ip address , subnet mask permanent

I would like to change my ip address and subnet mask with the following command: ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up and route add default gw 192.168.1.1 when I reboot my linux it's ...
0
votes
2answers
72 views

No route to host in different subnet

My new employer has two subnets, x.y.74.* (with default gateway x.y.74.33) and x.y.75.* (with default gateway x.y.75.1). The .75.* subnet is reserved for servers, i.e. machines that offer services to ...
1
vote
2answers
157 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
62 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
140 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 > ...
3
votes
0answers
247 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
47 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
91 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
135 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
104 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
281 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
181 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
238 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
263 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
166 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
1k 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
572 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
731 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
964 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
951 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
198 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
261 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
8answers
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 ...