07-22-2014
I guess the first question is why in the world would you connect a cable between the WAN and LAN port?
At a guess I would say yes, the DHCP Daemon would certainly respond to DHCP Discover requests coming from the LAN interface. The easiest thing to do would be spin up a virtual machine in VirtualBox, bridge together the WAN and LAN interfaces and watch what happens. No better substitute that real world experience
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 OSF1
dhcpparm
dhcpparm(8) System Manager's Manual dhcpparm(8)
NAME
dhcpparm - Daemon for client configuration
SYNOPSIS
/usr/sbin/dhcpparm [-i interface] tag | symbol | name
OPTIONS
Use this option on hardware that has two or more interfaces configurable by the Dynamic Host Configuration Protocol (DHCP), and for a
parameter that is interface specific. When no interface is specified, the client daemon returns the name of the first interface it finds on
which DHCP has successfully completed: the value(s) displayed will be those of the configuration received on that interface.
DESCRIPTION
The dhcpparm command displays the value(s) of the parameter requested on the command line as supplied by the DHCP protocol. If the DHCP
parameter implies more than one value (for example, a list of gateways), the values are displayed separated by newline characters. The
parameter may be identified either by its numeric value in the DHCP protocol, by its two character symbol, or by its long name. The dhcp-
parm command is intended to be used in command substitutions in the shell scripts invoked by init at system boot. It first contacts the
DHCP client daemon (joinc) to verify that DHCP has successfully completed. When the -i option specifies a particular interface, the daemon
verifies successful DHCP configuration of that interface; otherwise, the client verifies that at least one interface is successfully con-
figured, and supplies the name of that interface to dhcpparm. Parameter values echoed by dhcpparm should not be used without checking exit
status. See the EXIT STATUS section below.
RESTRICTIONS
A cluster member should never be a DHCP client; it should always use static addressing.
If a cluster is to support a DHCP server, there can only be one DHCP server for all the cluster members using a common database with
failover.
If a cluster is to support a DHCP server, there can only be one DHCP server for all the cluster members using a common database with
failover.
DHCP client is not supported on dataless clients.
SYMBOLS
See dhcptags(4) for the list of two letter symbol codes and names of all DHCP parameters. See RFC 1533 for more detail.
EXIT STATUS
Exit codes are as follows: Success. DHCP was not successful. The DHCP client daemon may not be running, the interface might have failed to
configure, or no satisfactory DHCP responses were received. Bad arguments. A timer was set and the interface had not configured before it
expired. Can only be run as root. Some system error (should never occur).
SEE ALSO
Commands: dhcpconf(8), joinc(8), showdhc(8), shleases(8)
Files: client.pcy(4), dhcptags(4)
RFC1533
dhcpparm(8)