LAN to LAN on different interfaces

Hi community,

I am new to XG V.18 and having a understanding deficit on terms bridge, gateway, VLAN and IP objects.

Subnet A on interface 4.
Subnet B interface 5.
Client in Subnet B should use DNS Server in Subnet A and route to the internet when retreiving an external IP address from DNS Server.

Any help will be appreciated.