Create VLAN during installation
Create VLAN
Create a VLAN is easy during the installation of CubeOS.
Configure VLAN, WARNING: do not use bond0
, bond1
, bondx
as bonding name
-- VLAN Settings --
--------------------------------------------------
Label BusID Driver State Speed
--------------------------------------------------
IF.1 0000:02:00.0 bnx2 UP 1000F
IF.2 0000:02:00.1 bnx2 DOWN N/A
IF.3 0000:03:00.0 bnx2 DOWN N/A
IF.4 0000:03:00.1 bnx2 DOWN N/A
--------------------------------------------------
1: Display policy
2: Configure vlan network
x: Exit
p: Previous screen
n: Next screen
Select option: 2
- Configure VLAN Network -
Select action:
1: Create
2: Remove
Enter index: 1
Select an interface:
1: IF.1
2: IF.2
3: IF.3
4: IF.4
Enter index: 2
Enter vlan ID [1-4094]: 100
Set vlan 100 for interface 'IF.2'
Configure IP address on IF.2.100(with VLAN tag)
Make this interface the default interface?
Yes
for external connection with internet access (gateway/router)No
for internal connection (no gateway/router)
-- Networking Settings --
--------------------------------------------------
Label BusID Driver State Speed
--------------------------------------------------
IF.1 0000:02:00.0 bnx2 UP 1000F
IF.2 0000:02:00.1 bnx2 DOWN N/A
IF.3 0000:03:00.0 bnx2 DOWN N/A
IF.4 0000:03:00.1 bnx2 DOWN N/A
--------------------------------------------------
1: Display device status
2: Display policy
3: Configure IF.1
4: Configure IF.2
5: Configure IF.3
6: Configure IF.4
7: Configure IF.2.100
x: Exit
p: Previous screen
n: Next screen
Select option: 7
- Configure IF.2.100 -
Enable this interface?
1: Yes
2: No
Enter index: 1
Make this interface the default interface?
1: Yes
2: No
Enter index: 2
Enter the IPv4 address: 192.168.100.10
Enter the IPv4 subnet mask: 255.255.255.0
Summary
Summary
Password has not been modified.
Host name: hp1
IF.2.100: vlan 100 on IF.2
IF.1
Default interface.
IPv4 Mode: Manual
IPv4 Address: 192.168.1.101
IPv4 Netmask: 255.255.255.0
IPv4 Gateway: 192.168.1.254
IPv6 Mode: Automatic
IF.2
IPv4 Mode: Manual
IPv4 Address:
IPv4 Netmask:
IPv6 Mode: Disabled
IF.3
Interface disabled
IF.4
Interface disabled
IF.2.100
Master interface: IF.2
IPv4 Mode: Manual
IPv4 Address: 192.168.100.10
IPv4 Netmask: 255.255.255.0
IPv6 Mode: Automatic
DNS server 1: 8.8.8.8
Time Zone: America/New_York
Date: 08/05/2020
Time: 02:42:04
Role: control-converged
External IP/Domain: N/A
Management: IF.1
Provider: IF.1
Overlay: IF.2.100
Storage: IF.2.100
Domain/Region: default/RegionOne
Cube Secret Seed: bigstack
Management CIDR: 10.254.0.0/16
High Availability: disabled
1: Accept the configuration
2: Cancel the configuration
3: Modify the configuration