Update chapter2 with gateway for vm.

Signed-off-by: JiYou <jiyou09@gmail.com>