Bug 6266334

0 Comments | view / add

General informations

  • Synopsis: dhcp tools do not properly handle 10.x.x.x networks with 255.255.255.0 netmask

Packages that fixes the bug

There is no packages update for this bug

Patches that fixes the bug

There is no patch for this bug

Bug ID Details:

dhcp tools do not properly handle 10.x.x.x networks with 255.255.255.0 netmask

Type: bug
Category: network
Sub Category: dhcp_admin
Product: solaris
State: Accepted
Date Submitted: 2005-05-06
Date Created: 2006-03-31
Date Updated: 2006-03-31
Related bugs: 4312661
Reported against: s10_b74l2a
Keywords: dhcp | onnv_triage | oss-bite-size
Responsible engineer: Dave Miner

Description

Work Around:

workaround unknown, but the sun ray server software seems to be able to work with these networks peter.lees@sun.com 2005-05-06 03:16:50 GMT

Workaround

workaround unknown, but the sun ray server software seems to be able to work with these networks
 xxxxx@xxxxx.com 2005-05-06 03:16:50 GMT
There is a workaround:
1. Add your network and netmask to /etc/netmasks.  For example:

10.0.15.0 255.255.255.0

2. Either edit your nsswitch.conf and place "files" before "nis", or add the appropriate data to you NIS map.

Comments

command line and gui dhcp admin tools get confused when trying to deal with addresses in the 10.x.x.x range that use a netmask of 255.255.255.0, and
do not allow creation of addresses in those networks

---------------------------------------------------------------------------
necromancer:/root# dhtadm -P

Warning: No DHCP configuration file exists. There is no way to verify the
data store version for this operation.

dhtadm: null is not a valid resource.
necromancer:/root#
necromancer:/root# dhcpconfig -D -r SUNWbinfiles -p /var/dhcp
Created DHCP configuration file.
Created dhcptab.
Added "Locale" macro to dhcptab.
Added server macro to dhcptab - necromancer.
DHCP server started.
necromancer:/root#  dhcpconfig -N 10.1.0.0 -m 255.255.255.0
Added network macro to dhcptab - 10.1.0.0.
Created network table.
necromancer:/root# pntadm -A 10.1.0.6   10.1.0.0
pntadm: Table for 10.0.0.0 does not exist.
necromancer:/root# dhtadm -P
Name                    Type            Value
==================================================
10.1.0.0                Macro           :Subnet=255.255.255.0:RDiscvyF=1:Broadcst=10.1.0.255:NISdmain="SMA.Aus.Sun.COM":NISservs=129.158.80.6:
necromancer             Macro           :Include=Locale:Timeserv=129.158.11.86:LeaseTim=86400:LeaseNeg:
Locale                  Macro           :UTCoffst=36000:
necromancer:/root#  dhcpconfig -N 10.27.4.0 -m 255.255.255.0
Added network macro to dhcptab - 10.27.4.0.
Created network table.
necromancer:/root# pntadm -A 10.27.4.1 10.27.4.0
pntadm: Table for 10.0.0.0 does not exist.
necromancer:/root# pntadm -L
10.0.0.0
10.0.0.0
necromancer:/root#
---------------------------------------------------------------------------

note that bogus 10.0.0.0 networks appear to be created, but these cannot be removed.
necromancer:/root# pntadm -R 10.0.0.0
pntadm: Table for 10.0.0.0 does not exist.
necromancer:/root# pntadm -R 10.27.4.0
pntadm: Table for 10.0.0.0 does not exist.
# dhtadm -P
Name                    Type            Value
==================================================
10.27.4.0               Macro           :Subnet=255.255.255.0:RDiscvyF=1:Broadcst=10.27.4.255:NISdmain="SMA.Aus.Sun.COM":NISservs=129.158.80.6:
10.1.0.0                Macro           :Subnet=255.255.255.0:RDiscvyF=1:Broadcst=10.1.0.255:NISdmain="SMA.Aus.Sun.COM":NISservs=129.158.80.6:
necromancer             Macro           :Include=Locale:Timeserv=129.158.11.86:LeaseTim=86400:LeaseNeg:
Locale                  Macro           :UTCoffst=36000:


 xxxxx@xxxxx.com 2005-05-06 03:24:49 GMT


back to top

Comments

There is no comments for this bug yet. add one.


back to top