Hi Sam

It would probably be worth checking what the ‘default’ route is for your global 
zone. You can do this with ‘netstat -rn’ and you should see a ‘default’ entry 
under destination. That will be where the global zone will direct its traffic.

That being said, you should be able to create a zone/KVM, attach it’s NIC onto 
the ‘external’ nic tag, give it an IP and have it work. At first glance I would 
think the confusion is limited to the global zone as it has access to both 
admin and external - and since both have a gateway, the global zone is just 
using the first NIC in the list, which is probably admin.

Thanks,
Dave

On 23 Dec 2014, at 11:12 am, Sam M via smartos-discuss 
<[email protected]<mailto:[email protected]>> 
wrote:

Hello all.

I'd appreciate any help on this. I'm not getting the results I need so I must 
be doing something wrong.

I have 2 NICs. I'd like to use one for "admin", the other for "external". I'd 
like to use "admin" for internal access and "external" for access to the 
outside world.

The IP address of the gateway to the outside is 172.22.66.66.

I have the following in my /usbkey/config


admin_nic=0:c:29:18:ec:10
admin_ip=172.77.77.77
admin_netmask=255.255.240.0
admin_network=172.77.64.0
admin_gateway=172.77.66.66

external_nic=0:c:29:18:ec:1a
external0_ip=172.22.77.77
external0_netmask=255.255.240.0
external0_network=172.22.64.0
external0_gateway=172.22.66.66

headnode_default_gateway=172.22.66.66

dns_resolvers=8.8.8.8,8.8.4.4
dns_domain=

ntp_hosts=pool.ntp.org<http://pool.ntp.org/>
compute_node_ntp_hosts=172.77.77.77

I can't ping the outside. What am I doing wrong?

TIA.

Sam

smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> 
[https://www.listbox.com/images/feed-icon-10x10.jpg10f3ec5.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc]
 <https://www.listbox.com/member/archive/rss/184463/25738179-216c4b5f>  | 
Modify<https://www.listbox.com/member/?&;> Your Subscription       
[https://www.listbox.com/images/listbox-logo-small.png10f3ec5.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]
 <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

Reply via email to