Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Backend listening on multiple NICs?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mjjochen at gmail

May 23, 2008, 10:25 PM

Post #1 of 5 (805 views)
Permalink
Backend listening on multiple NICs?

I have a backend with one tuner setup that I would like to listen on
more than one network interface. What would be the best way to go
about doing that? Any suggestions? Thanks in advance! -mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bfoddy at visi

May 24, 2008, 9:44 AM

Post #2 of 5 (735 views)
Permalink
Re: Backend listening on multiple NICs? [In reply to]

On Saturday 24 May 2008, Mike Jochen wrote:
> I have a backend with one tuner setup that I would like to listen on
> more than one network interface. What would be the best way to go
> about doing that? Any suggestions? Thanks in advance! -mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I don't know there is a simple way. Are you trying to do this for
network balancing, or for network security / layout reasons?
If its just balancing, I'd beef up the primary and go with just
one interface.

One "possible" way is to use some of the linux network trickery
to essentially port forward one of the nic ports onto another,
where the real backend listens. I haven't thought this through
very carefully, but between the firewall port forwarding and
route2 tricks, you might be able to get all the packets where
they need to go. Something to think about anyway.

Brian

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mjjochen at gmail

May 28, 2008, 3:25 AM

Post #3 of 5 (695 views)
Permalink
Re: Backend listening on multiple NICs? [In reply to]

On May 24, 2008, at 12:44 PM, Brian Foddy wrote:

> On Saturday 24 May 2008, Mike Jochen wrote:
>> I have a backend with one tuner setup that I would like to listen on
>> more than one network interface. What would be the best way to go
>> about doing that? Any suggestions? Thanks in advance! -mike
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> I don't know there is a simple way. Are you trying to do this for
> network balancing, or for network security / layout reasons?
> If its just balancing, I'd beef up the primary and go with just
> one interface.


I have a front end on a laptop which is connected via hardwire and
wireless, depending on where I am sitting. I keep those two mediums
as separate networks because I treat the wireless a little
differently in terms of security.


> One "possible" way is to use some of the linux network trickery
> to essentially port forward one of the nic ports onto another,
> where the real backend listens. I haven't thought this through
> very carefully, but between the firewall port forwarding and
> route2 tricks, you might be able to get all the packets where
> they need to go. Something to think about anyway.


That's kind of what I thought, just wasn't sure if there was any
other way. Kinda like with the mysql database - if you specify which
interface you want to listen on, you can only give it one interface,
otherwise, you just let it listen on all (in the mysql config) and
have to block the ones you don't want it listening on via the
firewall... Thanks for the help. -m
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mrrooster at gmail

May 28, 2008, 4:21 AM

Post #4 of 5 (681 views)
Permalink
Re: Backend listening on multiple NICs? [In reply to]

What happens if you specify the IP address in the myth-setup as 0.0.0.0

Could you use some kind of port forwarding? pf under *BSD would be able to
do this? I'm assuming you can do this with something like iptables under
linux??

I

2008/5/28 Mike Jochen <mjjochen [at] gmail>:

>
> On May 24, 2008, at 12:44 PM, Brian Foddy wrote:
>
> > On Saturday 24 May 2008, Mike Jochen wrote:
> >> I have a backend with one tuner setup that I would like to listen on
> >> more than one network interface. What would be the best way to go
> >> about doing that? Any suggestions? Thanks in advance! -mike
> >> _______________________________________________
> >> mythtv-users mailing list
> >> mythtv-users [at] mythtv
> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> > I don't know there is a simple way. Are you trying to do this for
> > network balancing, or for network security / layout reasons?
> > If its just balancing, I'd beef up the primary and go with just
> > one interface.
>
>
> I have a front end on a laptop which is connected via hardwire and
> wireless, depending on where I am sitting. I keep those two mediums
> as separate networks because I treat the wireless a little
> differently in terms of security.
>
>
> > One "possible" way is to use some of the linux network trickery
> > to essentially port forward one of the nic ports onto another,
> > where the real backend listens. I haven't thought this through
> > very carefully, but between the firewall port forwarding and
> > route2 tricks, you might be able to get all the packets where
> > they need to go. Something to think about anyway.
>
>
> That's kind of what I thought, just wasn't sure if there was any
> other way. Kinda like with the mysql database - if you specify which
> interface you want to listen on, you can only give it one interface,
> otherwise, you just let it listen on all (in the mysql config) and
> have to block the ones you don't want it listening on via the
> firewall... Thanks for the help. -m
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


mjjochen at gmail

May 28, 2008, 7:27 PM

Post #5 of 5 (669 views)
Permalink
Re: Backend listening on multiple NICs? [In reply to]

On May 28, 2008, at 7:21 AM, Ian Clark wrote:

> What happens if you specify the IP address in the myth-setup as
> 0.0.0.0


Hmmm... Haven't tried that. Will give it a whirl to see what happens.


> Could you use some kind of port forwarding? pf under *BSD would be
> able to do this? I'm assuming you can do this with something like
> iptables under linux??


That's what I have going on now, I forward from the one net to the
other using iptables and it does get the job done. -m


> 2008/5/28 Mike Jochen <mjjochen [at] gmail>:
>
> On May 24, 2008, at 12:44 PM, Brian Foddy wrote:
>
> > On Saturday 24 May 2008, Mike Jochen wrote:
> >> I have a backend with one tuner setup that I would like to
> listen on
> >> more than one network interface. What would be the best way to go
> >> about doing that? Any suggestions? Thanks in advance! -mike
> >> _______________________________________________
> >> mythtv-users mailing list
> >> mythtv-users [at] mythtv
> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> > I don't know there is a simple way. Are you trying to do this for
> > network balancing, or for network security / layout reasons?
> > If its just balancing, I'd beef up the primary and go with just
> > one interface.
>
>
> I have a front end on a laptop which is connected via hardwire and
> wireless, depending on where I am sitting. I keep those two mediums
> as separate networks because I treat the wireless a little
> differently in terms of security.
>
>
> > One "possible" way is to use some of the linux network trickery
> > to essentially port forward one of the nic ports onto another,
> > where the real backend listens. I haven't thought this through
> > very carefully, but between the firewall port forwarding and
> > route2 tricks, you might be able to get all the packets where
> > they need to go. Something to think about anyway.
>
>
> That's kind of what I thought, just wasn't sure if there was any
> other way. Kinda like with the mysql database - if you specify which
> interface you want to listen on, you can only give it one interface,
> otherwise, you just let it listen on all (in the mysql config) and
> have to block the ones you don't want it listening on via the
> firewall... Thanks for the help. -m
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.