Sponsored Content
Full Discussion: ifconfig ge0 plumb
Operating Systems Solaris ifconfig ge0 plumb Post 302660099 by coolboys on Friday 22nd of June 2012 05:30:33 AM
Old 06-22-2012
ok . that is 880 server .. assume eri0 is your interface and connect to lan cablr to interface .. otherwise you try
ifconfig eri0 plumb or
ifconfig ce0 or ce1 plumb
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

2. OS X (Apple)

ifconfig

Hi, I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me? Thx. (0 Replies)
Discussion started by: Jariya
0 Replies

3. Solaris

Before plumb the network interface.....

I know that I could use the #ifconfig hme0 plumb to activate the network interface. However, how can I know the name of the interface e.g. hme0 before I could use the ifconfig to plumb it up? I know there is a command (but I forgot it) to use in the Sparc version when you are in the... (7 Replies)
Discussion started by: heero
7 Replies

4. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

5. IP Networking

/etc/hosts changes when ifconfig......

Hello everyone. Im using last redhat enterprise edition and in my working environment, i'm always reconfiguring both interfaces , eth0 and eth1, everytime i change any interface, (i use ifconfig to change ip, and after i execute "/etc/init.d/network restart") my "/etc/hosts" file... (9 Replies)
Discussion started by: trutoman
9 Replies

6. Solaris

cannot plumb nxge on T5240

its a fresh installation. during the OS setup, it did not prompt for IP, netmask and gateway. using Solaris 10 08/07 update 4. I tried to plumb manually but encountered no such interface error. but nxge interfaces can be greped from the /etc/path_to_inst file. getting similar error on... (3 Replies)
Discussion started by: incredible
3 Replies

7. Linux

ifconfig - information

Hi All, I need some info on ifconfig. ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux. 1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Discussion started by: ahamed101
2 Replies

8. Shell Programming and Scripting

not able to run ifconfig

Unable to run the ifconfig in my home dir.. I did add adding /sbin and /usr/sbin in th PATH But still unable to get that .. Am using red hat linux cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) (3 Replies)
Discussion started by: mail2sant
3 Replies

9. Solaris

Ifconfig command ?

What would be the command to remove the IP address from an interface? I want to remove the ip from this interface: ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5 inet 155.216.13.74 netmask fffffff0 broadcast 155.216.13.79 ether 0:3:ba:da:a6:96 (3 Replies)
Discussion started by: Kjons76
3 Replies

10. Solaris

ifconfig hme0 plumb not working

Hiii folks,, I am unable to configure NIC using hme0 command. I am getting an error message as "hme0: File or directory not found.." can someone help me... Bhagi... (9 Replies)
Discussion started by: bhargav90
9 Replies
if_nametoindex(3SOCKET) 				     Sockets Library Functions					   if_nametoindex(3SOCKET)

NAME
if_nametoindex, if_indextoname, if_nameindex, if_freenameindex - routines to map Internet Protocol network interface names and interface indexes SYNOPSIS
cc [ flag... ] file... -lsocket [ library... ] #include <net/if.h> unsigned int if_nametoindex(const char *ifname); char *if_indextoname(unsigned int ifindex, char *ifname); struct if_nameindex *if_nameindex(void); void if_freenameindex(struct if_nameindex *ptr); PARAMETERS
ifname interface name ifindex interface index ptr pointer returned by if_nameindex() DESCRIPTION
This API defines two functions that map between an Internet Protocol network interface name and index, a third function that returns all the interface names and indexes, and a fourth function to return the dynamic memory allocated by the previous function. Network interfaces are normally known by names such as eri0, sl1, ppp2, and the like. The ifname argument must point to a buffer of at least IF_NAMESIZE bytes into which the interface name corresponding to the specified index is returned. IF_NAMESIZE is defined in <net/if.h> and its value includes a terminating null byte at the end of the interface name. if_nametoindex() The if_nametoindex() function returns the interface index corresponding to the interface name pointed to by the ifname pointer. If the specified interface name does not exist, the return value is 0, and errno is set to ENXIO. If there was a system error, such as running out of memory, the return value is 0 and errno is set to the proper value, for example, ENOMEM. if_indextoname() The if_indextoname() function maps an interface index into its corresponding name. This pointer is also the return value of the func- tion. If there is no interface corresponding to the specified index, NULL is returned, and errno is set to ENXIO, if there was a sys- tem error, such as running out of memory, if_indextoname() returns NULL and errno would be set to the proper value, for example, ENOMEM. *if_nameindex() The if_nameindex() function returns an array of if_nameindex structures, one structure per interface. The if_nameindex structure holds the information about a single interface and is defined when the <net/if.h> header is included: struct if_nameindex unsigned int if_index; /* 1, 2, ... */ char *if_name; /* null terminated name: "eri0", ... */ }; The end of the array of structures is indicated by a structure with an if_index of 0 and an if_name of NULL. The function returns a null pointer upon an error and sets errno to the appropriate value. The memory used for this array of structures along with the inter- face names pointed to by the if_name members is obtained dynamically. This memory is freed by the if_freenameindex() function. if_freenameindex() The if_freenameindex() function frees the dynamic memory that was allocated by if_nameindex(). The argument to this function must be a pointer that was returned by if_nameindex(). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl (32-bit) | +-----------------------------+-----------------------------+ | |SUNWcslx (64-bit) | +-----------------------------+-----------------------------+ |MT Level |MT Safe | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), if_nametoindex(3XNET), attributes(5), if(7P) SunOS 5.10 12 Dec 2003 if_nametoindex(3SOCKET)
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy