Re: [CentOS] How to configure VLAN in CentOS7

2016-04-18 Thread Gordon Messmer
On 04/17/2016 07:39 PM, liyulei wrote: Could anybody teach me how to create a VLAN interface in CentOS7, or tell me what' s wrong with my configuration, more detailed more better. How is your switch configured? The CentOS configuration you described would only work when you set GATEWAY, and w

Re: [CentOS] How to configure VLAN in CentOS7

2016-04-17 Thread Fabian Arrotin
On 18/04/16 04:39, liyulei wrote: > Hi, > > > > I encountered a 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 > >

[CentOS] How to configure VLAN in CentOS7

2016-04-17 Thread liyulei
Hi, I encountered a 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.5, the con