This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LAN - VLAN routing

Hi!
I have an XG125 where the network of port 6 is 192.168.12.0/24 and the port 1 is 192.168.0.0/24, both in LAN zone.
Port 6 has a DHCP server
I've added a VLAN on port 1 (Port1.40) with IP in DHCP

I've created 2 rules:
1:
Source zones: LAN
Source network: #Port1.40
Destination zones LAN
Destination networks: #Port6
Service: Any

2:

Source zones: LAN
Source network: #Port6
Destination zones LAN
Destination networks: #Port1.40
Service: Any

But the VLAN interface doesn't get the any IP from the DHCP server on port6.

What am I doing wrong?



This thread was automatically locked due to age.

Top Replies

  • Hello Mario,

    you are mixing / confusing Layer 2 and Layer 3 here.

    While "Port 1" and "VLAN 40" sit on the same physical Interface, these are complete different Networks, which don't "see each other" in terms of IP-addresses.

    The same with "Port 6", the network on Port 1 does not "see" the traffic on "Port 1" or "Port1.40" simply by putting them into the same Firewall-Zone.

    You either have to build a bridge (connection on Layer 2), or you have to route between the IP-nets on top of those interfaces (connection on Layer 3).

    Like now, the VLAN-Port 1.40 will never get a DHCP address from the server running on Port 6, nor will it get one, if you run that on Port 1.

    Please tell us, what you want to achieve, so that we can help you to find a solution for your use case.

    Jump to answer
  • Ok, now I got it, thanks Philipp.
    I've tried to do a bridge between port..40 and port6, but the birdge doesn't support VLAN.

    What I want to achieve is this:

    Port6 is the network of our phone exchange and phones (the softphones reach the pghone exchange witha  firewall rule), now we are virtualizing it, but the host is connected only to port1.
    That's why I thought to create a VLAN on port1.

    What should I do? I really prefer to avoid another network.

    Thanks for the support.

  • Hello Mario,

    just put a VLAN capable and managed switch on Port 6, build VLANs for the different networks and consolidate Port1 and VLAN 1.40 on Port 6. Lets call it Port 6.40 and Port6.0.

    Mit freundlichem Gruß, best regards from Germany,

    Philipp Rusch

    New Vision GmbH, Germany
    Sophos Silver-Partner

    If a post solves your question please use the 'Verify Answer' button.

  • So are you saying that what I need can't be done just with the XG?

  • No, I did not say that. That's what I would recommend based on your infos so far.

    Mit freundlichem Gruß, best regards from Germany,

    Philipp Rusch

    New Vision GmbH, Germany
    Sophos Silver-Partner

    If a post solves your question please use the 'Verify Answer' button.

  • When it comes to VLANs:

    AFAIK, the Ports of an XG system are configured like a trunk-port, you have one untagged default VLAN (=VLAN ID 1) and all the other VLAN you define for this same port are tagged VLANs.

    So you could solve your "dilemma" without a switch and solely using XG-Ports, but you will need to change the configuration of your virtualization host o Port 1, then.

    Mit freundlichem Gruß, best regards from Germany,

    Philipp Rusch

    New Vision GmbH, Germany
    Sophos Silver-Partner

    If a post solves your question please use the 'Verify Answer' button.