[OmniOS-discuss] ISC-DHCPD in a zone
Dan McDonald
danmcd at omniti.com
Tue Oct 13 11:43:17 UTC 2015
> On Oct 10, 2015, at 12:55 PM, Jim Klimov <jimklimov at cos.ru> wrote:
>
> You can try creating a vnic and delegating it to a zone (via device match rules). Hopefully then you'd get an owned device in the zone, but still not an owned stack where you can go promiscuous, change routes, etc. It may still be the limit... Maybe you can't even set an ip address on the delegated vnic from inside the zone.
>
> Hopefully someone better experienced with isc dhcpd canoffer better ideas.
Oh my...
> Zone# ifconfig -a
> lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
> e1000g1:2: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2 inet 192.168.1.2 netmask ffffff00 broadcast
> 192.168.1.255 lo0:2: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128
You're using a shared-stack zone. I didn't know people still did that...
ISC DHCP needs full DLPI-ish access to the NIC in question. I run ISC DHCP in a zone, but it's an exclusive-stack zone. I'd take Jim's advice first if you're really intent on using a shared-stack zone. I can't guarantee it'll work, but you certainly cannot run ISC DHCP without having a full NIC available.
Sorry,
Dan
More information about the OmniOS-discuss
mailing list