Posted: Tue Nov 12, 2013 3:25 Post subject: Route between two uplinks
I have my router setup in client mode to give internet to the connected LAN devices. In my apartment we also have a ethernet wall jack for getting IPTV. Unfortunately, this jack doesn't provide Internet though. So, I need to figure out how to setup my router so that all traffic to (22.214.171.124) is sent through the LAN uplink, while all other traffic continues to go through the WIFI client mode uplink. Is there anyway to do this?
The WAN port won't have a DHCP client running so you will also need to either assign it an address with ifconfig or spawn another dhcpc process for it. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Me thinks the OP’s issue has been misunderstood (or perhaps it’s just me, could be).
I think the OP literally has the router configured as “client” (as opposed to “client bridge”), which is essentially a WISP (wireless ISP) router. And if that’s the case, the router does have a DHCP client (and firewall). The “client” configuration is identical to a wired WAN configuration, except it obviously allows the router to connect to the ISP over wireless rather than wire. This might prove useful say in an apartment complex offering wireless internet.
I believe the problem the OP has is that his IPTV requires a static IP of its own, different from the public IP he’s getting from the ISP. And if that’s the case, you may need to use one-to-one NAT to establish a second public IP for IPTV on the WAN. It’ll work just as long as the IPTV device can still accept a local IP address behind the WAN.
Of course, it won’t work if you’re using someone else’s local network (e.g., 192.168.1.x) on the WAN. You must be able to get public IPs redirected to your WAN for this to work.
Anyway, that’s the way I read it, but I could be wrong.
Btw, I know the OP says “two uplinks”, but that didn’t make sense to me. If indeed the IPTV LAN connection and client mode router represented different uplinks, then what’s the issue w/ keeping traffic separated? They are separated, by definition. So I had to assume there's only one uplink, and IPTV still needed to be routed over it. And thus how to present its public IP back to the IPTV provider.