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

learn more… | top users | synonyms

1
vote
2answers
1k 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 ...
1
vote
1answer
5k 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 ...
1
vote
1answer
549 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 ...
1
vote
1answer
380 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 X@Y:~...
1
vote
1answer
273 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
2answers
356 views

Ethernet and PPPoE conflict with each other

I have an old computer in my dorm room. It acts as a gateway and traffic-shaper (htb) for me and my roommates. Debian is installed into it. It has been working quite good for a year. Nothing ...
1
vote
1answer
766 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 00:...
0
votes
3answers
96 views

What is the IP address of my home computer from the perspective of the outside world? [duplicate]

What is the IP address of my home computer from the perspective of the outside world? I need this in order to grant myself permissions to connect to a mysql database on a work server. I'm working on ...
0
votes
3answers
167 views

ipconfig \all, not working on linux fedora

I am new to linux. I am trying to run "ifconfig" on linux fedora. It is working but when I run "ifconfig \all" or "ifconfig /flushdns",it gives me error i.e. "device not find", even if i try as super ...
0
votes
2answers
344 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
1answer
564 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
821 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 38:72:c0:cc:...
0
votes
2answers
933 views

Slackware cannot reconnect to local network

Hi guys this problem is frustrating me. After trying a lot of things to setup my wireless card, I decide to test it by shutting down LAN interface ifconfig eth0 down. Then, when I turn the LAN ...
0
votes
1answer
148 views

Fixed ppp interface name?

I have many pptp vpn tunnels or servers to connect to and linux would assign ppp0 for the 1st connection, ppp1 for 2nd connection and so on. I need the interfaces to be fixed so i can forward the ...
0
votes
1answer
5k 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 ...
0
votes
1answer
393 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 ...
0
votes
2answers
104 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 ...
0
votes
2answers
7k views

How can I remove a network interface from being listed in Linux?

A software I use gets confused if there is irda0 (or some other uncommon device) in the ifconfig -a output. What is the easiest way of preventing that device from getting listed? I'm looking for an ...
0
votes
1answer
23 views

Piping stdout from a command to stdin of two commands in sh

tee [using >()] command is not working because it is not supported in sh (bourne shell). What I am trying to achieve is sending the output of "ifconfig -a" to two different commands. This is my ...
0
votes
1answer
709 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
1k 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
2answers
79 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
1k 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 /etc/network/...
0
votes
2answers
1k 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 USB-...
0
votes
3answers
2k views

Assigning static IP address to Debian machine?

I don't know how to use a static IP address on a Debian machine. Can anyone help? I have the static IP address 83.222.248.100. This is what I've tried: $ cp /etc/network/interfaces /etc/network/...
0
votes
1answer
1k views

What layer does ifconfig operate at?

What layer does ifconfig operate at when setting a MTU. Does it set the MTU for the physical device (Network Interface Layer) or the MTU of the packet (Internet Layer)? By executing ifconfig eth0 ...
0
votes
1answer
9k views

ifconfig return “unknown interface: no such device”

I'm trying to install a Linux driver for my wireless network card (D-Link DWL-G510) on my Red Hat Linux 7.1 machine with a 2.4.37.9 kernel. I downloaded the serial monkey driver from the sourceforge ...
0
votes
1answer
19 views

wlan1 showing as weird characters

When I do ifconfig, it shows wlan1 as wlanx00c0ca8476b6 What in the world is this gibberish? Note: This is showing up for my usb wifi adapter. My internal wlan0 shows up fine. Note: I did an ...
0
votes
1answer
68 views

Linux + why dropping issue displayed from ifconfig but not from ethtool?

we have Linux VM red hat 7.2 version with two LAN interfaces the Linux machines are ruining on ESXi - 5.5.0 and we have very strange issue , the conflict is between the ifconfig command to ethtool ...
0
votes
0answers
35 views

No internet connection after reboot

I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' ...
0
votes
0answers
26 views

ifconfig en1 inet 4 IP address only (no netmask or broadcast address)

Is there an elegant way to get just the inet 4 IP address from ifconfig en1, i.e without the netmask and broadcast address? The only way I can get this info currently is: ifconfig en1 | grep inet | ...
0
votes
0answers
19 views

Why are there so many network interfaces in OS X? [duplicate]

The ifconfig command prints this output: lo0 gif0 stf0 en0 en1 fw0 en2 bridge0 p2p0 vnic0 vnic1 Is it normal to have all these interfaces?
0
votes
0answers
141 views

ifconfig shows no active connection (Mac os X)

I'm running os x 10.9.1. In terminal, just ran the ifconfig command, and despite having an active internet connection via USB dongle, none of the interfaces read any inet or inet6 address (except lo0),...
0
votes
0answers
39 views

Will dead network hardware still show up in Ubuntu ifconfig?

I have an Intel NUC and I suspect the onboard ethernet port died, but I'm surprised it still shows up in Ubuntu as eth0 in ifconfig. Is this behavior to be expected, or should I suspect some other ...
0
votes
0answers
74 views

How to create new localhost interface in Windows?

In *unix you can write: sudo ifconfig lo0 127.0.2.1 up But how to do this command line in Windows?
0
votes
1answer
354 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
0answers
134 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\ ...
0
votes
1answer
359 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
175 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
1answer
268 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
762 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 ...
0
votes
0answers
913 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 ...
0
votes
1answer
178 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 ...
0
votes
0answers
991 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 ...
0
votes
1answer
735 views

why does “ipconfig getifaddr ppp0” fail?

I am trying to find my IP on VPN (PPTP) so I tried "ipconfig getifaddr ppp0" but it gave me "get if addr ppp0 failed, (os/kern) failure." Why does it fail and what should I do instead? ifconfig shows ...
0
votes
4answers
118 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) - Interface ...
-1
votes
1answer
128 views

what is the difference between eth1 and eno1?

What is the difference between the network interface name ethX (e.g. eth1) and enoX (e.g. eno1), given by ifconfig or lshw ?
-1
votes
1answer
166 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 ...