: Removing ActionTech Possible ZyXEL USG100


anav_ds
2012-01-09, 10:21 PM
I have a dual wan zyxel USG100 router currently handling FibreOP internet via the bridge mode set in the ActionTech Router and a standard cable connection. After reading FIles fine posts I was inspired to try and remove the Action Tech from the picture. I should caveat that I do not use IPTV or any TV signals (strictly phone and internet).

The second wan connection, the cable connection is to maintain a small backup capability 1.5down, 0.768up plus continuity for email addresses, long association with provider.

Wan1 Cable
Wan2 FibreOP

For the Dual Wan part I chose SpillOver method for the dual wans, basically use only one connection until its saturated and only then switch to WAN1. Since that never occurs it really is a case of (if WAN2 goes down) ensuring connectivity is switched to WAN1. This rule was assigned in the Interface menu sub selection TRUNKs. There is a default rule automatically generated when you have a dual wan (least load first sharing) but I created my own Trunk to replace it using spillover based setup as follows

Primary interface WAN 2
Secondary interface WAN 1

For my main ethernet interface settings I basically had WAN2 act like a standard ethernet client ie get dhcp automaticall.. I would plug in wan 2 to the action tech lan port and get an IP. (no cloning in this setup).

One other setup piece to be aware of was a policy route I had created so as to be able to send emails to the Cable email server. It basically told the router that when any packets on the LAN were destined for Cable SMTP IP address they should be routed through WAN1.

Steps to Remove Action Tech.
(1) After learning about how Vlans worked in the FibreOP setup, the first step was to setup a VLAN interface in the USG,
I created VLAN35, with the ID number of 35, associated the zone it was going to be associated with ie the WAN zone, and the base port (translation = interface it was running on), in this case WAN2

(2) Changing the Ethernet interface of WAN2. I statically put in 0.0.0.0 for ip and subnet mask (no longer get dchp automatically). I also cloned the mac address of the Action Tech.

(3) Changing TRUNK interface. The spillover Trunk I created was modified such that it read
Primary - VLAN35
Secondary - WAN1 (Cable)

I made these changes and ran into non-connectivity issues on the internet and email side. I was stuck for some time. Here is what was happening. I could easily grab an IP with VLAN35 interface active (even if my WAN2 interface was inactive). So the router was communicating with the ONT effectively in that regard. Unfortunately I could get no internet activity, nor get emails. Furthermore when I deactivated WAN2 or the VLAN or both, the router did not switch to WAN1 and thus could not get internet or email in any scenario.

Solution:
The primary cause after realizing that the Router could talk to the ONT no problem but my LAN had no access, or simply the packets were not getting routed out the WAN properly. A colleague opined that the packets from LAN to vlan35 are forwarded with source ip and port of the LAN hosts and the responses are not coming back to the USG router. The LAN packets were not getting NATed or in the USG we say SNAT was not being applied. (should all appear to Bell as coming from the DHCP client (the router IP) and not the LAN Ips etc etc).

(a). The fix was to create a policy route to tell the router all packets originating in the router (be it LAN1 LAN2 DMZ etc) should be SNATted and forwarded to the next hop (interface) VLAN35.

I put this new SNAT policy rule before the Email policy rule. Voila I now had internet access from all my PCs behind the router, but no email access. I moved the rule second behind the email rule and I now had internet access and email access. This makes sense as the VLAN rule handled all packets whereas I wanted the email ones parsed out first. As an additional example if I wanted to RDP out WAN1 I would place such a rule before the VLAN policy routing rule.

You may ask why did I not need this in the bridge mode setup. In this case the Ethernet Interface (an external interface in USG jargon) has SNAT automatically applied as a default rule. There was no VLAN it was a standard ethernet scenario.

BUT.......... when I turned WAN2 off, expecting the router to switch to WAN 1, I was disappointed as I could no longer get internet traffic nor email traffic. Both were what appeared to be blocked.

b. The final adjustment was to to change the next hop in the SNAT from Interface (sub selection VLAN35), to TRUNK (sub-selection my spillover one). What this did in effect was to tell the router to SNAT all packets going the trunk (VLAN 35 and if that is not there then do it on WAN1). What I had told it previously was only apply snat to packets going out VLAN 35

That was the icing on the cake and I typed out the good news while on my cable connection with WAN2 down.

I will post some screen shots next to illustrate the web gui menus I was using.
Thanks to File for patience for my 1001 questions.

file
2012-01-09, 10:29 PM
Do you only have 30/30 service? According to a review at smallnetbuilder when they tested throughput for WAN<->LAN the best they could do was 51Mbps with firewall on and 57Mbps with firewall off.

anav_ds
2012-01-09, 10:33 PM
Yes I have 30 30 service. I have a USG300 in case my connection gets bigger LOL.

anav_ds
2012-01-11, 10:18 AM
Okay attempting to link to jpegs if interested, not good at this forum at massaging info correctly :-(

Trunk Edit Spillover mode
http://www.freeimagehosting.net/newuploads/121pb.jpg

Configuration Men, NETWORK section, sub-selection Interface - VLAN Tab
http://www.freeimagehosting.net/newuploads/ifhdw.jpg

VLAN Interface Edit mode
http://www.freeimagehosting.net/newuploads/1stwp.jpg

JakeD902
2012-01-11, 08:30 PM
Curious - are both your WAN feeds static IP?

USG are great devices - rock solid, perfect for SMB. I find the Zyxel language difficult to understand sometimes, but their phone support is good (and free).

Thanks

anav_ds
2012-01-12, 01:49 PM
Good question. The Cable one is standard Eastlink 1.5down, 0.768 up (used to be 40-2). I believe its dynamic but it changes very infrequently. The fibrop, dont know. My Zyxel has no problems pulling the iP.

I am a zyxel reseller as a hobby, so have lots of toys to play with.

The new USG series uses an object oriented approach which is more difficult to grasp at the outset than the older zywall series but you gain more overall routing knowledge and of course programming power. CLI is always there in the background.

anav_ds
2012-01-16, 09:50 AM
FILE: A post in another forum got me thinking on how Bell implements their IPTV. Specifically do they assign a different IP address for IPTV - unlike internet I really have no clue on how these things are assigned. Or is it more like a direct connection between STBs and the ISP and simply need to be on the same VLAN and its done automagically (no DHCP or other internet type stuff???).

If thats the case then What I am thinkin on the USG100 for example is simply dedicating a LAN port (like your port 4 idea) for a straightthrough connection to the WAN connection (no DHCP etc) like a bridge mode - port to WAN but ensuring that the traffic is assigned/associated with VLAN34.

I would assume once again do not need to connect to or adjust setting for vlan 33 the management vlan.

file
2012-01-16, 09:52 AM
It's a straight bridge from the set top boxes to the VLAN to Bell Aliant. They get their IP address from a DHCP server at Bell Aliant.

anav_ds
2012-01-16, 09:58 AM
Thanks much for that.

apocalyp
2012-04-28, 01:20 PM
I know this is an old thread but I was curious if you got IPTV to work over the USG100?

I'm trying to get it to work with my USG20W but not sure how to bridge the setop boxes over to the wan. My main problem is probably that the setop boxes share a drop with other network devices.

Do they need to be on a seperate lan or is itpossible to bridge them based on MAC?