Need advice on vlan configuration with pf, routing and xen config



  • Hi,
    Maybe this post is not related to pf itself but I am pretty sure that some on you expert can help me.

    Here is my setup:

    wan -> pppoe -> em0
    lan -> 192.170.1.0/26 -> em1
    vlan200 -> 192.170.2.0/26 -> vlan200 over em1
    wifi -> 192.170.3.0/26 -> bridge with vlan300 over em1

    I have now a xen box where I want the following:

    • have my vms (domu) communicate with using vlan200
    • have the dom0 (xen itself) have an interface on the vlan1 (for dhcp and dns support for ex)

    I have created

    eth0 -> vlan1 : 192.170.1.3
    eth0 -> vlan200 : 192.170.2.3
    default route 192.170.2.1

    at this point, with a latpop configured in the lan, I can ping the 192.170.1.3
    if I ping the 192.170.2.3, a tcpdump on the xen box show that the ping comes in but can't go back

    from the xen box,
    I can ping the 192.170.1.1 and and 192.170.2.1 and the laptop in the lan vlan 192.170.1.62

    Is there something I miss that could help me to understand my the ping can't go back from for network but works with the other one?

    If you need more explantion, juste let me know.
    Thanks for any advices


Log in to reply