On (06/22/10 08:40), Ben wrote: > Hi all, > > I have an OpenSolaris 2009.06 box with five NICs. > I want to create a zone with two exclusive NICs and use it as my DHCP > server and router. > > First of all, if this possible?
yes. > Secondly, if it is, how do I do it? (I know about configuring the > zone, it's just the DHCP server and router bit I'm stuck on) To configure a dhcp server, your best option is to use dhcpmgr(1m). E.g., http://docs.sun.com/source/819-6461-13/appendixA.html#50401303_76516 To configure in.routed, you have to set up the desired configuration for in.routed (I'm assuming you want to set up a router that runs RIPv2 or rdisc) and then enable routing using routeadm: # routeadm -e ipv4-forwarding -e ipv4-routing -u See http://docs.sun.com/app/docs/doc/816-4554/gcvjj?l=en&a=view&q=routing All of the above in your non-global zone, of course. > Thirdly, once I've created the zone and configured it as a DHCP > server, how can I create static IPs for machines based on their MAC > address? Not sure I understand that question- "static IPs based on MAC address"? IP addresses are constructed indpendant of MAC addresses- different layers of the networking stack. --Sowmini _______________________________________________ networking-discuss mailing list [email protected]
