Sponsored Content
Full Discussion: ping error (DUP!)
Operating Systems Linux Red Hat ping error (DUP!) Post 302561458 by getrue on Tuesday 4th of October 2011 08:37:52 AM
Old 10-04-2011
I have configured eth0 as dhcp but there is no changed.
(DUP!) warning is still continuing.

Internal or external network doesn't matter.
192.168.30.1 is vlan gw.
192.168.30.2 is firewall ip address.

Code:
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:50:56:a9:00:2f
#

Code:
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:50:56:A9:00:2F  
          inet addr:192.168.30.11  Bcast:192.168.30.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fea9:2f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81922 errors:0 dropped:0 overruns:0 frame:0
          TX packets:600 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10026441 (9.5 MiB)  TX bytes:56194 (54.8 KiB)
          Interrupt:59 Base address:0x2000

Code:
# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.30.0    *               255.255.255.0   U         0 0          0 eth0
169.254.0.0     *               255.255.0.0     U         0 0          0 eth0
default         192.168.30.1    0.0.0.0         UG        0 0          0 eth0
#

Code:
# ping 192.168.20.10
PING 192.168.20.10 (192.168.20.10) 56(84) bytes of data.
64 bytes from 192.168.20.10: icmp_seq=1 ttl=254 time=4.03 ms
64 bytes from 192.168.20.10: icmp_seq=1 ttl=254 time=4.03 ms (DUP!)
64 bytes from 192.168.20.10: icmp_seq=2 ttl=254 time=0.734 ms
64 bytes from 192.168.20.10: icmp_seq=2 ttl=254 time=0.735 ms (DUP!)

 

9 More Discussions You Might Find Interesting

1. Programming

dup()

Would anyone be so kind to explain to me the function of dup() in UNIX? As far as I am concerned, it duplicates a file descriptor. Under what circumstances would we need to duplicate a file descriptor in a UNIX environment? Thank you. vinchen (3 Replies)
Discussion started by: vinchen
3 Replies

2. Programming

fork() and dup()

I have met this code: switch(fork()) { case 0: close(1); dup(p); close(p); close(p); execvp(<whatever>); perror("Exec failed"); } Can anyone tell me what this piece of code does? Thx alot.. (1 Reply)
Discussion started by: AkumaTay
1 Replies

3. Programming

Understanding the purpose of dup/dup2

I'm having difficulty understanding the purposes of using dup/dup2 when involving forks. for example, if we call fork() once, that is, we are creating a child process. In what cases would we need to use dup or dup2 to duplicate the file descriptors for standard output and standard error? What... (1 Reply)
Discussion started by: Yifan_Guo
1 Replies

4. Shell Programming and Scripting

Ping: redirect output and error

