Sponsored Content
Operating Systems Solaris How to force the IP address working right now? Post 302177143 by DukeNuke2 on Thursday 20th of March 2008 06:31:15 AM
Old 03-20-2008
if you are on solaris 10 please post also the output of

dladm show-dev
and
dladm show-link

Last edited by DukeNuke2; 03-20-2008 at 03:50 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

BCC address not working (mimesender)

I modified the following mimesender script so I can send also to BCC adresses: https://www.unix.com/showthread.php?t=17065 Everything is working and correct. Except the email address(es) in BCC are not delivered. When I set the debug-mode ON I can see the BCC header and when I receive the... (1 Reply)
Discussion started by: michaelv
1 Replies

2. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

3. UNIX for Advanced & Expert Users

netlink: NLM_F_REPLACE not working on address???

Am I missing something, or does RFC 3549 suggest that the NLM_F_REPLACE flag should apply to any netlink message header? In other words, routes/links/ipv6-lifetimes should not be the only things that can be affected by the flag. The reason I ask is that it seems impossible (from looking at the... (0 Replies)
Discussion started by: jjinno
0 Replies

4. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

5. Solaris

How to force Sendmail to Rewrite Sender Address?

Need to change sender email id from applmgr@<hostname>.<domain-name> to applmgr@domain-name. Understand we can change in the sendmail.cf where $j is the hostname.domain-name.. can anyone show the exact value to change? Thank you. (8 Replies)
Discussion started by: KhawHL
8 Replies

6. Shell Programming and Scripting

Search IP Address in list of ranges -- not working great

I have been struggling with a script to automate some security related activities. I have it pretty much working, all except the search. I have an input file formatted as such: 216.234.246.158 216.234.246.158 `` 24.249.221.22 24.249.221.200 `` 24.249.226.0 ... (4 Replies)
Discussion started by: tsunami4u
4 Replies

7. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

8. Shell Programming and Scripting

Sed: deleting last line prevents '$' address from working in the multi-script invocation

It looks like if matching and deleting the last line confuses 'sed' so it does not recognize '$' address. Consider: sed -e '/^3/d' -e '$ a text' supposed to delete a line starting with '3' and then append 'text' after the last line of input. But, if it is the last line of input which starts... (2 Replies)
Discussion started by: msz59
2 Replies

9. UNIX for Beginners Questions & Answers

Mail command not working for Long Email Address with Dashes

My company has an email user group email address name that has 35 characters in front of the @ symbol where two of them are dashes. For some reason the mail command fails to send email to this address when I invoke it from the Linux command line. I don't understand the reason for the failure. Below... (5 Replies)
Discussion started by: Phil44
5 Replies

10. Shell Programming and Scripting

Grep -w ip address from a file isnt working need help

I have a file "file1" that contains several ip address , and the "file2" contains several records , each line in file2 contains somewhere the ip address that i am searching in the file1 I use the unix command grep -w for i in `cat file1` do grep -w "$i" file2 >> file3 done ... (9 Replies)
Discussion started by: knijjar
9 Replies
inet(3N)																  inet(3N)

NAME
inet: inet_addr(), inet_lnaof(), inet_makeaddr(), inet_netof(), inet_network(), inet_ntoa(), inet_ntoa_r() - Internet address manipulation routines SYNOPSIS
Remarks The routine is described in the section below. DESCRIPTION
Interpret character strings representing numbers expressed in the Internet standard "dot" notation. returns numbers suitable for use as Internet addresses. returns numbers suitable for use as Internet network numbers. Return values can be assigned to a (defined in by using a technique similar to the following: Take an Internet address and return an ASCII string representing the address in dot notation. Take an Internet network number and a local network address and construct an Internet address from it. Break apart Internet host addresses, returning the network number part. Break apart Internet host addresses, returning the local network address part. All Internet addresses are returned in network order (bytes ordered from left to right). All network numbers and local address parts are returned as machine-format integer values. Bytes in HP-UX systems are ordered from left to right. Internet Addresses Values specified using dot notation take one of the following forms: When four parts are specified, each is interpreted as a byte of data and assigned, from left to right, to the four bytes of an Internet address. When a three-part address is specified, the last part is interpreted as a 16-bit quantity and placed in the right-most two bytes of the network address. This makes the three-part address format convenient for specifying Class B network addresses, as in When a two-part address is supplied, the last part is interpreted as a 24-bit quantity and placed in the right-most three bytes of the net- work address. This makes the two-part address format convenient for specifying Class A network addresses as in When only one part is given, the value is stored directly in the network address without any byte rearrangement. All numbers supplied as parts in dot notation can be decimal, octal, or hexadecimal, as specified in the C language (i.e., a leading 0x or 0X implies hexadecimal; a leading 0 implies octal; otherwise, the number is interpreted as decimal). In a multithreaded application, uses thread-specific storage that is re-used in each call. The return value, the character string, should be unique for each thread and should be saved, if desired, before the thread makes the next call. Obsolescent Interfaces The following reentrant interface has been moved from to It is included to support existing applications and may be removed in a future release. New multithreaded applications should use the reg- ular API (those without the suffix.) The reentrant interface functions the same as the regular interface without the suffix. However, expects to be passed the address of a character buffer and will store the result at the supplied location. If the buffer is of insufficient length, is returned. If the opera- tion is successful, the length of the result string (not including the terminating null character) is returned. RETURN VALUE
The routines return values as described in the section. and return for malformed requests. WARNINGS
The return value from the function cannot distinguish between a failure (and a local broadcast address (255.255.255.255). This can be han- dled by using the function instead of the function. AUTHOR
The routines were developed by the University of California, Berkeley. SEE ALSO
gethostent(3N), getnetent(3N), inet6(3N), hosts(4), networks(4), thread_safety(5). inet(3N)
All times are GMT -4. The time now is 06:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy