[Openstack] 答复: [OpenStack] How to deploy Liberty Neutron with linuxbridge on physical machine having single NIC
liyulei
liyulei_walker at hotmail.com
Fri Apr 15 08:33:55 UTC 2016
Hi James,
Thanks first, but I encountered another problem when creating a VLAN interface according to the Red_Hat_Enterprise_Linux-7-Networking_Guide. I configuered the parent interface ifcfg-eno1 as follows:
DEVICE=eno1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
And I created a new file named ifcfg-eno1.1, the content is:
DEVICE=eno1.1
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.81.66
PREFIX=24
NETWORK=192.168.81.66
VLAN=yes
Then I restarted the network: systemctl restart network (the operating system is CentOS7)
After that I found that I couldn’t connect to the Internet, even couldn’t ping the gateway. I thought it might be I didn’t set the GATEWAY in ifcfg-eno1.1, so I added the GATEWAY=192.168.81.254(My local area network gateway), it didn’t work.
Could you teach me how to create a VLAN interface in CentOS7, or tell me what’ s wrong with my configuration, more detailed more better.
Thanks you
Li yulei
发件人: James Denton [mailto:james.denton at rackspace.com]
发送时间: 2016年4月14日 22:12
收件人: liyulei; openstack at lists.openstack.org
主题: Re: [Openstack] [OpenStack] How to deploy Liberty Neutron with linuxbridge on physical machine having single NIC
Hi Li,
Yes, this is absolutely possible. The easiest way would be to create a VLAN interface (e.g. eth0.50) for use as your management/API network as well as your VXLAN VTEP address, or you can create a separate interface for that. You will then use eth0 for your provider bridge interface (e.g. physical_interface_mappings = physnet1:eth0). You can then create a single flat and multiple VLAN provider networks using --provider:physical_network=physnet1 and segmentation IDs other than 50. The LinuxBridge agent will create VLAN interfaces and place them in the respective bridges.
James
From: liyulei <liyulei_walker at hotmail.com <mailto:liyulei_walker at hotmail.com> >
Date: Thursday, April 14, 2016 at 3:17 AM
To: "openstack at lists.openstack.org <mailto:openstack at lists.openstack.org> " <openstack at lists.openstack.org <mailto:openstack at lists.openstack.org> >
Subject: [Openstack] [OpenStack] How to deploy Liberty Neutron with linuxbridge on physical machine having single NIC
Hello,
Is it possible that deploying Liberty Neutron with linuxbridge on physical machine having single NIC ?
If it is, how should do ?
Thanks
Li yulei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160415/ac7c7191/attachment.html>
More information about the Openstack
mailing list