Thanks Nicholas, Robert, Eric for the responses. They were very helpful

 



 

Re: [smartos-discuss] SmartOS Host with multiple VLAN guests 
<https://www.listbox.com/member/archive/184463/2015/08/20150818232029:39B20C32-4621-11E5-8651-BCEB097CDC54>
  

Sent by Nicholas Lee < <mailto:[email protected]> [email protected]> at 
Wed, 19 Aug 2015 15:20:19 +1200

In my setup I have tagged an "external" NIC on the server like so: [root@node7 
~]# cat /usbkey/config | grep external external_nic=0:1e:67:9f:dd:da Then setup 
the interfaces in the vm setup, For example, LX/Ubuntu zone: [root@node7 ~]# 
vmadm get 221c95b6-dd44-42bc-91c3-5e1c218d2880 | json nics [ { "interface": 
"net0", "mac": "32:d9:2c:69:d6:fc", "vlan_id": 216, "nic_tag": "external", 
"gateway": "192.168.10.1", "ip": "192.168.10.105", "netmask": "255.255.255.0", 
"primary": true } ] and this KVM system on another node: [root@node6 ~]# vmadm 
get aaa49efe-994b-4e8a-ab2c-8b67a03bc1d0 | json nics [ { "interface": "net0", 
"mac": "d2:86:4f:40:43:a5", "vlan_id": 229, "nic_tag": "external", "gateway": 
"X.X.X.X", "ip": "X.X.X.X", "netmask": "255.255.255.224", "model": "virtio", 
"primary": true }, { "interface": "net1", "mac": "22:09:a4:37:7f:0c", 
"vlan_id": 216, "nic_tag": "external", "ip": "192.168.10.15", "netmask": 
"255.255.255.0", "model": "virtio" }, { "interface": "net2", "mac": 
"b2:96:ff:c5:0d:65", "vlan_id": 251, "nic_tag": "storage", "ip": 
"172.29.220.102", "netmask": "255.255.255.0", "model": "virtio" } ] Note the 
different vlan tags for different subnets. This also allows me to setup my 
linux/kvm VMs on the same basis. May not be the most efficient, but I find it 
logically easy to manage. Management access to the nodes is via a different 
NIC, but you could probably use the same NIC if you had a different tag/same 
MAC in /usbkey/config. Nicholas [ trailing quoted section removed ] 

 

Re: [smartos-discuss] SmartOS Host with multiple VLAN guests 
<https://www.listbox.com/member/archive/184463/2015/08/20150819002542:55CFC81A-462A-11E5-87C5-F8CBEF10038B>
  

Sent by Eric < <mailto:[email protected]> [email protected]> at Wed, 19 Aug 
2015 00:25:12 -0400

For an idea of how vSwitches (etherstubs) and VNICs interact in Smartos, here's 
a good diagram for a single physical port: 
​http://uadmin.nl/init/solaris-11-zones-and-etherstubs/ And this one with 
NAT/proxy: ​http://www.scalingbits.com/book/export/html/479 And I believe this 
was discussed earlier, you can use a bridge in Crossbow for bridging two 
physical ports. [ trailing quoted section removed ] 

 


smartos-discuss |  <https://www.listbox.com/member/archive/184463/=now> 
Archives  <https://www.listbox.com/member/archive/rss/184463/27082038-11726f40> 
|  <https://www.listbox.com/member/?&;> Modify Your Subscription

 <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