I need to set the route 0.0.0.0/0 18.104.22.168 (isp assigned upstream gateway) on the /30 VLAN, with the VE having IP 22.214.171.124.Yes, you will need a VE in both VLANs. One will have your ISP-assigned endpoint address from the /30 subnet, and the other will have one of the addresses from the /27 (which will be the gateway address for the other devices on that VLAN).
hm, I think I am missing a static route from the /27 vlan to the /30 to make the /27 be able to reach internet.
ip route 0.0.0.0/0 ve30 (where ve30 is the VE in vlan having /30 subnet)
Will this work, or is it better to go with the IP assigned to that ve30 (126.96.36.199)? I read somewhere this will cause very large ARP cache?
I will actually have routers connected to the /27 VLAN ports, to NAT the IPs I got from the ISP.