ESF_PAGE_GROUP in a box with 2 interfaces
Hi all, I have a FS process running on a fw with 2 ethernet interfaces, the FS process is bound to the internal iface but when I use esf_page_group it tries to forward multicast packets through the external iface, is there a config parameter maybe to be able to control this? TIA
yes you can control the IP and by virtue of your routing table which interface. On Mon, Feb 22, 2010 at 3:05 PM, Luis F Urrea <lfurrea@gmail.com> wrote:
Hi all, I have a FS process running on a fw with 2 ethernet interfaces, the FS process is bound to the internal iface but when I use esf_page_group it tries to forward multicast packets through the external iface, is there a config parameter maybe to be able to control this?
TIA
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Well the rest of the story is that I'm running a FreeBSD box and when the box has only one interface then it's not necessary to setup multicast routing which by the way is not built in a FreeBSD generic kernel. FreebsD docs state: "FreeBSD supports multicast host operations by default" Since this would be in the category of a host operation and there would be no need to forward multicast traffic between interfaces I thought that maybe there could be code in the esf application that would choose the IP it would bound to. Just wondering if that is the case but if you Anthony can confirm that it is totally left out to the OS routing rules I'll take my inquiry somewhere else to clarify further. Thx On Mon, Feb 22, 2010 at 3:37 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
yes you can control the IP and by virtue of your routing table which interface.
On Mon, Feb 22, 2010 at 3:05 PM, Luis F Urrea <lfurrea@gmail.com> wrote:
Hi all, I have a FS process running on a fw with 2 ethernet interfaces, the FS process is bound to the internal iface but when I use esf_page_group it tries to forward multicast packets through the external iface, is there a config parameter maybe to be able to control this?
TIA
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- <img width="300" height="160" border="0" _moz_dirty="" src=" http://www.simplecs.net/firmas/calufa.jpg" alt="firma" _moz_resizing="true"/>
The args to the app are the ip and port to send on... /b On Feb 22, 2010, at 4:27 PM, Luis F Urrea wrote:
Since this would be in the category of a host operation and there would be no need to forward multicast traffic between interfaces I thought that maybe there could be code in the esf application that would choose the IP it would bound to.
Thx Brian, I understand that you can set the *destination* IP:Port via variables, but I was concerned with the source interface of the multicast traffic. And I just confirmed that on FreeBSD you do not need to specify a route in the single interface case because: "the default multicast route is via the interface with the default route; setting a route isn't necessary unless you need to force multicast to go via a particular interface by default, this is done by longest-prefix matching like all other IPv4 routing activities." They also state that: "An unprivileged userland application is also able to control where it is sending its multicast traffic (without mucking with the routing table) by using the sockopt IP_MULTICAST_IF. It can specify the address of any interface on the machine" But this would really be a hassle for the programmer :) Thx for your help! On Mon, Feb 22, 2010 at 4:35 PM, Brian West <brian@freeswitch.org> wrote:
The args to the app are the ip and port to send on...
/b
On Feb 22, 2010, at 4:27 PM, Luis F Urrea wrote:
Since this would be in the category of a host operation and there would be no need to forward multicast traffic between interfaces I thought that maybe there could be code in the esf application that would choose the IP it would bound to.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
wiki updated On Mon, Feb 22, 2010 at 6:12 PM, Luis F Urrea <lfurrea@gmail.com> wrote:
Thx Brian,
I understand that you can set the *destination* IP:Port via variables, but I was concerned with the source interface of the multicast traffic.
And I just confirmed that on FreeBSD you do not need to specify a route in the single interface case because:
"the default multicast route is via the interface with the default route; setting a route isn't necessary unless you need to force multicast to go via a particular interface by default, this is done
by longest-prefix matching like all other IPv4 routing activities."
They also state that:
"An unprivileged userland application is also able to control where it is sending its multicast traffic (without mucking with the routing table)
by using the sockopt IP_MULTICAST_IF. It can specify the address of any interface on the machine"
But this would really be a hassle for the programmer :)
Thx for your help!
On Mon, Feb 22, 2010 at 4:35 PM, Brian West <brian@freeswitch.org> wrote:
The args to the app are the ip and port to send on...
/b
On Feb 22, 2010, at 4:27 PM, Luis F Urrea wrote:
Since this would be in the category of a host operation and there would be no need to forward multicast traffic between interfaces I thought that maybe there could be code in the esf application that would choose the IP it would bound to.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Brian West
-
Luis F Urrea