Hi, I use this function (now modified with elif) for check if a pc is up: check_pc() { $PING $PC 1 2> /dev/null if ; then check_dir #Other function echo "Begin backup operation for $PC" echo "$SMBTAR -s $PC -u $USER -p $PASS -x $SHARE$EXCL -t - | gzip -c >... (3 Replies)
Discussion started by: mbarberis
3 Replies

5. Programming

dup()

when i want to replace standard output with output file int out; out = open("out", O_WRONLY)p; dup2(out,1); What Shall I do in case of appending??? I am using here O_WRONLY TO WRITE.BUT IF i wanna append, whats the word? (5 Replies)
Discussion started by: joey
5 Replies

6. Shell Programming and Scripting

Identify duplicates and update the last 2 digits to 0 for both the Orig and Dup

Hi, I have a requirement where I have to identify duplicates from a file based on the first 6 chars (It is fixed width file of 12 chars length) and whenever a duplicate row is found, its original and duplicate row's last 2 chars should be updated to all 0's if they are not same. (I mean last 2... (3 Replies)
Discussion started by: farawaydsky
3 Replies

7. Shell Programming and Scripting

How to count dup records in file?

Hi Gurus, I need to count the duplicate records in file file abc abc def ghi ghi jkl I want to get below result: abc ,2 abc, 2 def ,1 ghi ,2 ghi, 2 jkl ,1 or abc ,2 def ,1 (3 Replies)
Discussion started by: ken6503
3 Replies

8. Programming

Ping test sends mail when ping fails

help with bash script! im am working on this script to make sure my server will stay online, so i made this script.. HOSTS="192.168.138.155" COUNT=4 pingtest(){ for myhost in "$@" do ping -c "$COUNT" "$myhost" &&return 1 done return 0 } if pingtest $HOSTS #100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies

9. UNIX and Linux Applications

Deja-dup make my / full. So I cannot restore my back up

The problematic directory is the following: /root/.cache/deja-dup This directory grows until my "/" is full and then the restoring activity fails. I already tried to create a symbolic link with origin another partition where I have more space. However during the restoring activity ... (4 Replies)
Discussion started by: puertas12
4 Replies
dupterm(8)						      System Manager's Manual							dupterm(8)

Name
       dupterm - DUP virtual terminal program

Syntax
       /usr/etc/dupterm

Description
       The  DUP  virtual terminal program provides access to the diagnostic and utility features of DSA (DIGITAL Storage Architecture) intelligent
       disk and tape controllers.

       Depending upon the particular controller, operations may include the execution of controller resident diagnostics and  utilities  or  those
       downloaded from the host system.

       Further	information  regarding	the  operation	of  the utility and diagnostic capabilities associated with a particular controller may be
       obtained from the appropriate documentation set for that controller.

       Once invoked, prompts the user with "DUP>> ", and waits for a command.  can be in one of three states at any time. When it is  started,	it
       is  in  state.	When  it  has established a connection to the on the remote controller, it is in the state.  When it starts execution of a
       diagnostic or utility on the remote controller, it enters the state.  In this state, user typein is normally transmitted to the remote pro-
       gram.   To  force  to interpret a command locally instead, enter a '.' character as the first character of the command line.  To transmit a
       '.' as the first character of a command line to the remote program, enter two periods as the first two characters of the command.

       The program recognizes the following commands.  Commands are case insensitive.  The minimum acceptable abbreviation  for  each  command	is
       shown in uppercase.

       Help    Displays a brief description of all commands.

       ABort   Valid only in state.  Aborts the execution of the remote program.  Enters the state.

       Connect scs-node-name
	       Valid  only in state.  Attempts to establish a connection to the SCS node named If successful, enters the state. Use the command to
	       get a list of available SCS nodes.

       ^ char  Valid in state.	Sends a control character to the remote program.  The space between the "^" and is ignored.

       DIsconnect
	       Valid only in states or Breaks the connection.  If a remote program was executing, terminates it as well.

       Dust    Valid in states or Issues a GET DUP STATUS command to the connected controller, and displays the results.

       INFO    Valid in all states.  Displays SCS related information, such as the node names and their SCS id's.

       LOG [log-file-name]
	       Valid in all states.  If a file name is given, all interaction is logged in the file. If no file is given, terminates logging.

       Quit    Quits the session.

       Runl task-name
	       Valid only in state.  Loads the	program from the local media on the controller, and  starts its execution.  If successful,  enters
	       the state.  Whether is case-sensitive or not depends on the controller.

       RUNS task-or-file-name
	       Valid  only  in	state.	 Attempts  to  load the program first from the file on the local host, and if not found, from the file and
	       starts its execution.  is the program name extension as returned by the controller.  If successful, enters the state.

       SEt HSCmode {ON|OFf}
	       Valid in any state. When is set to does some special processing needed by the HSC-nn controllers.

       SEt SERver {-d|scs_sysap_name}
	       Valid in any state.  Sets the name of the SYSAP name to use to establish the connection. If -d option is given, tells it to use the
	       default servers "DUP", "MSCP$DUP", and "DUP$SERVER" in order.

       SHOw NODe
	       Valid only in the states or Displays the name of the node is connected to currently.

       SHOw SERver
	       Valid in any state.  Displays the current server setting.

       SHOw STATus
	       Valid  in  any state. Displays the current status of including which controller it is connected to, and which program it is execut-
	       ing, if any.

       SHOw TASk
	       Valid only in state.  Shows the name of the remote diagnostic or utility currently executing.

       SHOw VERsion
	       Displays version information about dupterm and the dup driver. Useful for reporting problems.

       SYNChronize
	       Valid in all states.  Forces to change its state to confirm to the actual state of the remote controller.  This is  useful  if  the
	       remote  program	does  not confirm to the DUP Standard Dialogue.  In this case, there is no way for to know that the remote program
	       has terminated.	This command can change the state appropriately.

Restrictions
       Execution of some diagnostic and utility programs may interfere with normal activities of the controller.  Refer to  the  appropriate  con-
       troller documentation set for further specifics.

       To  use	with a HSC-nn controller, first execute the command before connecting.	When the connection is established, the "HSC-nn>> " prompt
       is displayed.  At this point, HSC commands may be entered.  When an HSC command completes, one must type
	.^Y
       to get the "HSC-nn>> " prompt again.  To quit, type the command
	.abort
       to abort the program on the HSC, or
	.disconnect
       to abort and disconnect.  Note that these commands must be preceded by a "." in order to force them to be interpreted  by  locally,  rather
       than being passed on to the controller.

       The  program cannot be run with its input redirected. This has to do with the fact that it has to wait on both the controller, and the user
       input, and there is no reliable way to determine when the next line of input from the user should be read and sent to the controller.  This
       is a limitation of the protocol.

Diagnostics
       The utility generates messages when the user does not have the appropriate privileges and when operational errors occur.

Files
       Device special files to connect to the driver.

																	dupterm(8)
All times are GMT -4. The time now is 05:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy