Git Product home page Git Product logo

Comments (6)

alsmith avatar alsmith commented on June 11, 2024

Sure thing - I’ll get to it shortly...

from multicast-relay.

alsmith avatar alsmith commented on June 11, 2024

Just checked in code to do this... have a go and see how you get on...

from multicast-relay.

tacomilkshake avatar tacomilkshake commented on June 11, 2024

Excellent thank you.

Ran:
./multicast-relay.py --interfaces 192.168.0.0/24 192.168.1.0/24

Got:
Interface 192.168.1.0/24 does not exist.

This Ubuntu Linux box only has one NIC and only one interface configured. While it can access both subnets, it's interface is only through the primary 192.168.0.0/24 subnet.

Might not be possible in a machine with only one interface.

from multicast-relay.

alsmith avatar alsmith commented on June 11, 2024

I suspect that if you have just one interface that you're using interface aliasing to assign the second IP#... if you could paste the output of this, I can verify and might be able to work around the issue for you.

cut -f1 -d: /proc/net/dev

from multicast-relay.

alsmith avatar alsmith commented on June 11, 2024

Ok, I checked in some experimental code to https://github.com/alsmith/multicast-relay/tree/one_interface - let me know how you get on. Do be mindful that you might cause a broadcast storm that'll bring your network down... but hey give it a try!

from multicast-relay.

alsmith avatar alsmith commented on June 11, 2024

Oh and you'll need to just specify the single physical interface and also add --one_interface, like this - no need to specify each network separately by IP address.

./multicast-relay.py --interfaces en0 --one_interface --foreground --verbose

from multicast-relay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.