Forums

Resolved
0 votes
Hi,

Can someone give me an explanation how to get this working on ClearOS?

So I have a setup like this:
2 WAN interfaces: one for INTERNET (eth2) and one for VOIP connections (eth1)
1 LAN interface (eth0)

What I need to get working is to make eth1 reachable for eth0.
This should be possible with the multi-wan module but status for eth1 is always "Offline", I guess this is due to the fact that this interface is only used for VOIP traffic (our ISP refused to join the 2 channels).
Once I can get this working I can make source based route to fix some other problems .

If some of you know how to do this please let me know.

Thanks in advance
Monday, November 18 2013, 01:31 PM
Share this post:
Responses (16)
  • Accepted Answer

    Friday, January 16 2015, 12:20 AM - #Permalink
    Resolved
    0 votes
    This is not really multiwan scenario as you only want to route your voip traffic through second interface.
    The static routing would do the trick.
    If you have dedicated pbx you probably should add second interface on your pbx and route directly through that interface to your provider.
    This way you will avoid a lot possible sip issues.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 30 2014, 11:27 PM - #Permalink
    Resolved
    0 votes
    hi, can you point out which files did you edit for multiwan to work?

    thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, November 29 2013, 08:49 PM - #Permalink
    Resolved
    -1 votes
    A reboot seems to have fixed it.
    Not sure why, but as long as it works that fine for me
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 28 2013, 08:59 PM - #Permalink
    Resolved
    0 votes
    Our ISP placed the following setup:

    They placed a DSL model witched they connected to a Cisco 881.
    port 0-1 are for WAN, port 2-3 are used VOIP.
    They both have static range (no dhcp).

    I'm having no further issues with the routing, only the 1.3.5.8 ip doesn't route work on the LAN


    [edit]
    I got Multilan working by editing some files.
    Now I need to make all the internet traffic to go via eth2
    And only 1.3.5.8 to eth1
    [/edit]
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 28 2013, 12:22 PM - #Permalink
    Resolved
    0 votes
    I'm wondering some more. If you unplug eth2, does eth1 get an IP address?

    Are you using a DSL line? Do you have more than 1 WAN IP (e.g 1 for eth1 and one for eth2)?

    [edit]
    What I am wondering is if you are getting a routing loop having 2 * ClearOS WAN connected to a router LAN.

    I am also wondering if using 2 * ClearOS WAN is the correct solution or if you can pull Public IP's to a ClearOS WAN (e.g. put the modem into bridge mode and ise PPPoE in ClearOS with a virtual interfaces for the VoIP IP.
    [/edit]
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 27 2013, 10:20 PM - #Permalink
    Resolved
    0 votes
    No since eth1 always give the offline error.
    this is the VOIP only network so dns does not work on it, hence offline
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 27 2013, 10:02 PM - #Permalink
    Resolved
    0 votes
    Yes, that was a typo of mine. I meant eth1. Can you use Destination Port based rules in the MultiWAN module?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 27 2013, 09:05 PM - #Permalink
    Resolved
    0 votes
    Hi

    I already tried
    ip route add 1.3.5.8 dev eth1

    This work on the ClearOS itself but not on the lan side.
    Thanks anyway
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 27 2013, 08:27 PM - #Permalink
    Resolved
    0 votes
    Perhaps (untested):
    ip route add 1.3.5.8 dev eth0
    I think MultiWAN does funny stuff with the routing tables so I am not sure of this. I also don't know where to add it to make it permanent. Probably to /etc/clearos/firewall.d/local because adding it to /etc/rc.d/rc.local may get reset if networkng restarts.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 27 2013, 07:22 PM - #Permalink
    Resolved
    0 votes
    Ok no problem.

    I just need to create a route from eth1 to eth0 for only the ip 1.3.5.8
    If you know how to do this let me know if not, I'll look for it myself.

    Thanks anyway
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 26 2013, 01:30 PM - #Permalink
    Resolved
    0 votes
    I may have to give up on this one as I really do not know how routers with integral Ethernet VoIP ports work.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 26 2013, 11:41 AM - #Permalink
    Resolved
    0 votes
    For now the route to 1.3.5.8 works on the firewall, but it is not working on the LAN network (eth0)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 25 2013, 11:23 PM - #Permalink
    Resolved
    0 votes
    eth1: VOIP ethernet port on our ISP router ==> no internet on this port only voice data
    eth2: WAN ethernet port on out ISP router
    eth0: to our local lan


    What I need to get working it to get UDP and TCP on port 5060 to go via eth1 to ip 1.3.5.8 (this is only available via the eth1 network)
    and port 10000-50000 as well. ==> I got this working via 1-to-1 nat
    All other traffic needs to go via eth2

    It was working a few days ago but somehow it broke again
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 19 2013, 04:41 PM - #Permalink
    Resolved
    0 votes
    I am confused about your network topology. Can you pleas elaborate? What does eth1 connect to?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 19 2013, 01:58 PM - #Permalink
    Resolved
    0 votes
    Eth1 will never have any internet connection, our ISP only allow voip on this interface

    eth1 is up, no changes when I do this command
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 18 2013, 09:10 PM - #Permalink
    Resolved
    0 votes
    If eth1 is Offline then you have another issue. If you have a permanent internet connection then eth1 should be online. Are there any messages in /var/log/syswatch? Also what happens at the command line if you try "ifup eth1"?
    The reply is currently minimized Show
Your Reply