Solaris 8 x86: DHCP Does not work with 2 network cards

2007-12-24 19:02:00

Well my previous question garnered one response (Thanks Dave, I hope you
find something!!!). So I figured I would try a few more experiments and try
a submission once again. Here is a brand new query.

My statement is this: DHCP Server does not work on Solaris 8 x86 with 2
network cards.

I sure hope I can be proven wrong, or there is a flaw in my testing schemes.
For your target practice, here is what I went through to come to that
conclusion.

I am also including a Horrible text diagram of what it is I am doing

_______________________
|Solaris machine |
| NIC1 10.1.1.155 ------------- Corp
Network
| |
| |
| NIC2 12.2.2.1 ------------- Switch
|_______________________| |
|
J1 (DHCP
Client)

This was my original configuration. I boot up the Solaris machine and I
assign the addresses manually to the two NIC cards. Then I start up the
DHCP server to monitor and provide DHCP addresses to the 12.0.0.0 network
through NIC2.

When I did that, I got "Bad UDP length: 586 < 585"

What I wanted to do is prove the components in and of themselves. Here are
the things I tried.

1) I started up a Windows DHCP server on the corp network. I disabled any
DHCP server on Solaris. I plugged J1 directly into the Corp Network.
At this point I confirmed that the J1 could get a DHCP address

2) Then I disabled the second network card. Disabled the Windows DHCP
server. Configured DHCP on the Solaris Server. Booted everything up and
with J1 still connected to the corp network. It worked!!!

3) Then I enabled NIC2 (created /etc/hostname.spwr1) and put the IP address
in there. The DHCP server then had errors with the UDP packet stuff. (I
have also had the hostname in there, with the resolution in /etc/hosts,
didn't seem to be any better or worse)
So this made me think, ok, so NIC2 is being bad

4) I unconfigured the DHCP server. I disabled NIC1 (rm
/etc/hostname.spwr0). Configured DHCP for NIC2(12.0.0.0). I plugged J1
into the switch.
Low and behold, it worked!!!!

5) Then I re-enabled NIC1 and it once again failed with UDP packet size.

So this lead me to believe that any time that I had 2 NICs in the box, DHCP
would fail, and I have yet to figure out why.

Does anyone else have DHCP running on Solaris 8 x86 with two NICs?

Any help on this one would be great. Thanks for taking the time to read
this.

--Brett M. Thorson

Comments

Got something to say?

You must be logged in to post a comment.