You are not logged in.

#1 2014-12-05 19:44:59

kv1dr
Member
Registered: 2014-12-05
Posts: 3

Routing problem

I have two connections on my PC. Wireless for internet, and wired one for IPTV. If I have WiFi connection only, I am able to browse the internet, and if I have wired connection only, I am able to watch IPTV, but if I am connected with both connections, I am only able to watch IPTV, but not able to browse the internet.
I assumed, there is problem with routing, so I looked into routing table, and I saw that default routing is set to wired connection.

ip route list 1
default via 10.10.1.1 dev enp2s8  proto static  metric 1024
10.10.0.0/16 dev enp2s8  proto kernel  scope link  src 10.10.10.10
192.168.2.0/24 dev wlp0s29f7u4  proto kernel  scope link  src 192.168.2.4
192.168.2.0/24 dev wlp0s29f7u4  proto kernel  scope link  src 192.168.2.4  metric 303

I set it to wireless one

sudo ip route add default via 192.168.2.1 dev wlp0s29f7u4 #192.168.2.1 is gateway and wlp0s29f7u4 is my wireless device

and I also add route for IP addresses of IPTV channels

sudo ip route add 224.0.0.0/4 dev enp2s8 #enp2s8 is my network card of course

But now internet works, and IPTV doesn't. If I disable wireless, IPTV works again. The IP addresses of the IPTV channels are from 232.4.1.1 to somewhere near 232.12.x.y, so IPTV should work. if I run ip -s route get 232.4.1.1(IP of one of the IPTV channels), I got "multicast 232.4.1.1 dev enp2s8 src 10.10.10.10" so that IP should be avaliable for wired network.

ip -s route get 232.4.1.1
multicast 232.4.1.1 dev enp2s8  src 10.10.10.10
    cache <mc>  users 1

But it looks like it isn't, as I can't play the TV channel on this IP. I tried playing IPTV with VLC and XBMC, which both works if I have wired connection only, but not with both connection established. So guys, where is the problem here? I really appreciate your help.

ip route list
default via 192.168.2.1 dev wlp0s29f7u4
default via 10.10.1.1 dev enp2s8  proto static  metric 1024
10.10.0.0/16 dev enp2s8  proto kernel  scope link  src 10.10.10.10
192.168.2.0/24 dev wlp0s29f7u4  proto kernel  scope link  src 192.168.2.4
192.168.2.0/24 dev wlp0s29f7u4  proto kernel  scope link  src 192.168.2.4  metric 303
224.0.0.0/4 dev enp2s8  scope link

Last edited by kv1dr (2014-12-06 14:20:46)

Offline

#2 2014-12-06 13:30:54

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Routing problem

please structure your posts a little more it is hard to read like this.

sudo ip route add 224.0.0.0/4 dev enp2s8

I suppose the /4 is just a typo in your post? Looks more as if you wanted a subnet mask of length 24.

Then if the IPTV adresses are 239.4.1.1 - 239.12.x.y why are you adding a route to 224.0.0.0?
I am not that routing guru but that seems wrong


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#3 2014-12-06 14:24:35

kv1dr
Member
Registered: 2014-12-05
Posts: 3

Re: Routing problem

Ok, I just structurred it a little bit better. And about IPs, sorry, they are from 232.1.x.y to 232.12.x.y(and not 239.z.x.y), but I tried to add only 232.0.0.0/8 to ip route table and it's still not working. And also 232.4.0.0/16 and also 232.4.1.0/24(just to test 232.4.1.1 IP), but it just doesn't want to work.

Last edited by kv1dr (2014-12-06 14:53:31)

Offline

#4 2014-12-06 15:30:01

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Routing problem

Did you try to ping those IPs directly?
If ping does not work try if ping works when using only ethernet.
Are you sure about those ip ranges? The route configuration looks good as far as I can tell.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#5 2014-12-06 16:16:03

kv1dr
Member
Registered: 2014-12-05
Posts: 3

Re: Routing problem

I don't get reply from pinging those IPs. I read somewhere that's because those IPs are not really devices or something, and unfortunately, you can't ping it. Yes I'm sure about those IP ranges.
Here is playlist I am using for playing TV: https://drive.google.com/file/d/0B76irg … sp=sharing

Offline

Board footer

Powered by FluxBB