|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Incorrect Netmask
I have a Sun Ultra-250 machine running Solaris 10 that uses DHCP to receive a 'sticky', public IP address. The problem I'm facing is that every time I reboot the box, it sets an incorrect netmask. This problem started occuring since my department changed their netmask; the box would keep setting to the old netmask, as if it's cached somewhere.
I've checked the box's reservation on the DHCP server (a Windows Server 2003 box), but it shows the correct netmask. I doubt it's a problem on the DHCP server because every other reserved box (some are Solaris 9) sets the correct IP parameters. I have tried adding the following entry in /etc/netmasks: x.x.x.0 255.255.254.0 But the box sets 255.255.240.0 instead. I've also tried explicitly defining the broadcast address on the DHCP server for the box, but the box continues setting the broadcast address based on the old netmask. |
|
#2
|
|||
|
|||
|
First, what is the PARAM_REQUEST_LIST in /etc/default/dhcpagent? It should contain at least a "1". The default is "1,3,6,12,15,28,43".
Next, what is the output of "dhcpinfo -c 1"? This is your netmask in hex. Mine prints: 0xFF 0xFF 0xFF 0x00 I'd presume that the third line of yours should be 0xFE. If it isn't then perhaps the server is sending the wrong netmask for just this Ethernet address? Lastly, is this machine also configured to be a DHCP server? I've enabled that by mistake and things have been really weird in my network.
__________________
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums. |
|
#3
|
|||
|
|||
|
Well, I feel like a newbie. The box wasn't even using DHCP; dhcpagent wasn't running.
So, I touched /etc/dhcp.interface, causing dhcpagent to startup and set the box to the correct IP parameters. FYI, PARAM_REQUEST_LIST is set to the default and "dhcpinfo -c 1" now returns 0xFF 0xFF 0xFE 0x00 instead of 'Connection refused'. Also, the DHCP server on the Solaris 10 box was never running. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Incorrect Netmask |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|