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:[email protected]] 
发送时间: 2016年4月14日 22:12
收件人: liyulei; [email protected]
主题: 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 <[email protected] <mailto:[email protected]> >
Date: Thursday, April 14, 2016 at 3:17 AM
To: "[email protected] <mailto:[email protected]> " 
<[email protected] <mailto:[email protected]> >
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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to