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
dhcp-helper
DHCP-HELPER(8) System Manager's Manual DHCP-HELPER(8)
NAME
dhcp-helper - A DHCP/BOOTP relay agent.
SYNOPSIS
dhcp-helper [OPTION]...
DESCRIPTION
dhcp-helper is a DHCP and BOOTP relay agent. It listens for DHCP and BOOTP broadcasts on directly connected subnets and relays them to DHCP
or BOOTP servers elsewhere. It also relays replies from the remote servers back to partially configured hosts. Once hosts are fully config-
ured they can communicate directly with their servers and no longer need the services of a relay.
OPTIONS
The only required option is at least one DHCP server to relay to. The simplest way to configure dhcp-helper on a router is just to give the
interface to the network containing the DHCP server with a -b option. All the other interfaces present on the machine will then accept DHCP
requests. On a machine which does not have an interface on the network containing the DHCP server, use a -s option instead.
-s <server>
Specify a DHCP or BOOTP server to relay to. The server may be given as a machine name or dotted-quad IP address. More than one
server may be specified.
-b <interface>
Relay to a DHCP or BOOTP server using broadcast via <interface>. This eliminates the need to give a server address. <interface> is
automatically added to the list of interfaces which will not receive DHCP requests.
-i <interface>
Specify which local interfaces to listen on for DHCP/BOOTP broadcasts. If no -i flags are given all interfaces are used except those
specified by -e flags and those specified by -b flags.
-e <interface>
Specify which local interfaces to exclude.
-p Use alternative ports (1067/1068) for the DHCP client and server.
-v Report the software release version and copyright information.
-d Debug mode, do not change UID, write a pid-file or go into the background.
-r <file>
Specify an alternate path for dhcp-helper to record its process-id in. Normally /var/run/dhcp-helper.pid.
-u <username>
Specify the userid to which dhcp-helper will change after startup. The daemon must normally be started as root, but it will drop
root priviledges after startup by changing id to another user. Normally this user is "nobody" but that can be over-ridden with this
switch.
NOTES
Dhcp-helper requires a 2.2 or later Linux kernel. The "Linux packet filter" and "packet socket" facilities are not required, which is the
chief advantage of this software over the ISC DHCP relay daemon.
AUTHOR
This manual page was written by Simon Kelley <simon@thekelleys.org.uk>.
DHCP-HELPER(8)