Get 2 srt streams, on one machine through 2 ethernet, and 2 internet connections
I want to configure advance routing to get SRT stream from two IP addresses on one machine.
I am getting SRT stream on both the IP addresses, I can verify that if connected through only one interface.
I am using ubuntu 16.04.
And using port forwarding from the modem to get stream on this machine.
When I use following configuration in "/etc/network/interfaces" file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
I am able to connect 2 internet connections, one through Ethernet and one through wifi.
I am able to ping from another machines from network1 and network2, to this machine with two connections. But not able to ping the other way around.
But I get the stream only through one internet connection.
With Following configuration in my "/etc/network/interfaces" file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
iface enp2s0 inet static
address 192.168.2.117
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 8.8.8.8
iface wlxec086b1bc185 inet static
address 192.168.1.115
netmask 255.255.255.0
gateway 192.168.1.1
post-up ip route add 192.168.2.0/24 dev enp2s0 src 192.168.2.117 table table1
post-up ip route add default via 192.168.2.1 dev enp2s0 table table1
post-up ip rule add from 192.168.2.117 dev enp2s0 table table1
post-up ip rule add to 192.168.2.117 dev enp2s0 table table1
post-up ip route add 192.168.1.0/24 dev wlxec086b1bc185 src 192.168.1.115 table table2
post-up ip route add default via 192.168.1.1 dev wlxec086b1bc185 table table2
post-up ip rule add from 192.168.1.115 dev wlxec086b1bc185 table table2
post-up ip rule add to 192.168.1.115 dev wlxec086b1bc185 table table2
I am able to ping from one network to this machine, and getting stream also from that network(192.168.2.0).
Ping from network 192.168.1.0, does not work.
In both the above cases I can't pink from machine with 2 connections to another machines, in either of the network.
Please help me solving this problem. I want stream from both the networks.
16.04 networking routing stream
add a comment |
I want to configure advance routing to get SRT stream from two IP addresses on one machine.
I am getting SRT stream on both the IP addresses, I can verify that if connected through only one interface.
I am using ubuntu 16.04.
And using port forwarding from the modem to get stream on this machine.
When I use following configuration in "/etc/network/interfaces" file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
I am able to connect 2 internet connections, one through Ethernet and one through wifi.
I am able to ping from another machines from network1 and network2, to this machine with two connections. But not able to ping the other way around.
But I get the stream only through one internet connection.
With Following configuration in my "/etc/network/interfaces" file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
iface enp2s0 inet static
address 192.168.2.117
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 8.8.8.8
iface wlxec086b1bc185 inet static
address 192.168.1.115
netmask 255.255.255.0
gateway 192.168.1.1
post-up ip route add 192.168.2.0/24 dev enp2s0 src 192.168.2.117 table table1
post-up ip route add default via 192.168.2.1 dev enp2s0 table table1
post-up ip rule add from 192.168.2.117 dev enp2s0 table table1
post-up ip rule add to 192.168.2.117 dev enp2s0 table table1
post-up ip route add 192.168.1.0/24 dev wlxec086b1bc185 src 192.168.1.115 table table2
post-up ip route add default via 192.168.1.1 dev wlxec086b1bc185 table table2
post-up ip rule add from 192.168.1.115 dev wlxec086b1bc185 table table2
post-up ip rule add to 192.168.1.115 dev wlxec086b1bc185 table table2
I am able to ping from one network to this machine, and getting stream also from that network(192.168.2.0).
Ping from network 192.168.1.0, does not work.
In both the above cases I can't pink from machine with 2 connections to another machines, in either of the network.
Please help me solving this problem. I want stream from both the networks.
16.04 networking routing stream
add a comment |
I want to configure advance routing to get SRT stream from two IP addresses on one machine.
I am getting SRT stream on both the IP addresses, I can verify that if connected through only one interface.
I am using ubuntu 16.04.
And using port forwarding from the modem to get stream on this machine.
When I use following configuration in "/etc/network/interfaces" file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
I am able to connect 2 internet connections, one through Ethernet and one through wifi.
I am able to ping from another machines from network1 and network2, to this machine with two connections. But not able to ping the other way around.
But I get the stream only through one internet connection.
With Following configuration in my "/etc/network/interfaces" file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
iface enp2s0 inet static
address 192.168.2.117
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 8.8.8.8
iface wlxec086b1bc185 inet static
address 192.168.1.115
netmask 255.255.255.0
gateway 192.168.1.1
post-up ip route add 192.168.2.0/24 dev enp2s0 src 192.168.2.117 table table1
post-up ip route add default via 192.168.2.1 dev enp2s0 table table1
post-up ip rule add from 192.168.2.117 dev enp2s0 table table1
post-up ip rule add to 192.168.2.117 dev enp2s0 table table1
post-up ip route add 192.168.1.0/24 dev wlxec086b1bc185 src 192.168.1.115 table table2
post-up ip route add default via 192.168.1.1 dev wlxec086b1bc185 table table2
post-up ip rule add from 192.168.1.115 dev wlxec086b1bc185 table table2
post-up ip rule add to 192.168.1.115 dev wlxec086b1bc185 table table2
I am able to ping from one network to this machine, and getting stream also from that network(192.168.2.0).
Ping from network 192.168.1.0, does not work.
In both the above cases I can't pink from machine with 2 connections to another machines, in either of the network.
Please help me solving this problem. I want stream from both the networks.
16.04 networking routing stream
I want to configure advance routing to get SRT stream from two IP addresses on one machine.
I am getting SRT stream on both the IP addresses, I can verify that if connected through only one interface.
I am using ubuntu 16.04.
And using port forwarding from the modem to get stream on this machine.
When I use following configuration in "/etc/network/interfaces" file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
I am able to connect 2 internet connections, one through Ethernet and one through wifi.
I am able to ping from another machines from network1 and network2, to this machine with two connections. But not able to ping the other way around.
But I get the stream only through one internet connection.
With Following configuration in my "/etc/network/interfaces" file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0 wlxec086b1bc185
iface enp2s0 inet static
address 192.168.2.117
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 8.8.8.8
iface wlxec086b1bc185 inet static
address 192.168.1.115
netmask 255.255.255.0
gateway 192.168.1.1
post-up ip route add 192.168.2.0/24 dev enp2s0 src 192.168.2.117 table table1
post-up ip route add default via 192.168.2.1 dev enp2s0 table table1
post-up ip rule add from 192.168.2.117 dev enp2s0 table table1
post-up ip rule add to 192.168.2.117 dev enp2s0 table table1
post-up ip route add 192.168.1.0/24 dev wlxec086b1bc185 src 192.168.1.115 table table2
post-up ip route add default via 192.168.1.1 dev wlxec086b1bc185 table table2
post-up ip rule add from 192.168.1.115 dev wlxec086b1bc185 table table2
post-up ip rule add to 192.168.1.115 dev wlxec086b1bc185 table table2
I am able to ping from one network to this machine, and getting stream also from that network(192.168.2.0).
Ping from network 192.168.1.0, does not work.
In both the above cases I can't pink from machine with 2 connections to another machines, in either of the network.
Please help me solving this problem. I want stream from both the networks.
16.04 networking routing stream
16.04 networking routing stream
asked Mar 12 at 6:51
Jatinder KumarJatinder Kumar
1011
1011
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124946%2fget-2-srt-streams-on-one-machine-through-2-ethernet-and-2-internet-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124946%2fget-2-srt-streams-on-one-machine-through-2-ethernet-and-2-internet-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown