VLan above 100 - ASUS RT-N12

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Feb 27, 2011 2:46    Post subject: Reply with quote
You don't have the modified switch-robo.ko module loaded then. Make sure that it is saved in your JFFS directory, unload the old module, and load the new one.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Sponsor
doell_60
DD-WRT User


Joined: 18 Feb 2011
Posts: 51

PostPosted: Sun Feb 27, 2011 2:53    Post subject: Reply with quote
To load i do like the Wiki.

1- I Enabled JFFS on GUI
2- I OPEN SSH and do the Log-in
3- Write: cd /jffs
4- Write: wget http://www.dd-wrt.com/phpBB2/download.php?id=18205 -O switch-robo.ko

What i'm doing wrong?

Then i write: cd (ENTER) to go to the main directory, and run the Script.

Thank you for your time.
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Feb 27, 2011 2:59    Post subject: Reply with quote
phuz~.. you actually need 2 dhcp clients for it to work exactly the same as isp's router. IPTV traffic goes on 10.x range, so you need an interface configured in this range and then use a multicast proxy like igmpproxy to send it to 192.168.1.x range.
Keeper75
DD-WRT Novice


Joined: 25 Feb 2011
Posts: 15

PostPosted: Sun Feb 27, 2011 3:41    Post subject: Reply with quote
well fggs, you really need 3, if you're going to run voip on your router too :roll:

Here it is my interfaces and how they are set:

Code:

rootᄃVigor2130:/# cat /etc/config/network

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'eth0.1'
        option 'proto' 'static'
        option 'ipaddr' '192.168.xx.xx'
        option 'netmask' '255.255.255.0'
        option 'detect' '0'
        option 'type' 'bridge'
        option 'pppoe_pass' '0'

config 'interface' 'wan'
        option 'ifname' 'eth1.100'
        option 'proto' 'dhcp'
        option 'hostname' 'Vigor2130'
        option 'detect' '0'
        option 'type' 'bridge'
        option 'disable' '0'

config 'interface' 'voipwan'
        option 'ifname' 'eth1.101'
        option 'proto' 'dhcp'
        option 'hostname' 'Vigor2130'
        option 'disable' '0'

rootᄃVigor2130:/#


Code:

rootᄃVigor2130:/# cat /proc/net/vlan/config

VLAN Dev name  | VLAN ID

eth0.1                | 1            | eth0
eth1.100            | 100         | eth1
eth1.101            | 101         | eth1

rootᄃVigor2130:/#


Vlan 105 does not appear but it is bridged directly with port 4 of my router.

I believe that i need to create a sub-interface (like 'voipwan') by using something like you, fggs, suggested...

Do notice that wan and voipwan are both running a dif. dhcp client at the same time...so this will work once i attach a dhcp on the subinterface eth1.105 Cool
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Feb 27, 2011 4:18    Post subject: Reply with quote
Right.. I won't run sip because my router (RT-N16) doesn't have RJ11 port, so I'm "redirecting" vlan101 to TG784.

As I said, I made IPTV working with igmpproxy, I don't see how IPTV would work without a multicast proxy because TV box can't handle routing, so when you bridge a port to vlan105 TV box will get ip in 10.X range, then who is gonna take care of the routing? Anyway.. I'm not network expert.
Keeper75
DD-WRT Novice


Joined: 25 Feb 2011
Posts: 15

PostPosted: Sun Feb 27, 2011 4:33    Post subject: Reply with quote
fggs wrote:
Right.. I won't run sip because my router (RT-N16) doesn't have RJ11 port, so I'm "redirecting" vlan101 to TG784.

As I said, I made IPTV working with igmpproxy, I don't see how IPTV would work without a multicast proxy because TV box can't handle routing, so when you bridge a port to vlan105 TV box will get ip in 10.X range, then who is gonna take care of the routing? Anyway.. I'm not network expert.


well, it has been working for the past 3 weeks like that...i can change channels, record programs, check the EPG and even see teletext! but what won't work for sure is the multimedia sharing (watching photos/hearing music from my WMP PCs), since they are on a diff. vlan (internet=100; iptv=105), hence i'm having all this trouble to make this work like VF has done.

Regarding your q, im no network expert too...and tbh idk much about linux either...but regarding iptv and from what i've read, when dealing with multicasting you don't need to route anything - you announce (broadcast) that you're "alive" and that your stb is in multicasting group "x" and the ISP routers put you on that group...when you change channel, the stb sends a request to a diff. multicasting group and the process repeats itself...

This is something like you did when you tuned an old TV set to a specific frequency so to watch that channel, but with the difference that it is the iptv routers on the isp that tunes you in...you only shout on the network to be part of "that" channel (aka multicasting group)...of course you're only tuned in IF you're authorized...(stb certs + AES256 encryption keys + idk).

One big problem is QoS imho...even if i can place vlan 105 working inside the vlan 100, the router igmp proxy server will generate quite a few multicast traffic on the lan side...so it will be needed to place a few QoS so to avoid lag both on TV sets as well as on PCs and Voip...


Last edited by Keeper75 on Sun Feb 27, 2011 4:48; edited 1 time in total
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Feb 27, 2011 4:48    Post subject: Reply with quote
Good to know, seems like a much simpler setup. Perhaps I prefer things the hard way, who knows why..

I guess I'm happy that I could setup my router exactly as TG784, except from SIP. I still need to do more tests and clean ups, for example unbridge wireless because igmpproxy traffic makes it impossible to use.

Sorry phuz~ and Keeper75 for being stubborn Smile
Keeper75
DD-WRT Novice


Joined: 25 Feb 2011
Posts: 15

PostPosted: Sun Feb 27, 2011 4:51    Post subject: Reply with quote
yep, unless you've got a wifi draft n, forget about using it for iptv + net Laughing
Keeper75
DD-WRT Novice


Joined: 25 Feb 2011
Posts: 15

PostPosted: Sun Feb 27, 2011 5:14    Post subject: Reply with quote
i keep getting this:

warn user igmpproxy[10841]: No interfaces found for source 10.48.xx.xx...

my network is like this:

Code:
oot@Vigor2130:/etc/config# cat network

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'eth0.1'
        option 'proto' 'static'
        option 'ipaddr' '192.168.xx.xx'
        option 'netmask' '255.255.255.0'
        option 'detect' '0'
        option 'type' 'bridge'
        option 'pppoe_pass' '0'

config 'interface' 'wan'
        option 'ifname' 'eth1.100'
        option 'proto' 'dhcp'
        option 'hostname' 'Vigor2130'
        option 'detect' '0'
        option 'type' 'bridge'
        option 'disable' '0'

config 'interface' 'iptv'
        option 'ifname' 'eth1.105'
        option 'proto' 'dhcp'
        option 'hostname' 'Vigor2130'
        option 'disable' '0'
       
config 'interface' 'voipwan'
        option 'ifname' 'eth1.101'
        option 'proto' 'dhcp'
        option 'hostname' 'Vigor2130'
        option 'disable' '0'



and when doing a ifconfig there's no interface...


Code:


br-lan    Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F4 
          inet addr:192.168.xx.xx 

br-wan    Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F5 
          inet addr:77.xx.xx.xx 

eth0      Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F4 
          inet6 addr: fe80::xx:xx:fecb:edf4/64

eth0.1    Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F4 
          inet6 addr: fe80::xx:xx:fecb:edf4/64

eth1      Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F5 
          inet6 addr: fe80::xx:xx:fecb:edf5/64

eth1.100  Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F5 
          inet6 addr: fe80::xx:xx:fecb:edf5/64

eth1.101  Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F5 
          inet addr:10.160.xx.xx 



When doing:

Code:

root@Vigor2130:/etc/config# ifconfig eth1.105
eth1.105  Link encap:Ethernet  HWaddr 00:50:7F:CB:ED:F5 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


it appears...but when i do:

Code:

root@Vigor2130:/etc/config# ifconfig -i eth1.105 up
ifconfig: bad address 'eth1.105'
root@Vigor2130:/etc/config#


Exclamation what am i missing here Question
doell_60
DD-WRT User


Joined: 18 Feb 2011
Posts: 51

PostPosted: Sun Feb 27, 2011 10:58    Post subject: Reply with quote
phuzi0n wrote:
You don't have the modified switch-robo.ko module loaded then. Make sure that it is saved in your JFFS directory, unload the old module, and load the new one.


Something, i'm not doing right, just searched all night on WIKI, and nothing, i enabled JFFS on GUI, on SSH, and it says that has 512KB/316KB FREE.

But don't now how to access to see the switch-robo.ko is there, or how i can unload the old one.

Any one have any Toturial/Manual?

Thanks.


Last edited by doell_60 on Sun Feb 27, 2011 17:16; edited 1 time in total
Gambosino
DD-WRT Novice


Joined: 26 Feb 2011
Posts: 2

PostPosted: Sun Feb 27, 2011 13:48    Post subject: Reply with quote
doell_60,

This is my configuration,

Detailed config:
proxy: ims.vodafone.pt
outbound proxy: proxythomson.ims.vodafone.pt
use outbound proxy -> yes
use ob proxy in dialog -> yes
Register -> yes

Display name -> Home Phone for example
user id -> Your phone number with +351
Password -> sip password
use auth id -> yes
auth id .- > +351xxxxxxx@ims.vodafone.pt
Keeper75
DD-WRT Novice


Joined: 25 Feb 2011
Posts: 15

PostPosted: Sun Feb 27, 2011 14:44    Post subject: Reply with quote
Gambosino wrote:
doell_60,

This is my configuration,

Detailed config:
proxy: ims.vodafone.pt
outbound proxy: proxythomson.ims.vodafone.pt
use outbound proxy -> yes
use ob proxy in dialog -> yes
Register -> yes

Display name -> Home Phone for example
user id -> Your phone number with +351
Password -> sip password
use auth id -> yes
auth id .- > +351xxxxxxx@ims.vodafone.pt


I believe you're missing the proxy ports (ports=5060). You need to define a sip port (5060) and a proxy port (5060).

If it still doesn't work after you set the ports, disable the ob proxy and disable the firewall.

If it STILL doesn't work, check if your sip authentication is correct (user id/password).

Regards Cool
doell_60
DD-WRT User


Joined: 18 Feb 2011
Posts: 51

PostPosted: Sun Feb 27, 2011 17:09    Post subject: Reply with quote
Gambosino wrote:
doell_60,

Display name -> Home Phone for example
user id -> Your phone number with +351
Password -> sip password
use auth id -> yes
auth id .- > +351xxxxxxx@ims.vodafone.pt


The only thing i don't understand is the SIP Password that i don't have.

Thank you.
doell_60
DD-WRT User


Joined: 18 Feb 2011
Posts: 51

PostPosted: Sun Feb 27, 2011 17:14    Post subject: Reply with quote
doell_60 wrote:
phuzi0n wrote:
You don't have the modified switch-robo.ko module loaded then. Make sure that it is saved in your JFFS directory, unload the old module, and load the new one.


Something, i'm not doing right, just searched all night on WIKI, and nothing, i enabled JFFS on GUI, on SSH, and it says that has 512KB/316KB FREE.

But don't now how to access to see the switch-robo.ko is there, or i can unload the old one.

Any one have any Toturial/Manual?

Thanks.


Can any one help me with this? A Toturial page, something would help.

Thanks.
doell_60
DD-WRT User


Joined: 18 Feb 2011
Posts: 51

PostPosted: Sun Feb 27, 2011 22:50    Post subject: Reply with quote
With some help from a user, i now know some comands.

I Did the download of the Script with WGET...

then i run the comand

ls /jffs
tmp(appears)

This means that the download didn't work?

Then iv'e run comand:

ls /proc/switch/eth0/vlan
1 to 16 (numbers appears)

Something i'm not doing right.
can you tell me the command to Unload the switch module? I think that is what is missing.
Goto page Previous  1, 2, 3, 4, 5, 6  Next Display posts from previous:    Page 3 of 6
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum