Forums

Resolved
0 votes
Hello,

i attached pictures- old and new setup.

ClearOS release 7.8.1 (Final)

How to bridge WAN to LAN with VLAN tags ?



U
Attachments:
Sunday, December 13 2020, 06:53 AM
Share this post:
Responses (5)
  • Accepted Answer

    Sunday, December 13 2020, 09:26 AM - #Permalink
    Resolved
    0 votes
    I have a feeling I am not going to know the answer here. To set up a VLAN 2000 is simple and is how you set up VLAN 100 and 200.

    If you are trying to pass VLAN 2000 from WAN to LAN and it has the same IP on your WAN as your normal internet, then I don't know. If it has a different IP, it is possible to to set up an external VLAN interface as well, but the question then becomes how to pass it through to the correct LAN. The 1-to-1 NAT app allows you to pass a single external IP through to a single internal IP. The MultiWAN app can try to map internal interfaces (subnets) to external interfaces for outbound traffic (and return traffic).
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, December 13 2020, 10:55 AM - #Permalink
    Resolved
    0 votes
    Hello,

    on standard router (example-Microtic) working example is:

    -NIC with SFP in bridge with port connected to phone(phone has external IP from ISP DHCP)
    -from this bridgedWAN - create VLAN for IPTV(2000) with DHCP and NAT for internet

    U
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, December 13 2020, 12:46 PM - #Permalink
    Resolved
    0 votes
    Does the WAN need a VLAN for the phone and IPTV?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, December 13 2020, 02:24 PM - #Permalink
    Resolved
    0 votes
    Only IPTV... VLAN2000

    Phone is in old setup connected to ISP modem- it gets DHCP external IP from ISP.

    CLEAR os WAN IP is fixed.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, December 13 2020, 06:16 PM - #Permalink
    Resolved
    0 votes
    So have you tried creating a WAN VLAN 2000 interface. You may then need the MultiWAN app especially if you want to route the IPTV to a LAN VLAN.

    The phone may be more difficult (impossible?) as it is DHCP. For that you'd need to make your WAN DHCP and then either give the interface an extra IP for your normal static IP. The problem then becomes how to route your internet to/from your LAN. It may be as simple as creating a SNAT PREROUTING rule in the firewall or it may be more complicated. Also what do you then do with the phone?
    The reply is currently minimized Show
Your Reply