vagrant-smartos / vagrant-smartos-zones

Manage SmartOS local zones in Vagrant
MIT License
54 stars 9 forks source link

global zone port forward should run through vagrant port conflict resolution #5

Closed sax closed 9 years ago

sax commented 9 years ago

Right now the port forward set up for the global zone is hard-coded to 22022. It is configurable in the Vagrantfile, but if it could be run through the port conflict detection in Vagrant hopefully it could be rewritten on the fly to something non-conflicting when multiple VMs are running at the same time.

The internals that use the port forward should all already grab the port dynamically.

bixu commented 9 years ago

Confirming this, if I'm already running a Vagrant-controlled zone in VM "A", then when I vagrant up VM "B", the plugin sees the zone in VM "A" and assumes that the zone has been provisioned:

monolith:smartos_hacking blake$ vagrant  global-status
id       name    provider   state    directory
-------------------------------------------------------------------------
da88659  default virtualbox poweroff /Users/blake/vagrant-smartos
8d9aca0  default virtualbox running  /Users/blake/smartos
a8ef6d6  default virtualbox running  /Users/blake/smartos_hacking

The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date. To interact with any of the machines, you can go to
that directory and run Vagrant, or you can use the ID directly
with Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"

monolith:smartos_hacking blake$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'livinginthepast/smartos-base64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Configuring a port forward to talk to the Global Zone
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
    default: 2222 => 22022 (adapter 1)
==> default: Remapping platform ISO
==> default: SmartOS platform image 20140919T024804Z exists
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Installing vnic in global zone
==> default: Installing ZoneGate
==> default: Checking if machine supports zones: yes
==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed
==> default: Zone base64 exists
==> default: Updating...
==> default: Enabling ZoneGate
==> default: Installing vnic in global zone
==> default: Checking for guest additions in VM...
    default: No guest additions were detected on the base box for this VM! Guest
    default: additions are required for forwarded ports, shared folders, host only
    default: networking, and more. If SSH fails on this machine, please install
    default: the guest additions and repackage the box to continue.
    default:
    default: This is not an error message; everything may continue to work properly,
    default: in which case you may ignore this message.
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: to force provisioning. Provisioners marked to run always will still run.

monolith:smartos_hacking blake$ vagrant ssh
Last login: Wed Oct  8 14:43:35 2014 from 10.0.2.2
- SmartOS Live Image v0.147+ build: 20140919T024804Z

vagrant@08-00-27-ac-b1-65:~$ sudo vmadm list
UUID                                  TYPE  RAM      STATE             ALIAS
sax commented 9 years ago

FYI this is undocumented right now, but you can add this to your Vagrantfile to avoid this issue until a proper fix can be made:

config.global_zone.forwarded_ssh_port = 22022

For each of your Vagrantfiles you can choose a different port. This seems like a high priority thing to fix, though.

sax commented 9 years ago

I have a fix for this, but don't have Internet connectivity with my laptop. I should be able to push my fix tomorrow evening.

bixu commented 9 years ago

@sax, can you ping me when you have updated the plugin gem on rubygems.org? i will test as soon as i can.

sax commented 9 years ago

did it.

bixu commented 9 years ago

Seeing some crazy behavior here where two different zones have the same IP. Or is this okay because of host-only networking?

# 'smartos' vagrant machine
monolith:smartos blake$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'livinginthepast/smartos-base64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Configuring a port forward to talk to the Global Zone
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
    default: 2222 => 22022 (adapter 1)
==> default: Remapping platform ISO
==> default: SmartOS platform image 20141002T182809Z exists
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Installing vnic in global zone
==> default: Installing ZoneGate
==> default: Checking if machine supports zones: yes
==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed
==> default: Zone base64 exists
==> default: Updating...
==> default: Enabling ZoneGate
==> default: Starting zone base64
==> default: Installing vnic in global zone
==> default: Checking for guest additions in VM...
    default: No guest additions were detected on the base box for this VM! Guest
    default: additions are required for forwarded ports, shared folders, host only
    default: networking, and more. If SSH fails on this machine, please install
    default: the guest additions and repackage the box to continue.
    default:
    default: This is not an error message; everything may continue to work properly,
    default: in which case you may ignore this message.
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: to force provisioning. Provisioners marked to run always will still run.
monolith:smartos blake$ vagrant ssh
Last login: Fri Oct 10 18:22:32 2014 from 10.0.2.2
   __        .                   .
 _|  |_      | .-. .  . .-. :--. |-
