Here is what i currently have set. This probably wasn't the best machine to 
start with as it's already a little unusual.



This machine is a simulated Juniper router. Net0 loops back into Net1 and each 
end is placed into logical systems. Multiple links are simulated by using VLAN 
tags to create separate point to point circuits and allows you to build up a 
topology of interconnected logical routers. At the moment tagged frames from 
net0 aren't received on net1. If i use untagged frames I can ping between 
logical systems as expected.



# vmadm get a57e5f07-cee7-47ed-a74b-f54b227cd25f | json nics

[

{

"interface": "net0",

"mac": "f2:da:d4:5c:ba:70",

"nic_tag": "loop0",

"ip": "dhcp",

"model": "e1000",

"allow_ip_spoofing": true,

"allow_mac_spoofing": true,

"allow_restricted_traffic": true,

"allow_unfiltered_promisc": true,

"primary": true

},

{

"interface": "net1",

"mac": "52:fb:a9:db:86:f4",

"nic_tag": "loop0",

"ip": "dhcp",

"model": "e1000",

"allow_ip_spoofing": true,

"allow_mac_spoofing": true,

"allow_restricted_traffic": true,

"allow_unfiltered_promisc": true

}

]



I will check the behaviour using separate machines and try using Joyent zones 
to see if it makes any difference.



Thanks,

Daryl.






-------- Original Message --------

Subject: Re: [smartos-discuss] VLAN tagging to guest zone

Time (UTC): August 27 2015 4:01 pm

From: [email protected]

To: [email protected]

CC: [email protected]



Hi Daryl,



You probably need to have allow_unfiltered_promisc set to true.



I simple add multiple nics with a different vlan_id set for each myself,

which also works fine.



Regards



Jorge



On 2015-08-27 17:31, Daryl Turner wrote:



> Hi All,

>

> I'm currently working on porting over some machines from a network lab

> from ESXi to SmartOS. There is a requirement to carry tagged traffic

> between several KVM branded zones to simulate a specific network

> topology.

>

> From what I can see, and have tried this isn't possible even with the

> permit_restricted_traffic flag. I've also added spoof_ip and spoof_mac

> permits.

>

> Can anyone confirm if this is a restriction in the virtual networking

> stack in SmartOS or if there is a possible workaround? The link between

> the zones is logically point to point so the etherstub wouldn't need to

> VLAN aware as such, just passing the traffic would satisfy my

> requirement for now.

>

> Thanks,

> Daryl.

>

> SMARTOS-DISCUSS | Archives [1] [2] | Modify [3] Your Subscription

> [4]
 
 
 Links:
 
 ------
 
 [1]  https://www.listbox.com/member/archive/184463/=now
 
 [2]  https://www.listbox.com/member/archive/rss/184463/26452851-88b650c7
 
 [3] 
 
 https://www.listbox.com/member/?&;
 
 [4]  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