Hi SmartOS Community,

I have a problem with using etherstubs and vnics.
I configured it like it was explained in several tutorials and howtos, but it doesnt work. (No Ping, nothing.(Yea, Firewall on PFsense is disabled for the Test))

I created an etherstub with "/dladm create-etherstub vswitch0/" with the following vnics:

/[root@00-19-99-20-c1-37 ~]# dladm show-vnic//
//LINK         OVER       SPEED MACADDRESS        MACADDRTYPE VID  ZONE//
//vnic0        vswitch0   0     2:8:20:ed:34:1c   random 0    --//
//vnic1        vswitch0   0     2:8:20:26:67:53   random 0    --//
//vnic2        vswitch0   0     2:8:20:9f:76:f2   random 0    --//
//net0 bge0 0 a2:1b:92:58:74:57 fixed 0 00b969ba-332f-4444-83ab-9e87a16282a6// //net1 vswitch0 0 d2:b1:26:aa:b5:8 fixed 0 00b969ba-332f-4444-83ab-9e87a16282a6// //net0 vswitch0 0 42:42:67:71:92:d fixed 0 53659df6-03d1-4441-af81-450d120b1a4a// //net0 vswitch0 0 82:9a:7a:89:84:a1 fixed 0 ea1f281b-17d5-45ef-9471-d9442a5471d3/

00b969ba-332f-4444-83ab-9e87a16282a6 is a Firewall (PFsense) with following Config:
/[root@00-19-99-20-c1-37 ~]# cat /zones/json/pfsense.json//
//{//
//  "alias": "pfsense2",//
//  "hostname": "pfsense2",//
//  "brand": "kvm",//
//  "vcpus": 1,//
//  "autoboot": false,//
//  "ram": 1024,//
//  "disks": [//
//    {//
//      "boot": true,//
//      "model": "virtio",//
//      "size": 10240//
//    }//
//  ],//
//  "nics": [//
//    {//
//      "nic_tag": "admin",//
//      "model": "virtio",//
//      "ip": "dhcp",//
//      "allow_ip_spoofing": true,//
//      "primary":"1"//
//    },//
//    {//
//      "nic_tag": "vswitch0",//
//      "model": "virtio",//
//      "ip": "dhcp",//
//      "allow_ip_spoofing": true//
//    }//
//  ]//
//}//
/
53659df6-03d1-4441-af81-450d120b1a4a is a Centos 6.6 Server with following Config:
/[root@00-19-99-20-c1-37 ~]# cat /zones/json/centos6.6_1.json//
//{//
//  "alias": "centos6.6_1",//
//  "hostname": "centos6.6_1",//
//  "brand": "kvm",//
//  "vcpus": 1,//
//  "autoboot": false,//
//  "ram": 1024,//
//  "disks": [//
//    {//
//      "boot": true,//
//      "model": "virtio",//
//      "size": 4096//
//    }//
//  ],//
//  "nics": [//
//    {//
//      "nic_tag": "vswitch0",//
//      "interface": "vnic1",//
//      "physical": "vnic1",//
//      "model": "virtio",//
//      "ip": "dhcp",//
//      "primary": true//
//    }//
//  ]//
//}/

ea1f281b-17d5-45ef-9471-d9442a5471d3 is a Centos 6.6 Server with following Config:
/[root@00-19-99-20-c1-37 ~]# cat /zones/json/centos6.6_2.json//
//{//
//  "alias": "centos6.6_2",//
//  "hostname": "centos6.6_2",//
//  "brand": "kvm",//
//  "vcpus": 1,//
//  "autoboot": false,//
//  "ram": 1024,//
//  "disks": [//
//    {//
//      "boot": true,//
//      "model": "virtio",//
//      "size": 4096//
//    }//
//  ],//
//  "nics": [//
//    {//
//      "nic_tag": "vswitch0",//
//      "interface": "vnic2",//
//      "physical": "vnic2",//
//      "model": "virtio",//
//      "ip": "dhcp",//
//      "primary": true//
//    }//
//  ]//
//}/





-------------------------------------------
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