a command from Linux POSIX operating system able to give information about the IP network.

learn more… | top users | synonyms

0
votes
1answer
63 views

ifconfig, ethernet device name too long and get truncated, how do I know the actual name?

I'm trying openSUSE 13.1 x86, but immediately encounter an annoying problem. In this openSUSE version, compared to 12.2, ifconfig does not show network device name as eth0, eth1 etc, but use a ...
0
votes
2answers
55 views

ifconfig command on mac does not show IP address

When I run ifconfig, eth0 is not shown, and only en0 is displayed: >> ifconfig en0 | grep inet inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255 When I type My IP in Google, my IP ...
0
votes
0answers
746 views

Ubuntu network keeps giving Network Disconnected - You are now offline message

On the face of it, you will find that this is a common question but please read it completely to understand the specific issue that I have. I am running Ubuntu 12.04.4. I keep getting this network ...
1
vote
2answers
100 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
0
votes
2answers
211 views

Enabling eth0 or eth1 for internal network in computer without internet access

I am installing virtual box in computer without internet access. I am not sure this computer has network adapter (Ethernet) or not. I have two virtual machine which can communicate each other (I ...
0
votes
1answer
89 views

CE interface in Solaris 10 drops mac address (per ifconfig)

I recently installed Solaris 10 1/13 and proprietary TCP PEP software on a new hard drive within an old Sun v210. When the PEP software starts, the Sun's CE0 interface loses its "ether" address, ...
0
votes
1answer
1k views

how to test a VLAN set up under OS X Mavericks

I tried to set up an "internal" VLAN, with my mac (running Mavericks) routing this segregated traffic to one of the hardware interfaces. I think this should work irrespective of how people connect to ...
1
vote
0answers
77 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
1
vote
2answers
355 views

ifupdown: interface does not get properly configured

Since some days ago, I'm suffering a traumatic problem with Debian Wheezy. Every time I boot the server, the only up interface is loopback. I have configured a static IP at /etc/network/interfaces ...
0
votes
0answers
87 views

VMware Fusion 5 Ignoring dhcpd.conf

I'm trying to set a static IP for my CentOS 6.4 VM that I'm running via VMware Fusion 5. Steps I took: ran ifconfig, copied HWaddr shut down VM. added to the end of /Library/Preferences/VMware\ ...
3
votes
1answer
383 views

`ifconfig` isn't showing stats for an alx gigabit card

So I just setup conky on my arch box for monitoring various stats on the desktop, and I'm having a small problem. The relevant text in my conky config: down $alignr ${downspeedf enp9s0} kb/s - ...
0
votes
0answers
73 views

Custom scripting between grub2 sessions - chainloading

I'd like to use grub2 for changing MAC address for eth0 before booting into the main OS. I wonder how can this be done.. I have learned about chainloading, so 1 can choose a boot entry and have it ...
1
vote
1answer
391 views

ppp0 strange default router address

I'm using 3G-modem to provide an Internet connection to my Linux box. So, when I issue ifconfig command, I see the following: ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 ...
0
votes
2answers
70 views

Check NIC is connected to a router

I have access to a remote machine which has two network interfaces, eth0 is connected to same network I am in, so I am able to connect to it. But I need to test some usecases on eth1 but I am not sure ...
0
votes
1answer
165 views

Convert ifconfig command to iproute2

I am using this ifconfig command to set IP on a network interface ifconfig eth0 x.x.x.x netmask x.x.x.x mtu 1400 Now they say that ifconfig is deprecated and I should use iproute2. I converted ...
1
vote
3answers
378 views

What is the real capacity of a network device (ethtool - MiB or MB?)

MiB = MebiByte = 1024*1024 MB = MegaByte = 1000*1000 ethtool returns speed = 1000MB/s ifconfig documentation indicated it returns units of MiB How can I tell from that ...
0
votes
1answer
1k views

How do I use a single wireless adapter for both an access point and client on raspberry pi?

I have been able to create a wireless access point (on my raspberry pi) using a usb wifi dongle using hostapd on wlan0. What I would like to be able to do is have the access point be on some virtual ...
0
votes
0answers
283 views

how to change ip address in the correct way on linux?

I'm working with wheezy. I have configured the /etc/network/interfaces file so that the wlan gets the ip address from the dhcp server. after that I have imposed a different static ip address in the ...
0
votes
1answer
87 views

What are ifconfig.me/forwarded IP addreses?

When I use the ifconfig.me service, by running the following command: $> curl ifconfig.me/forwarded I returns a list of IP addresses. does anyone know what this IP addresses are. I am behind a ...
0
votes
2answers
78 views

Linux: Any distro-independent way to change and persist IP settings?

Are there any distribution-independent mechanisms for tasks like assigning static IP addresses, adding or deleting routes, etc and, then, also be able to persist the changes so made? AFAIK, each ...
1
vote
1answer
745 views

How to set NIC in promiscuous mode on mac book air?

I am trying to run my nic on MacOSx at promiscuous mode and then use tshark / tcpdump Option1: ifconfig en0 promisc but I get this message: ifconfig: promisc: bad value Option 2: I tried sudo ...
1
vote
1answer
248 views

curl ifconfig.me and ifconfig showing different results

If I run curl ifconfig.me I get one IP, and if I run ifconfig, I get other IP's. Why is it so ?
1
vote
1answer
2k views

How to run 'ifconfig wlan0 down/up' with a comm user?

I need to run ifconfig wlan0 down and ifconfig wlan0 up with my common user. How can I perform this?
4
votes
2answers
6k views

change IP address permanently with ifconfig in debian

I know there are several tutorials on how to manually change IP settings manually, however I have yet to find a solution that fits my needs. I need to be able to script something that changes the IP ...
-2
votes
1answer
93 views

Configure the Ethernet Interface from the Command Line

I have connected to a Virtual Server with an SSH client using IP address: 172.xx.xx.154/22 I have been asked to configure eth1 to 172.xx.xx.155/24 with gateway IP Address of: 172.xx.xx.1 Any help ...
1
vote
1answer
541 views

ifconfig - who decided that MAC address should be lowercase?

On some Linux computers, ifconfig displays the MAC address ("HWaddr") hex digits in uppercase. On other Linux computers, the [a-f] digits are lowercase. Why the difference? Are there two competing ...
0
votes
1answer
111 views

ip address seen in ifconfig in os x which is not present in network setting

I have a macbook and some while back I must have assigned it an ip address of 192.168.2.1 on the ethernet interface. The problem is that the ip is still seen even when I have removed it from the ...
0
votes
1answer
280 views

Network conf - ever time must set ifconfig

I need to autoconfigure network. Network Manager is removed because I need lightweight system. After system starts networks doesn't work. #service networking status networking stop/waiting #service ...
0
votes
1answer
459 views

2 NICs conflicts on Windows 7 together

I have 2 NIC's on my computer. I have connected one with a GigE camera and the other to a switch which in turn connects it to a video server. If only one device (i.e., GigE camera or video server) is ...
1
vote
0answers
195 views

What causes a TX overrun, and how to troubleshoot?

On a Linux machine acting as a router I have a large number of TX 'overruns'. The machine routes through a tunnel interface (which is where the overruns are occuring). What would cause these ...
0
votes
1answer
994 views

ifconfig ignores alias on IPv6

When I add an IPv4 address for the interface eth0:0 with ifconfig, it is created correctly: ifconfig eth0:0 add 192.168.10.10 This can be verified by ifconfig or "ip a". When I add an IPv6 address ...
2
votes
1answer
4k views

How does Mac OSX prioritize network interfaces when routing?

To give a concrete example, how does OSX choose which of these default entries from netstat -nr to route to? Destination Gateway Flags Refs Use Netif Expire 0/1 ...
0
votes
0answers
642 views

ifconfig won't let me set MAC address that doesn't begin with 00:26

I have an Intel 1000 BGN Wi-Fi card and I tried to set its MAC address to 00:00:de:ad:be:ef, but this didn't work: [root@localhost .]# ifconfig wlan0 hw ether 00:00:de:ad:be:ef SIOCSIFHWADDR: Cannot ...
2
votes
0answers
242 views

Script to join WPA2 Enterprise wifi

When I head to work with my MBP running OSX 10.7, I have to go through this series: Join Other Network Enter SSID select Security = WPA2 Enterprise generate a pw via my RSA soft token Join ...
0
votes
1answer
2k views

Install Ubuntu, eth0 not detected?

I have installed Ubuntu laptop Toshiba Satellite L640?, and I had difficulty, that is how to enable network interfaces, eth0 was not detected when running ifconfig.
0
votes
1answer
700 views

Easy persistent network config on ubuntu server

I'm having some problems configuring a static IP on my ubuntu server. What is the easiest way to configure IP, netmask, nameserver and default gateway on eth0? I've tried modifying the ...
3
votes
4answers
272 views

Three computers accessing internet but only two network interfaces showing in ´ifconfig´, why?

My gateway(router) is connected to DSL. The gateway connects to 1 wireless transceiver device. 2 fixed computers connect to the router. At the moment of me doing ifconfig 2 fixed computers were ...
0
votes
2answers
852 views

How to remove redundant inet from ifconfig in Mac OS

Lately I have assigned the en3 interface (which is in reality a USB-Ethernet converter device) the IP address of 192.168.2.1 I did this for Internet Sharing, i.e. to share the Ethernet (en0) with ...
4
votes
5answers
3k views

What cross-platform command-line tool allows me to get my external IP address?

How do I get my external IP address from the Windows and Linux command line? On Windows, ipconfig shows an internal network IP address, but it does not show the external one.
1
vote
1answer
270 views

ifconfig fails to install route if interface ip is existing broadcast address

Consider the following setup: X@Y:~$ sudo ip link add link eth0 name eth0.3 type vlan id 3 X@Y:~$ sudo ip link add link eth0 name eth0.2 type vlan id 2 X@Y:~$ sudo ifconfig eth0.2 192.168.2.1/30 ...
0
votes
1answer
538 views

why do I get a different MAC address using arp and ifconfig?

# ifconfig eth1 Link encap:Ethernet HWaddr 00:1e:8c:10:xx:xx # arp Address HWtype HWaddress Flags Mask Iface 192.xxx.x.x ether ...
0
votes
1answer
134 views

How can i set my vm to have exclusive access to my ethernet port in mac os x lion?

I have a vmware of windows 7 on osx lion. I am on a corporate network that assigns IPs via DHCP through ethernet, and i also have an airport card thats connected to a 4g hotspot. This corporate ...
1
vote
1answer
152 views

how to force an illegal netmask in ubuntu

I want to force a netmask on my Ubuntu machine. For example, I want 11.0.0.1 to get a netmask of 255.255.255.0 I tried editing /etc/network/interfaces and I forced the desired netmask, but as soon as ...
1
vote
1answer
1k views

What does eth0:cp1 refer to in ifconfig on CentOS?

I have a basic ubuntu background and am not familiar with the output of an ifconfig on a CentOS server I'm looking at, can someone explain the eth0:cp1, and eth0:cp2 entries here? How are they ...
0
votes
1answer
435 views

What does the field `Memory` mean in `ifconfig`?

I find a field Memory in the result of ifconfig command. I am not quite clear about its meaning. By googling, I get some hint from unSpawn's post on this thread that Memory indicate what memory ...
1
vote
1answer
569 views

Configure IP v6 on Linux machine

I use this command to assign a site-scope IP address: $ sudo ifconfig eth0 inet6 add fee3::216:cbff:fe94:1a86/64 $ Check it with ifconfig: $ ifconfig ... eth0 Link encap:Ethernet HWaddr ...
3
votes
2answers
204 views

How to set txqueuelen on Mac OS X

How can I set the transmit queue length for a network interface on Mac OSX? On linux the command would be ifconfig en0 txqueuelen 5 but OSX doesn't recognize txqueuelen as a valid option. Where ...
0
votes
2answers
2k views

Bash - Trying to figure out route add to mask an IP to a router/gateway

Not even sure if i worded this correctly, but here's what I'm trying to do roughly. Take an IP such as: 192.168.100.0 and mask it to 255.255.255.0, and set the gateway of that route to another IP ...
2
votes
3answers
3k views

How to restore MAC address in Linux?

I have changed my MAC address in my Linux machine using ifconfig. Now the problem is I have not saved my original MAC address. I want to restore it without rebooting. Is there a way to do it?
0
votes
0answers
853 views

why does my time warner cable modem connection enter dead period states every 20 mins?

My wifi connection (from my MacBook running Snow Leopard) to a Time Warrner cabel model and router has a recurring connection problem. Every 20 minutes or so it will enter a "dead state" where no ...