← Back to team overview

openstack team mailing list archive

How to make the subinterface connection in a VLAN environment?


My OpenStack environment is running under traditional VLAN model.
Currently, I have two VMs which is running Ubuntu 12.04 server and their
Fixed IP is:

Host 1: eth0:
Host 2: eth0:

Then I add a subinterface to each VM like this:

Host 1: eth0:1
Host 2: eth0:1

My network configuration looks like:
auto eth0
iface eth0 inet dhcp

auto eth0:1
iface eth0:1 inet static
address **

Also in the access & security I open icmp there, but I don't think this is
related to my issue. Then I try to run ping host2 from host1, and it works.

Then on Host1, I run:

ping -I -> *NO RESPONSE*

ping -> *Destination Host Unreachable*
I didn't modify the route table, and it looks like:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
default         UG    100    0        0 eth0      *        U     0      0        0 eth0     *        U     0      0        0 eth0

Anyone know how can I access the host2 through my subinterface? Thanks a

- Ray
Yours faithfully, Kind regards.

CIeNET Technologies (Beijing) Co., Ltd
Email: qsun01185@xxxxxxxxxxxxx
Office Phone: +86-01081470088-7079
Mobile Phone: +86-13581988291

Follow ups