Sponsored Content
Full Discussion: DHCP config issue?
Special Forums IP Networking DHCP config issue? Post 302414679 by macwunder on Tuesday 20th of April 2010 05:23:14 PM
Old 04-20-2010
DHCP config issue?

I searched the forum and found a similar question (dhcpd-related questions), but my config is already utilizing the suggested fix... Smilie

My setup:

Code:
eth0 connected to Motorola DSL Modem via bridged mode (giving the public IP to the interface), IP configured DHCP.
eth1 connected to my local network handing out IPs with dhcpd listening only on eth1 (DHCPDARGS=eth1). Configured with static IP 192.168.1.1

However, I get these log entries in my messages log:

Code:
Apr 20 15:25:17 VSO_server dhclient: DHCPREQUEST on eth0 to 192.168.1.254 port 67
Apr 20 15:25:17 VSO_server dhcpd: DHCPREQUEST for 69.151.172.161 from 00:40:ca:4c:4f:d6 via eth1: unknown lease 69.151.172.161.
Apr 20 15:25:37 VSO_server dhclient: DHCPREQUEST on eth0 to 192.168.1.254 port 67
Apr 20 15:25:37 VSO_server dhcpd: DHCPREQUEST for 69.151.172.161 from 00:40:ca:4c:4f:d6 via eth1: unknown lease 69.151.172.161.
Apr 20 15:25:57 VSO_server dhclient: DHCPREQUEST on eth0 to 192.168.1.254 port 67
Apr 20 15:25:57 VSO_server dhcpd: DHCPREQUEST for 69.151.172.161 from 00:40:ca:4c:4f:d6 via eth1: unknown lease 69.151.172.161.

It seems my external interface is requesting a public IP from my internal interface, and of course NAKs it because the IP is not in it's range...

Does this happen because the default IP of the modem is 192.168.1.254?

What is wrong? How can I stop this? Hoping not to have to renumber my local network...

Thanks in advance!
Jeff

Last edited by Scott; 04-20-2010 at 06:39 PM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. Solaris

DHCP DNS Config

I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies

2. Solaris

Apache config issue

I want to build a little website on a Sun Blade 100 running Solaris 10. I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Discussion started by: BrewDudeBob
17 Replies

3. Solaris

Tape drive config issue

I have a server/domain on a m5000 running Solaris 10. It is part of a cluster. The other cluster member sees tape drives, but this one does not. It is zoned correctly, and I can see the drives are binded in lputil. The st.conf, and devlink.tab are identical. ST.CONF: - # # Copyright... (2 Replies)
Discussion started by: pfwhufc
2 Replies

4. Solaris

Syslog config Issue.

Hi All, I have configured a centralised system log server. The /etc/syslog.conf file in my client(Sol 5.10) looks like this. e1011605: cat /etc/syslog.conf # # Copyright (c) 2000-2002 by Sun Microsystems, Inc. # All rights reserved. # #ident "@(#)syslog.conf 2.3 ... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies

5. UNIX for Dummies Questions & Answers

Issue with parsing config variables

I am using MKS tool kit on windows server. One config variable is defined in windows environment and I am trying to use that variable. # Below RootDir is defined in windows RootDir="\\f01\var" # in unix script details="$RootDir/src|$RootDir/tgt" src=`echo $details|awk -F '|' '{print... (1 Reply)
Discussion started by: madhukalyan
1 Replies

6. Linux

issue on dynamic config script

I have one issue with my existing code.Actually i want to write parameter's at the end of the section not begin of section.please find my code snapshots... while read cfgfilename sectionname parameter do case "$cfgfilename" in cfgfilename) FILE=$HOME/config/$parameter unset... (1 Reply)
Discussion started by: suryanarayan
1 Replies

7. Solaris

DHCP config struggles (serious struggle, or maybe just being stupid ...)

