The ifconfig tag has no wiki summary.
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
44 views
Changing IP address of current server
I have VM with IP address 10.10.10.99 how do I change the IP address to something else for e.g. 10.10.10.100 ? I have pinged to 10.10.10.100 and there is no such server in the network. Is there any ...
0
votes
2answers
56 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 > ...
6
votes
1answer
64 views
What is, and what problems result in a 'carrier error'
I haven't found a really clear definition about what a 'carrier error' is within the context of the ifconfig output for a interface. I have been searching on Google and there really isn't a great ...
2
votes
0answers
145 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
...
1
vote
1answer
77 views
FreeBSD netstat -di, Idrop vs Drop and drop count from NIC or kernel?
On FreeBSD what's the difference between Drop and Idrop in the netstat output?
$ netstat -di
Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop
bge0* 1500 ...
4
votes
4answers
347 views
Server answers only on one IP. Why?
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:25:90:60:1B:FC
inet addr:10.0.47.42 Bcast:10.255.255.255 Mask:255.255.255.248
inet6 addr: fe80::225:90ff:fe60:1bfc/64 ...
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 ...
1
vote
3answers
97 views
interface id for ethernet card
My PC (CentOS)has one ethernet card 1, linked to the internal company network for internet surfing etc., and another ethernet card 2, linked with an embedded device for programming.
Each time, when ...
0
votes
1answer
26 views
Configuring ip, subnet and gateway on eth interface
I'm in terminal on RedHat 5 and I need to configure one of the two eth interface with different IP, GATEWAY and SUBNET.
I know ifconfig and route add but I'm not sure what I have to do for ...
3
votes
2answers
270 views
Configure static IPv6 on Ubuntu
I'm trying to configure IPv6 on a dedicated Ubuntu server. My provider gave me a "/64" (whatever that is - I'm still confused) of IPv6 addresses.
However, when I try to use them, I can't ping ...
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
89 views
getting multicast on a virtual interface on linux
I create a virtual network interface with:
ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0
but when I ping the multicast address:
ping 224.0.0.1
my virtual interface does not respond.
Why?
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 ...
2
votes
2answers
3k views
CentOS ifcfg-eth0 config file deleted. Utility to recreate it?
On CentOS I no longer have a ifcfg-eth0 configuration file (I deleted it). When I run system-configure-network it shows no interfaces that I can edit. How can I recreate the ifcfg-eth0 configuration ...
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
174 views
Reported bandwidth usage differs between iproute2 and ifconfig
My group has a server set up to image our workstations using FOG. I was a bit curious to see how much bandwidth we were using. When I run ifconfig eth0, the TX/RX lines read
RX packets:166949376 ...
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
1answer
870 views
Cannot set a static ip in Solaris(OpenIndiana)
I am running this command:
ifconfig e1000g0 192.168.0.1
I have done over 50 variations with unplumbing/plumbing, up/down, netmask, and broadcast. Doesn't matter cause ifconfig e1000g0 always shows ...
0
votes
2answers
250 views
Can not run ifconfig like commands via browser
Problem is I cannot run "ifconfig" or similar commands via browser.
Environment:
Programming language : python
Server : lighttpd(CGI) , running on busybox.
Well machine is really small and so I ...
0
votes
0answers
148 views
NET-SNMP behaviour and message format
I have issued the following command on my server
/usr/sbin/snmptrapd -f -Lo udp:3435
Then the server waits for an snmptrap message from client
with the following message
NET-SNMP version 5.3.1
...
4
votes
1answer
225 views
Strange ifup/ifdown behaviour on Debian Lenny
First of all, here is my /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.4.142
netmask 255.255.255.0
gateway 10.10.4.1
auto eth1
iface ...
0
votes
3answers
678 views
RTNETLINK answers: Invalid argument
When my system boots up it shows the following message.
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: RTNETLINK answers: Invalid argument
[ OK ]
Bringing up interface eth1: ...
1
vote
5answers
415 views
Change the order of IP addresses returned by ifconfig?
I have an Ubuntu server with several IP addresses attached to it. 127.0.0.1 is listed as venet0 by ifconfig. I'm using Chef to configure the server. The problem is that chef is listing 127.0.0.1 as ...
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
929 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
2answers
696 views
FreeBSD 8.0 “Watchdog Timeout” drops ethernet connection
Recently my FreeBSD 8.0 (GENERIC) box was hit with a large amount of requests from an IP in Taiwan, trying to guess passwords and all of that stuff. Anyway, long story short, I noticed at a certain ...
2
votes
6answers
630 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 ...
0
votes
1answer
208 views
ASA >> Switch >> Server WAN/LAN Routing to NIC ports
I bought a Dell R610 to setup VMware ESXi -- the server has 2X dual port NICs. Normally with a single dual port NIC I assign my WAN IPs to eth0 and LAN IPs to eth1.
With the new server I'd like to ...
2
votes
1answer
535 views
ifconfig showing wrong RX/TX byte count
ifconfig tells for eth0 some RX = 2,8GB, TX = 1,3GB value that cannot be real, since I recently transmitted many 10GB+ files over eth0. I would like to know
if that's just some ordinary integer ...
5
votes
3answers
818 views
Why does ifconfig reset the default gateway route?
In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature?
As fas as I remember Linux ...
1
vote
1answer
852 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 ...
0
votes
1answer
287 views
Where Debian Lenny stores initial ifconfig values?
With upgrade of VMWare Player I suddenly found my Debian Lenny VM not getting IP address. Some DHCP issue maybe, I don't know. So I have to set it manually every boot in Player window, via:
ifconfig ...
1
vote
2answers
431 views
Routing data through VPN in linux
I think its a silly question but still here it goes..
Terminal Output:
eth0 Link encap:Ethernet HWaddr 00:1c:c0:37:5e:25
inet addr:10.100.98.51 Bcast:10.100.98.255 ...
1
vote
3answers
786 views
configuring network interfaces on redhat linux
I'm trying to configure the ip address, broadcast and subnet mask of a series of interfaces. However, I'd like to configure the IP Address independent of the broadcast address and vice versa. In other ...
4
votes
3answers
819 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)
- ...
2
votes
4answers
141 views
ifconfig dirties inode on proc (Linux)
I'm currently checking HD access with the following
echo 1 > /proc/sys/vm/block_dump
tail -f /tmp/syslog
and this log message pops up once in a while:
Aug 31 22:44:18 Frasse kernel: [ ...
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
6answers
1k views
BASH script that tests for IP
Is there an elegant way to test an IP address in a BASH script? I could do ifconfig and narrow down the IP using sed/awk, but I think there is a simpler solution.
My application is basically using ...
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 ...
2
votes
4answers
5k views
How can I reset the statistics reported by ifconfig?
I'm trying to trace a possible link problem on one of our servers' ethernet interfaces. ifconfig reports a large number of error packets. I've asked the hosting company to make some changes to the ...
1
vote
5answers
2k views
How to list all the ip addresses of a server
When I type ifconfig, I see that my server has an new ip address each day. The ip addresses belong to a set of ip addresses.
How do I find out all the ip addresses of my server?