Thanks for info.
I am running it in virtualbox. I put the adapter in promiscuous mode.
I made some changes to my json file and made a new zone web01
I can ping web01, from another device.
I can ping my global zone from web01.
web01 however can not ping anything else in my network or anything
beyond my network.
My global zone can get anywhere in and outside.
This is starting to look like its not specifically a SmartOS problem,
but my reading indicates this should work.
Thanks.
relevant information below:
***************
NETWORK INFO:
[root@web01 ~]# more /etc/resolv.conf
search local
nameserver 8.8.4.4
nameserver 8.8.8.8
[root@web01 ~]# more /etc/defaultrouter
192.168.1.1
[root@web01 ~]# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use
Interface
-------------------- -------------------- ----- ----- ----------
---------
default 192.168.1.1 UG 2 16 net0
127.0.0.1 127.0.0.1 UH 2 0 lo0
192.168.1.0 192.168.1.150 U 4 4 net0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref
Use If
--------------------------- --------------------------- ----- ---
------- -----
::1 ::1 UH 2
0 lo0
[root@web01 ~]# ifconfig
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
net0: flags=40001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,L3PROTECT>
mtu 1500 index 2
inet 192.168.1.150 netmask ffffff00 broadcast 192.168.1.255
ether 32:4f:63:a4:88:92
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
inet6 ::1/128
**************
JSON FILE:
{
"brand": "joyent",
"image_uuid": "ff86eb8a-a069-11e3-ae0e-4f3c8983a91c",
"alias": "web01",
"hostname": "web01",
"ram": 1024,
"quota": 20,
"customer_metadata": {
"root_pw": "pass1",
"admin_pw": "pass1"
},
"resolvers": [
"8.8.4.4",
"8.8.8.8"
],
"nics": [{
"nic_tag": "admin",
"ip": "192.168.1.150",
"netmask": "255.255.255.0",
"gateway": "192.168.1.1",
"model": "e1000",
"primary": 1
}]
}
On Tue, April 1, 2014 22:05, Robert Mustacchi <[email protected]> wrote:
On 04/01/2014 06:58 PM, [email protected] wrote:
hi,
I just installed smart os virtually, and created a new zone mainly
using
instructions here:
http://wiki.smartos.org/display/DOC/How+to+create+a+zone+%28+OS+virtualized+machine+%29+in+SmartOS
I can't get out or into the zone network wise (ssh, wget, ping), but
can
ssh to the global zone. I was wondering is something disabling
networking by default in new zones for security reasons.
I figured I'd ask before i start ripping my hair out. I used the
latest
64bit image.
So, you mentioned that you're running this virutally, does that mean
that you're running SmartOS inside of a virtual machine? If that's
the
case, you generally need to tell the hypervisor software like
virtualbox/vmware to put the underlying network device in promiscuous
mode.
If you're running physically, then the first thing to ask is can you
ping the global zone and then can you ping your gateway. You should
confirm that the gateway is set by looking at the routing tables from
netstat -rn.
Robert
Relevant information if anyone can think of anything....
netstat -i
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs
Collis
Queue
lo0 8232 loopback localhost 0 0 0 0 0
0
net0 1500 192.168.1.0 192.168.1.150 797 0 102 0 0
0
******
ifconfig net0
net0:
flags=40001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,L3PROTECT>
mtu 1500 index 2
inet 192.168.1.150 netmask ffffff00 broadcast 192.168.1.255
ether e2:af:54:b:2e:7d
*******
ps -ef | grep inet
root 6771 6242 0 21:28:18 ? 0:00
/usr/lib/inet/inetd
start
*******
more /etc/defaultrouter
192.168.1.1
*******
more /etc/resolv.conf
search local
nameserver 8.8.8.8
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed:
https://www.listbox.com/member/archive/rss/184463/21483261-4b78dd38
Modify Your Subscription:
https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed:
https://www.listbox.com/member/archive/rss/184463/25917129-9c2890ed
Modify Your Subscription:
https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com