I have a straaaaaaange problem with a Solaris 10 host acting as a dhcp server. I can not get an ip adress allocated even though the configuration works in an almost exact setup for another Solaris 10 host. The <host> in question has one piece of BOOTP booting <equipment> hooked up to bge0, with... (0 Replies)
Discussion started by: larske
0 Replies

8. Shell Programming and Scripting

Dhcp.config file scripting assistance

Hello everyone! I am brand new at this forum thing and wanted to thank all of you for your time and help in advance for helping me troubleshoot my issue. I am fairly new to shell scripting and scoured the entire internet to find a solution for my issue to no avail and hope you're able to help. ... (2 Replies)
Discussion started by: sedrocks
2 Replies

9. IP Networking

Node switched itself from static to DHCP on reboot issue

I'm trying to figure out what circumstances would cause an Open Solaris 11.2 host to switch itself from a static to a DHCP ip address upon reboot. This has only happened once but is a cause for some concern as this machine will be part of a web server pool. Nothing has changed on the LAN that... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies

10. UNIX for Beginners Questions & Answers

DHCP Issue Possibly due to Hardware Clock?

Hello All, OS: openSUSE 13.1 (Bottle) (armv7hl) PC: CuBox-i (*mini-pc) The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00". I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies
IFSCHEME(8)							     Commands							       IFSCHEME(8)

NAME
ifscheme - scheme control for network interfaces SYNOPSIS
ifscheme [-v] [[-s] newscheme] mapping <interface> script ifscheme-mapping DESCRIPTION
ifscheme allows you to change network configuraton schemes or query the current scheme. It integrates with the ifup(8) command and inter- faces(5). For example, you might use this program to configure a "home" scheme and a "work" scheme for a network device on a laptop. When you move between home and work, a simple command can reconfigure your networking. If you run the program with no parameters, it will tell what the current network scheme is. The ifscheme-mapping utility is used to tell the ifup and ifdown utilities about the current scheme. OPTIONS
-v --verbose Run in verbose mode. This is passed in to the ifup and ifdown programs as well. -l --list list all schemes available/defined in /etc/network/interfaces. newscheme -s newscheme --scheme newscheme Change to a new network configuration scheme. When the scheme is changed, network interfaces that were using the old scheme will be taken down and brought back up to use the new configuration scheme. -s or --scheme are mandatory if newscheme begins with a -. CONFIGURATION
To make the program do anything useful when a scheme is selected, you must edit /etc/network/interfaces to add a mapping for the interface (or interfaces) that can be controlled on a per-scheme basis. Suppose you want to control eth0 in this way. You might have an existing eth0 configuraton in there, such as: auto eth0 iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1 To change this so you can chose between static routing and dhcp, replace it with the following (it helps to ifdown the interface first). auto eth0 mapping eth0 script ifscheme-mapping iface eth0-home inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1 iface eth0-work inet dhcp Now if you run "ifscheme home" and ifup the interface, you'll get the eth0-home configuration stanza. If you run "ifscheme work", it will be changed to the eth0-work stanza. You can add additional stanzas as desired, but the label must always be of the form <hardware inter- face>-<scheme name>. If you have a second interface (perhaps a wireless network card on eth1), you can duplicate the above for that interface, changing the eth0 and the configuration details as appropriate, but remember to add an iface stanza for every scheme name for the second interface. FILES
/etc/network/interfaces the interfaces definition file /etc/network/run/scheme the current scheme /etc/network/run/ifstate a record of the current state of the interfaces, managed by ifup and ifdown BUGS
All schemed interfaces will have the same scheme. Any schemed interface which does not have an entry for the current scheme and is not configured when the scheme is changed will not be suc- cessfully configured when it is brought up. SEE ALSO
interfaces(5) ifup(8) ifdown(8) DISTRIBUTION
Redistribution is subject to the GNU public license. AUTHORS
Joey Hess <joey@kitenet.net>, Peter Wilson <pwilson@cs.hmc.edu> IFSCHEME(8)
All times are GMT -4. The time now is 09:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy