When you create a downlink port on a tier-1 logical router, the port serves as a default gateway for the VMs that are in the same subnet.
Verify that a tier-1 logical router is configured. See Create a Tier-1 Logical Router.
- Click the tier-1 logical router link to create ports.
- Click the Configuration tab.
- Click Add under the Logical Router Ports section.
- Assign a name for the logical router port.
- Select whether this attachment creates a switch port or updates an existing switch port.
If the attachment is for an existing switch port, select the port from the drop-down menu.
- Enter the router port IP address in CIDR notation.
For example, the IP address can be 172.16.10.1/24.
You can also enter a preconfigured DHCP service IP address.
- Click Save.
- (Optional) : Repeat steps 1-7 for creating additional tier-1 logical router ports.
- Verify that the tier-1 logical router can route East-West VM traffic.
In this example, the tier-1 logical router has two downlink ports that connect to two logical switches. Each logical switch has a VM attached. The VMs can ping each other.
web-virtual-machine$ ping 172.16.20.10 PING 172.16.20.10 (172.16.20.10): 56(84) data bytes 64 bytes from 172.16.20.10: icmp_req=0 ttl=64 time=178 ms ^C --- 172.16.20.10 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 178 ms/178 ms/178 ms/0.000 ms
app-virtual-machine$ ping 172.16.10.10 PING 172.16.10.10 (172.16.10.10): 56(84) data bytes 64 bytes from 172.16.10.10: icmp_req=0 ttl=64 time=178 ms ^C --- 172.16.10.10 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 178 ms/178 ms/178 ms/0.000 ms
What to do next
Enable route advertisement to provide North-South connectivity between VMs and external physical networks or between different tier-1 logical routers that are connected to the same tier-0 logical router. See Configure Route Advertisement on a Tier-1 Logical Router.