James Falknor wrote: > Have a problem. > Trying to use OpenSolaris 2009.06 > > I set networking to manual/static IP, input static IP address and all the > correct info including nameserver. I get no network connection. Appears as > though nameserver is not resolving.
How did you set this up? Please be as specific as possible. Did you disable physical:nwam and enable physical:default? Did you change /etc/nsswitch.conf so that the system uses dns to resolve names? Do you have all the routes you need for your statically addressed network? What tells you that the name server is not resolving? Did you try pinging the name server address with "ping -n"? Did you try "nslookup"? Did you try "getent hosts"? Or something else? > I set networking to automatic/DHCP, I get a network connection. Unaccetpable. > I need static IP to run a mail server. It might not be worth the argument, but DHCP isn't in any way incompatible with running a mail server. You'll likely want to configure your DHCP server so that it hands out a fixed address for that particular client (since you likely don't want the mail server changing address when addresses are reused in the pool), but it's otherwise not just workable, but quite useful. DHCP centralizes basic network administration -- even for systems with a "static" address. That centralization is very helpful when network-wide parameters change, or when you're forced to renumber a network. Static config has some minor benefits (in particular, the system still "works" even when the DHCP server is down), but also some major detractions. But, as I said, it's probably not worth the argument if you've already decided that using DHCP to hand out static addresses is "unacceptable." > BTW: I set networking to static IP with all correct info including nameserver > on Solaris 10 2009.05, and everything works. Solaris 10 doesn't have NWAM, which is enabled by default in OpenSolaris. That's likely the crucial difference here. (But just a guess without additional information.) -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
