08-13-2007
dhcpd.conf - static route
Hi,
I've setup DHCP Server on RH linux AS3 and everything works fine except static routes. They are not getting effected on client systems.
My dhcpd.conf:
+++++++++++
ddns-update-style interim;
ddns-updates off;
option domain-name-servers 192.168.116.122;
option domain-name "abc.com";
option subnet-mask 255.255.255.0;
# abc_lan
subnet 192.168.116.0 netmask 255.255.255.0 {
option domain-name "abc.com";
option static-routes 172.16.1.0 192.168.116.2;
allow unknown-clients;
ddns-updates off;
range 192.168.116.152 192.168.116.198;
}
++++++
Any help would highly be appreciated
TIA
Prvn
10 More Discussions You Might Find Interesting
1. Linux
I have intall a REdhat 9.0 as a server and Ive configure to act as a DHCP however Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and I created :
subnet 192.192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.150;... (1 Reply)
Discussion started by: keliy1
1 Replies
2. IP Networking
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
3. Shell Programming and Scripting
Hi,
I need to get a script together to edit the dhcp service configuration file dhcpd.conf.
Mac addresses are defined in classes ex.
class "HOST1" { match if substring (hardware, 1,18)=00:11:11:FF:FF:FF;}
class "HOST2" ...
class "HOST3" ...
...
followed by allow or deny statements:... (4 Replies)
Discussion started by: sahilb
4 Replies
4. UNIX for Dummies Questions & Answers
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. AIX
#netstat -nr (shows the following with more static routes)
192.168.18.202 10.129.155.1 UGH 0 29 en0 - -
and i just want to remove the above one
i tried
#smitty rmroute
destination type= net
dest add = 192.168.18.202
default gateway= 10.129.155.1
net... (1 Reply)
Discussion started by: pchangba1
1 Replies
6. IP Networking
Hi guys,
sorry for asking noob question.
When do we really need to add a static route on the server?
I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source).
The issue was... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies
7. Shell Programming and Scripting
Hi all,
I am too new for this stuff and i am lost in perl tutorials. I need help to change dhcp entries in .conf file with a perl script.
The file entries are like below :
host bertha-clp-0 {
hardware ethernet AA:0A:A0:00:6c:40;
fixed-address 10.10.10.72;
option... (6 Replies)
Discussion started by: ekckabatop
6 Replies
8. Linux
Hi I am a bit confused, I want to setup failover within dhcpd. There are multiple subnets and hosts with static IP's. however it seems I need to set up an IP range for the subnets for failover to work is this correct or am I missing something (1 Reply)
Discussion started by: eeisken
1 Replies
9. Shell Programming and Scripting
Hy everybody,
Within a dhcpd.conf file, we got some fixed IP adresses from 192.168.0.1 - 192.168.0.254.
Sample:
#ddns-update-style interim;
ddns-update-style none;
ignore client-updates;
deny client-updates;
authoritative;
#### By red for PXE Booting
allow booting;
allow bootp;
###... (17 Replies)
Discussion started by: hermouche
17 Replies
10. UNIX for Beginners Questions & Answers
Hi Experts,
Our DHCP server currently answers the DHCP Discover requests from ServerX. In our dhcpd.conf file there are parameters defined for ServerX.
Now we introduced some additional Servers into the network and want them to get service from the same DHCP server.
Similar configuration... (13 Replies)
Discussion started by: ekorgur
13 Replies
LEARN ABOUT OSX
internetsharing
InternetSharing(8) BSD System Manager's Manual InternetSharing(8)
NAME
InternetSharing -- simple NAT/router configuration daemon
SYNOPSIS
InternetSharing -d
DESCRIPTION
InternetSharing is the back-end for the Internet Sharing feature. It is responsible for configuring the network interfaces, the DHCP server
bootpd(8), the network address translation daemon natd(8), and the Internet domain name server named(8). named(8) is run in caching-only
mode and allows the DHCP server to always offer the same DNS server address to the DHCP clients, regardless of the value of the actual DNS
server addresses.
The single command line option -d places additional debugging information to stdout/stderr.
InternetSharing is launched by launchd(8) both at start-up and when the user turns Internet Sharing on in the Sharing preferences pane.
By default, InternetSharing configures the IP addresses for non-AirPort interfaces starting at 192.168.2.1, walking up by one class C network
(subnet mask 255.255.255.0) for each subsequent interface i.e. 192.168.3.1, 192.168.4.1, 192.168.5.1, and so on. The AirPort interface by
default is assigned 10.0.2.1.
CONFIGURATION
InternetSharing reads the property list com.apple.nat.plist stored in the /Library/Preferences/SystemConfiguration.
Details of the com.apple.nat.plist are subject to change and are not completely documented here. The plist is a contract between the Sharing
preferences pane and InternetSharing. Any details provided here are for informational purposes only.
The plist is a dictionary with a single sub-dictionary called NAT containing properties to control which interfaces to use and other set-
tings. It may also have a sub-dictionary called AirPort that is used to configure the AirPort interface when it is put into access point
mode.
One property worth mentioning is SharingNetworkNumberStart. This property controls the behavior of InternetSharing when it configures IP
addresses for the local interfaces. The property is encoded as a string containing the dotted decimal network IP address, assumed to be a
class C network. For example:
<key>SharingNetworkNumberStart</key>
<string>192.168.100.0</string>
If the SharingNetworkNumberStart appears directly in the NAT dictionary, it controls the starting IP address chosen for the non-AirPort
interfaces. If the property appears within the AirPort sub-dictionary, it controls the IP address assigned to the AirPort interface.
The purpose of the property is to allow the user to avoid address collisions with existing NAT'd networks.
SEE ALSO
bootpd(8), launchd(8), natd(8), named(8)
Mac OS X Feburary 26, 2007 Mac OS X