Hello Anil,
Could you perchance provide the json used to create vm. Below I will give
my json for multiple nics in case that helps (ip spoofing etc allowed as
they all act as dhcp servers).
{
"alias": "PfSense",
"zonename" : "PfSense",
"hostname" : "wall",
"brand": "kvm",
"vcpus": 2,
"autoboot": true,
"ram": 2048,
"disks": [
{
"boot": true,
"model": "ide",
"size": 40096
}
],
"nics": [
{
"nic_tag": "external",
"model": "e1000",
"ip": "dhcp",
"allow_restricted_traffic": true,
"allow_ip_spoofing": true,
"allow_mac_spoofing": true,
"allow_dhcp_spoofing": true,
"allow_unfiltered_promisc": true
},
{
"nic_tag": "data",
"model": "e1000",
"ip": "dhcp",
"primary": true,
"allow_restricted_traffic": true,
"allow_ip_spoofing": true,
"allow_mac_spoofing": true,
"allow_dhcp_spoofing": true,
"allow_unfiltered_promisc": true
},
{
"nic_tag": "vswitch0",
"model": "e1000",
"ip": "dhcp",
"allow_restricted_traffic": true,
"allow_ip_spoofing": true,
"allow_mac_spoofing": true,
"allow_dhcp_spoofing": true,
"allow_unfiltered_promisc": true
},
{
"nic_tag": "vswitch1",
"model": "e1000",
"ip": "dhcp",
"allow_restricted_traffic": true,
"allow_ip_spoofing": true,
"allow_mac_spoofing": true,
"allow_dhcp_spoofing": true,
"allow_unfiltered_promisc": true
},
{
"nic_tag": "vswitch2",
"model": "e1000",
"ip": "dhcp",
"allow_restricted_traffic": true,
"allow_ip_spoofing": true,
"allow_mac_spoofing": true,
"allow_dhcp_spoofing": true,
"allow_unfiltered_promisc": true
}
]
}
On Wed, Feb 11, 2015 at 7:19 PM, Anil Jangity via smartos-discuss <
[email protected]> wrote:
> I am creating a new OEL KVM dataset. I was able to bring it up but the
> networking isn’t working.
> I end up getting eth2 and eth3. eth0 and eth0 are missing.
>
> Looking at 70-persistent-net.rules file, I do see 4 interfaces/4 MAC
> addresses. However log’s show:
>
> net eth0: ‘eth0’ renaming to ‘eth3’
> net eth0: ‘eth1’ renaming to ‘eth2’
>
> I think I have a standard config:
>
> "nics": [
> {
> "nic_tag": "admin",
> "model": "virtio",
> "ip": “x.x.x.x",
> "netmask": "255.255.255.224",
> "gateway": “x.x.x.x",
> "primary": true
> },
> {
> "nic_tag": "be",
> "model": "virtio",
> "ip": “y.y.y.y",
> "netmask": "255.0.0.0"
> }
> ],
>
> I am not too familiar with Linux, any ideas? Strangely, the base KVM I
> installed worked fine (the one this image is based on — where I installed
> using ISO).
>
> Thanks for any tips.
>
>
>
>
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed:
> https://www.listbox.com/member/archive/rss/184463/24697919-04ed9bf0
> 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