07-23-2014
Whether it would work or not, the problem is kind of self-limiting. If it answered its own DHCP request, the external interface would put its external IP on the same subnet as its internal network, leaving it unable to route any requests.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to check if files already exist in a directory. They have the same basename (exsyctr1), but 4 different extensions. If the files exist, then I make backups of them, then copy them from another directory ($livecomp/data) to the current one ($copycomp/data). If they don't exist, just... (5 Replies)
Discussion started by: Ypnos
5 Replies
2. UNIX for Advanced & Expert Users
can someone tell me the meaning of this commnad,
If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter:
time java myprog
Replace myprog with the name of the program you are running. The following is an... (1 Reply)
Discussion started by: ldpathak
1 Replies
3. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
4. UNIX for Dummies Questions & Answers
whoami | grep < $1 | echo $1
trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Discussion started by: iago
6 Replies
5. Linux
Can anyone explain how Graphic LCD (CSTN / STN) work in Unix...
From Graphic file thro driver code to display....?
Thanks (1 Reply)
Discussion started by: nat123
1 Replies
6. Linux
********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
2 Replies
7. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
8. IP Networking
My router has UPnP,how to make it work with ubuntu to automatically open ports
I try to open the following command " /sbin/iptables -I INPUT -d 0/0 -s 0/0 -p tcp --dport 21 -j ACCEPT" ,local only opens ,if i put the ip 192.168.1.68, it works correctly, if i`m put my external ip does not work,I... (9 Replies)
Discussion started by: dhalus
9 Replies
9. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies
10. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
LEARN ABOUT DEBIAN
arpsend
arpsend(8) Containers arpsend(8)
NAME
arpsend - send ARP requests
SYNOPSIS
arpsend -D -e target_ip [ -e target_ip ...] [-c count] [-w timeout] interface
arpsend -U -i source_ip [-c count] [-w timeout] interface
DESCRIPTION
Utility arpsend sends ARP packets on device interface to detect or update neighbours' ARP caches with a given IP.
COMMANDS
Run utility with one of the following commands:
-D Send broadcast ARP request to detect neighbours with target_ip. You have to specify target_ip (-e option).
-U Send broadcast ARP request to update neighbours' ARP caches with source_ip. You have to specify source_ip (-i option).
OPTIONS
-c count
Number of packets to send. Default is infinity.
-w interval
Interval between packets, in seconds. Default is 1 second.
-i source_ip_address
Set source IP address field in ARP packet.
-e target_ip_address
Set target IP address field in ARP packet. Note that you can specify -e option multiple times to detect many IP addresses in one
utility call.
EXIT STATUS
arpsend returns 0 upon successful execution. If something goes wrong, it returns an appropriate error code.
1 EXC_USAGE
Usage error
2 EXC_SYSTEM
System error
3 EXC_RECV
ARP reply was received
EXAMPLES
To send request on interface eth0 to detect any neighbour computers with IP 192.168.10.200:
arpsend -D -e 192.168.10.200 eth0
To send request on interface eth0 to update neighbours' ARP caches with IP 192.168.10.200:
arpsend -U -i 192.168.10.200 eth0
NOTES
Interface you use have to be arpable and not be loopback (i.e. /sbin/ip link show interface should show neither NOARP nor LOOPBACK flags
in interface parameters).
SEE ALSO
vzctl(8).
LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.
OpenVZ 28 Jun 2011 arpsend(8)