mstinaff
Dabbler
- Joined
- Jan 21, 2014
- Messages
- 34
I am testing out 9.3 and DHCP jails. excited by the possibility of using DHCP/DNS on my network to connect to my jails rather than setting a static ip in FreeNAS and then setting a separate static entry in the DNS server and then relying on humans to make sure they stay in sync.
A step by step breakdown of what I have tried, what I expected and what I got.
1. install fresh FreeNAS 9.3
installed from ISO as expected
2. Under Jails > Configuration set Jail root and checked IPv4 DHCP
settings saved without error
3. Installed plexmediaserver plugin
plugin installed and IPv4 field in Jails tab shows DHCP:192.168.0.100 as expected
4. from external machine ping plexmediaserver_1
plexmediaserver_1 resolves to and is able to ping 192.168.0.100 as expected
5. from shell on plexmediaserver_1 edit /etc/rc.conf to change hostname="plexmediaserver_1" to hostname="USZVideo_1", then exit-restart jail-reopen shell
hostname now shows USZVideo_1 in jail
6 from external machine ping USZVideo_1
cannot resolve USZVideo_1 Expected to resolve and ping 192.168.0.100
7 from external machine flush dns cache and ping plexmediaserver_1
plexmediaserver_1 resolves and pings 192.168.0.100 Expected name to not resolve
8 Suspecting networking gear is caching mac info causing the error I stop the jail and change the MAC
No error, but IPv4 field is now blank. Expected to show DHCP like an unmodified stopped DHCP jail
9. start jail and run ifconfig from the jail shell
outputs all interfaces (freenas physical interfaces, epaira interfaces) as though run from a FreeNAS shell Expected to see only lo and epair1b
9 Edit Jail properties again
MAC field is blank. Expected MAC to be saved
10 stop jail, enter new MAC and save again and reopen edit box
MAC field is now populated as expected
11. restart Jail and run ifconfig from the jail shell
ouputs lo and epair1b but no IP address expected lo epair1b and a DHCP address
12 run dhclient epair1b from jail shell
jail gets DHCP address as expected
13 from external machine flush dns cache and ping plexmediaserver_1 and USZVideo_1
neither name resolves expected USZVideo_1 to resolve to jail IP and ping
Am I doing something boneheaded?
I can provide more detail or try other things.
Can anyone else reproduce? Should I put in tickets for and/all :
1. DHCP behaves as disabled after modifying MAC (DHCP is still checked)
2. MAC field is blank after modifying and saving
3. Starting jail with empty MAC returns FreeNAS interfaces (VIMAGE is still checked)
4. Changing hostname in jail /etc/rc.conf does not change the hostname used by dhclient.
?
Many thanks!
A step by step breakdown of what I have tried, what I expected and what I got.
1. install fresh FreeNAS 9.3
installed from ISO as expected
2. Under Jails > Configuration set Jail root and checked IPv4 DHCP
settings saved without error
3. Installed plexmediaserver plugin
plugin installed and IPv4 field in Jails tab shows DHCP:192.168.0.100 as expected
4. from external machine ping plexmediaserver_1
plexmediaserver_1 resolves to and is able to ping 192.168.0.100 as expected
5. from shell on plexmediaserver_1 edit /etc/rc.conf to change hostname="plexmediaserver_1" to hostname="USZVideo_1", then exit-restart jail-reopen shell
hostname now shows USZVideo_1 in jail
6 from external machine ping USZVideo_1
cannot resolve USZVideo_1 Expected to resolve and ping 192.168.0.100
7 from external machine flush dns cache and ping plexmediaserver_1
plexmediaserver_1 resolves and pings 192.168.0.100 Expected name to not resolve
8 Suspecting networking gear is caching mac info causing the error I stop the jail and change the MAC
No error, but IPv4 field is now blank. Expected to show DHCP like an unmodified stopped DHCP jail
9. start jail and run ifconfig from the jail shell
outputs all interfaces (freenas physical interfaces, epaira interfaces) as though run from a FreeNAS shell Expected to see only lo and epair1b
9 Edit Jail properties again
MAC field is blank. Expected MAC to be saved
10 stop jail, enter new MAC and save again and reopen edit box
MAC field is now populated as expected
11. restart Jail and run ifconfig from the jail shell
ouputs lo and epair1b but no IP address expected lo epair1b and a DHCP address
12 run dhclient epair1b from jail shell
jail gets DHCP address as expected
13 from external machine flush dns cache and ping plexmediaserver_1 and USZVideo_1
neither name resolves expected USZVideo_1 to resolve to jail IP and ping
Am I doing something boneheaded?
I can provide more detail or try other things.
Can anyone else reproduce? Should I put in tickets for and/all :
1. DHCP behaves as disabled after modifying MAC (DHCP is still checked)
2. MAC field is blank after modifying and saving
3. Starting jail with empty MAC returns FreeNAS interfaces (VIMAGE is still checked)
4. Changing hostname in jail /etc/rc.conf does not change the hostname used by dhclient.
?
Many thanks!