Computing.Net > Forums > Networking > IP Interface index

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

IP Interface index

Reply to Message Icon

Name: Badarinath Sharma
Date: October 17, 2007 at 02:35:31 Pacific
OS: WIN NT, LINUX
CPU/Ram: NA
Product: NA
Comment:

Hi,
I want to know how to get the IP interface index. I assume it should be something like eth0/eth1 on linux. But not sure.
My question:
What is IP interface index of a perticular Ethernet interface means?
How to get this detail programmatically on LINUX/WIN NT?




Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: October 17, 2007 at 06:33:22 Pacific
Reply:

To get the interface name on a linux box type:

ifconfig

On Windows, you can either view the properties of "My Network Places" (XP), or open a command prompt window and type:

ipconfig /all

I'm not sure what you mean by index but those will show you the "name" of the interface.


0

Response Number 2
Name: Curt R
Date: October 17, 2007 at 06:42:33 Pacific
Reply:

I forgot to add, for more detailed info on the

a) ifconfig command

type:

man ifconfig

b) ipconfig command

type:

ipconfig /?


0

Response Number 3
Name: tonysathre
Date: October 18, 2007 at 04:59:29 Pacific
Reply:

ipconfig /all | findstr /i "description"

"Computer security." — Oxymoron


0

Response Number 4
Name: jefro
Date: October 19, 2007 at 14:47:50 Pacific
Reply:

Depends on the distro and the card and driver. You would need to know more about each.

A very general rule is that eth0 would be the onboard while eth1 is the first adapter.

Even different distro's use ifconfig a bit differently.


I read it wrong and answer it wrong too. So get off my case you peanut.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: IP Interface index

ip to ethernet mac interfacing www.computing.net/answers/networking/ip-to-ethernet-mac-interfacing/13559.html

Local/Remote IP ? www.computing.net/answers/networking/localremote-ip-/18799.html

remote access & XP -HELP!! www.computing.net/answers/networking/remote-access-amp-xp-help/10264.html