|_    _|     ;|   ||  |(.-' |  | |
  |__|   `--'  `-' `;-| `-' '  ' `-'
                   /  ; Instance (base64 14.2.0)
                   `-'  http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$ ifconfig
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2
        inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
[vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$

# 'smartos2 vagrant machine
monolith:smartos2 blake$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'livinginthepast/smartos-base64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'livinginthepast/smartos-base64' is up to date...
==> default: Setting the name of the VM: smartos2_default_1412965563891_82070
==> default: Configuring a port forward to talk to the Global Zone
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Fixed port collision for 2222 => 22022. Now on port 2201.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
    default: 2222 => 2201 (adapter 1)
==> default: Remapping platform ISO
==> default: SmartOS platform image 20141002T182809Z exists
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Installing vnic in global zone
==> default: Installing ZoneGate
==> default: Checking if machine supports zones: yes
==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed
==> default: Creating zone base64 with image d34c301e-10c3-11e4-9b79-5f67ca448df0
==> default: Creating users in zone base64 6d276d68-c9db-4acb-9629-4a8fd7a0579a
==> default: Zone created with uuid 6d276d68-c9db-4acb-9629-4a8fd7a0579a
==> default: Enabling ZoneGate
==> default: Checking for guest additions in VM...
    default: No guest additions were detected on the base box for this VM! Guest
    default: additions are required for forwarded ports, shared folders, host only
    default: networking, and more. If SSH fails on this machine, please install
    default: the guest additions and repackage the box to continue.
    default:
    default: This is not an error message; everything may continue to work properly,
    default: in which case you may ignore this message.
monolith:smartos2 blake$ vagrant ssh
Last login: Fri Oct 10 18:27:49 2014 from 10.0.2.2
   __        .                   .
 _|  |_      | .-. .  . .-. :--. |-
|_    _|     ;|   ||  |(.-' |  | |
  |__|   `--'  `-' `;-| `-' '  ' `-'
                   /  ; Instance (base64 14.2.0)
                   `-'  http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$ ifconfig
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2
        inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
[vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$

At any rate, the original bug behavior has been fixed by the latest update.

sax commented 9 years ago

Zones, or global zones? For zones it should be fine, as the gz is managing its own private network. I did not do too much testing to ensure that everything routed out of VBox correctly, though.

This will almost certainly have to change once we get into multi-zone setups or VMware networking.

Sent from my iPhone

On Oct 10, 2014, at 12:31 PM, Blake Irvin notifications@github.com wrote:

Seeing some crazy behavior here where two different zones have the same IP. Or is this okay because of host-only networking?

'smartos' vagrant machine

monolith:smartos blake$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'livinginthepast/smartos-base64' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Configuring a port forward to talk to the Global Zone ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) default: 2222 => 22022 (adapter 1) ==> default: Remapping platform ISO ==> default: SmartOS platform image 20141002T182809Z exists ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! ==> default: Installing vnic in global zone ==> default: Installing ZoneGate ==> default: Checking if machine supports zones: yes ==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed ==> default: Zone base64 exists ==> default: Updating... ==> default: Enabling ZoneGate ==> default: Starting zone base64 ==> default: Installing vnic in global zone ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message. ==> default: Machine already provisioned. Run vagrant provision or use the --provision ==> default: to force provisioning. Provisioners marked to run always will still run. monolith:smartos blake$ vagrant ssh Last login: Fri Oct 10 18:22:32 2014 from 10.0.2.2 . . | | | .-. . . .-. :--. |- | | ;| || |(.-' | | | || --'-' ;-|-' ' ' -' / ; Instance (base64 14.2.0) -' http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$ ifconfig lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2 inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 [vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$

'smartos2 vagrant machine

monolith:smartos2 blake$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'livinginthepast/smartos-base64'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'livinginthepast/smartos-base64' is up to date... ==> default: Setting the name of the VM: smartos2_default_1412965563891_82070 ==> default: Configuring a port forward to talk to the Global Zone ==> default: Fixed port collision for 22 => 2222. Now on port 2200. ==> default: Fixed port collision for 2222 => 22022. Now on port 2201. ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2200 (adapter 1) default: 2222 => 2201 (adapter 1) ==> default: Remapping platform ISO ==> default: SmartOS platform image 20141002T182809Z exists ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2200 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! ==> default: Installing vnic in global zone ==> default: Installing ZoneGate ==> default: Checking if machine supports zones: yes ==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed ==> default: Creating zone base64 with image d34c301e-10c3-11e4-9b79-5f67ca448df0 ==> default: Creating users in zone base64 6d276d68-c9db-4acb-9629-4a8fd7a0579a ==> default: Zone created with uuid 6d276d68-c9db-4acb-9629-4a8fd7a0579a ==> default: Enabling ZoneGate ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message. monolith:smartos2 blake$ vagrant ssh Last login: Fri Oct 10 18:27:49 2014 from 10.0.2.2 . . | | | .-. . . .-. :--. |- | | ;| || |(.-' | | | || --'-' ;-|-' ' ' -' / ; Instance (base64 14.2.0) -' http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$ ifconfig lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2 inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 [vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$

At any rate, the original bug behavior has been fixed by the latest update.

— Reply to this email directly or view it on GitHub https://github.com/vagrant-smartos/vagrant-smartos-zones/issues/5#issuecomment-58697404 .

bixu commented 9 years ago

Just for zones - didn’t look carefully at your network config, so this appears to be fine.

On Oct 10, 2014, at 9:59 PM, Eric Saxby notifications@github.com wrote:

Zones, or global zones? For zones it should be fine, as the gz is managing its own private network. I did not do too much testing to ensure that everything routed out of VBox correctly, though.

This will almost certainly have to change once we get into multi-zone setups or VMware networking.

Sent from my iPhone

On Oct 10, 2014, at 12:31 PM, Blake Irvin notifications@github.com wrote:

Seeing some crazy behavior here where two different zones have the same IP. Or is this okay because of host-only networking?

'smartos' vagrant machine

monolith:smartos blake$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'livinginthepast/smartos-base64' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Configuring a port forward to talk to the Global Zone ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) default: 2222 => 22022 (adapter 1) ==> default: Remapping platform ISO ==> default: SmartOS platform image 20141002T182809Z exists ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! ==> default: Installing vnic in global zone ==> default: Installing ZoneGate ==> default: Checking if machine supports zones: yes ==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed ==> default: Zone base64 exists ==> default: Updating... ==> default: Enabling ZoneGate ==> default: Starting zone base64 ==> default: Installing vnic in global zone ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message. ==> default: Machine already provisioned. Run vagrant provision or use the --provision ==> default: to force provisioning. Provisioners marked to run always will still run. monolith:smartos blake$ vagrant ssh Last login: Fri Oct 10 18:22:32 2014 from 10.0.2.2 . . | | | .-. . . .-. :--. |- | | ;| || |(.-' | | | || --'-' ;-|-' ' ' -' / ; Instance (base64 14.2.0) -' http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$ ifconfig lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2 inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 [vagrant@ea447da2-08a0-4798-9292-b37f986c8a27 ~]$

'smartos2 vagrant machine

monolith:smartos2 blake$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'livinginthepast/smartos-base64'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'livinginthepast/smartos-base64' is up to date... ==> default: Setting the name of the VM: smartos2_default_1412965563891_82070 ==> default: Configuring a port forward to talk to the Global Zone ==> default: Fixed port collision for 22 => 2222. Now on port 2200. ==> default: Fixed port collision for 2222 => 22022. Now on port 2201. ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2200 (adapter 1) default: 2222 => 2201 (adapter 1) ==> default: Remapping platform ISO ==> default: SmartOS platform image 20141002T182809Z exists ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2200 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! ==> default: Installing vnic in global zone ==> default: Installing ZoneGate ==> default: Checking if machine supports zones: yes ==> default: Checking for zone image d34c301e-10c3-11e4-9b79-5f67ca448df0: installed ==> default: Creating zone base64 with image d34c301e-10c3-11e4-9b79-5f67ca448df0 ==> default: Creating users in zone base64 6d276d68-c9db-4acb-9629-4a8fd7a0579a ==> default: Zone created with uuid 6d276d68-c9db-4acb-9629-4a8fd7a0579a ==> default: Enabling ZoneGate ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message. monolith:smartos2 blake$ vagrant ssh Last login: Fri Oct 10 18:27:49 2014 from 10.0.2.2 . . | | | .-. . . .-. :--. |- | | ;| || |(.-' | | | || --'-' ;-|-' ' ' -' / ; Instance (base64 14.2.0) -' http://wiki.joyent.com/jpc2/SmartMachine+Base

[vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$ ifconfig lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2 inet 10.0.0.2 netmask ffffff00 broadcast 10.0.0.255 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 [vagrant@6d276d68-c9db-4acb-9629-4a8fd7a0579a ~]$

At any rate, the original bug behavior has been fixed by the latest update.

— Reply to this email directly or view it on GitHub https://github.com/vagrant-smartos/vagrant-smartos-zones/issues/5#issuecomment-58697404 . — Reply to this email directly or view it on GitHub https://github.com/vagrant-smartos/vagrant-smartos-zones/issues/5#issuecomment-58708355.