Sponsored Content
Full Discussion: Have a static IP for net0
Operating Systems Solaris Have a static IP for net0 Post 302818155 by GP81 on Friday 7th of June 2013 04:02:03 AM
Old 06-07-2013
HuaMin is it some kind of joke?
There is section "Manual Network Configuration" in that article.
There is everything step-by-step.

Please, post output from
Code:
#dladm
#ipadm

 

9 More Discussions You Might Find Interesting

1. IP Networking

Static IP

Is it possible, and if so, how can I assign a static IP address to my RedHat 8.0 machine. I am using a Linksys router/switch with DHCP enabled. I have a small linux/windows2000 LAN at home. I want to assign a static IP so that I can setup port forwarding to my linux machine so that I can ssh into... (7 Replies)
Discussion started by: google
7 Replies

2. Programming

Static

What does this command exactly do cc -static example.c (6 Replies)
Discussion started by: wojtyla
6 Replies

3. IP Networking

static route ?

Hi, I have a machine that sits on 10.2 network. I need to ssh from this to another box that is on both 10.125 & 10.140 VLANs what should I need to do? Thanks! (3 Replies)
Discussion started by: chaandana
3 Replies

4. UNIX for Dummies Questions & Answers

Static Route

Hi, Request you to please tell me the command or the process to add the static route in redhat linux. Thanks in Advance. Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

5. Shell Programming and Scripting

How to static the average value

Hi all, Sorry I make a mistake,the title should be "How to statistic the average value " I do five times about "mv 123 to 456" and do five times about "mv 456 to 123" As we know,"time" can get the real usr sys value, I want to get the average real,usr,sys of "mv 123 to 456" and "mv 456 to... (4 Replies)
Discussion started by: yanglei_fage
4 Replies

6. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

7. Linux

Could static library include static library?

I have some static library(libxxx.a libyyy.a). And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you. example: I have zzz.c. I do ... (4 Replies)
Discussion started by: freemagic
4 Replies

8. UNIX for Dummies Questions & Answers

How to tell if i am using DHCP or Static

Hey guys , YEs this is probably silly for most but i am new to this forum and solaris . i am curious to know if the ip address we have for our solaris server is static or dhcp . how can i tell ? will ifconfig -a tell me this ? or other commands? Thanks in advance (1 Reply)
Discussion started by: xdrivex
1 Replies

9. Programming

Even the Static cURL Library Isn't Static

I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies
NNTPXMIT(1)						      General Commands Manual						       NNTPXMIT(1)

NAME
nntpxmit - transmit netnews articles to a remote NNTP server SYNOPSIS
nntpxmit [ -a ] [ -d ] [ -s ] [ -r ] [ -T ] [ -F ] [ -D ] hostname|hostname:file [...] DESCRIPTION
Nntpxmit offers netnews articles [RFC850] named in a queue file (a file of filenames) to a remote NNTP (Network News Transfer Protocol, [RFC977]) server, transmitting those articles that the remote server indicates that it does not already have. The command line arguments a processed sequentially, and the flags can thus be toggled several times during one invocation of the program, by giving the options more than once. The options are: hostname|hostname:file The name of the remote host, and the name of the queue file of articles destined for that host. The hostname may be an internet address in dotted format (e.g. 10.2.0.78, [10.0.0.78]). If the hostname is given without an associated file, it is assumed that the hostname is also the name of the queue file. If the separator is "::" instead of ":", it is assumed that the remote host speaks DECNET, instead of the default, IP/TCP. -s Toggles reporting of transfer statistics (how many articles we offered them, how many they accepted, etc). Default is ON. -d Toggles DEBUG output on stderr. This can be used to see exactly what the two systems are saying to each other, except for the actual article text. Default is OFF. -r Toggles requeuing of failed articles. A failed article is an article that we (client) offer them (remote server), they accept, we transmit, and then they report that they "failed" or dropped the article (i.e. inews(1) on the remote returned non-zero). If we have requeuing set, we save the list of articles that they failed on, and rewrite the queue file with them, so that they get reof- fered the next time we initiate transmission to them. Default is ON. -a This flag says that the next queue file on the command line isn't a queue file, but is a single netnews article to be transmitted to the remote in a single operation. NOTE: this option causes nntpxmit to exit immediately after this transfer is done (regardless of whatever else is on the command line), and to exit with a code indicating whether the articles was successfully accepted by the remote server (zero exit for suc- cess, non-zero for failure). The next options set the underlying transport protocol that nntpxmit uses. The NNTP specification assumes a TCP-style transport protocol underlies it (i.e. a reliable, flow-controlled, full-duplex byte stream). Nntpxmit assumes that after doing some magic to get a descrip- tor, it can do read(2) and write(2) calls (and use stdio) to move data and check for errors. By default, nntpxmit will use IP/TCP (DoD Internet Protocol suite). -T Sets transport protocol to IP/TCP for all remaining transfers (unless reset by other transport flags). Default transport. -D Sets transport protocol to DECNET for all remaining transfers (unless reset by other transport flags). NOTE: using "::" as the hostname/queue filename separator has the same effect. -F This says that the hostname is a file descriptor number, already open to a remote server (with some reliable protocol underneath) that was passed to nntpxmit through a fork(2). THEORY OF OPERATION
Nntpxmit implements an interactive ihave/sendme transmission system. Roughly, the protocol is 1. open the article, fetch out the message-id (required on all netnews articles), and send the command IHAVE <message-id> to the remote. 2. The remote will then say either "I've seen it already" or "please send that article to me." 3. If the response was negative, nntpxmit loops back to step 1 and offers the next article (until queue file EOF). Otherwise, nntpxmit will send the article, using SMTP [RFC821] text transmission conventions (i.e. CRLF line terminators, and dot escaping). 4. Nntpxmit waits for the remote to say whether the article was successfully accepted or not. If the answer is negative and requeuing of failed articles is enabled, nntpxmit will queue this article's filename to be written back to the queue file at the end of the session with this remote. If the communcation link should fail (and nntpxmit detects it through a system call error return), nntpxmit will rewrite the queue file with the article filenames of the articles that it did not transmit (that is, we don't retransmit stuff we've already successfully sent and gotten back an positive confirmation that they got it). FILES
/tmp/nntpxmitXXXXXX AUTHOR
Erik E. Fair SEE ALSO
inews(1), RFC977 - Network News Transfer Protocol (NNTP), RFC850 - USENET Article Format standard, RFC821 - Simple Mail Transfer Protocol (SMTP), BUGS
Always requeuing failed articles can lead to beating the remote to death with a list of articles that he can't accept for come structural reason. How many of these have to pile up before you should declare that something is seriously wrong with the remote system and stop try- ing? While nntpxmit will lock a queue file (your version of UNIX permitting) against multiple invocations of itself, there is no locking with inews(1), which is what writes the queue files in the first place. Therefore, never use nntpxmit on the queue files that inews(1) writes, because two processes writing into the same file without some kind of cooperation will almost certainly trash the file; move them to some other name that inews(1) knows nothing about, so that you won't lose articles to races between inews and nntpxmit. Adding inews(1) compatible locking to the C code would be much more trouble than it's worth, and violates the KISS principle besides. netnews/NNTP NNTPXMIT(1)
All times are GMT -4. The time now is 10:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy