Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-16 Thread Eric Masson
Le 15/04/2010 15:02, Jo-Philipp Wich a écrit : Hello, > Right, handling of interface aliases is still somewhat problematic with > the current firewall framework. I think you have to resort to custom > rules for now. So far, it works fine. /etc/config/network config 'alias' option 'proto

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Janusz Krzysztofik
Thursday 15 April 2010 15:20:26 Eric Masson napisał(a): > Le 15/04/2010 15:02, Jo-Philipp Wich a écrit : > > Hello, > > > Right, handling of interface aliases is still somewhat problematic with > > the current firewall framework. I think you have to resort to custom > > rules for now. > > Ok. > > I

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread edgar . soldin
You did earlier (9.12.2009) .. https://lists.openwrt.org/pipermail/openwrt-devel/2009-December/005384.html anyway you are right. They can be pulled manually as well. These vars were set in "white russian", but didn't survive "kamikaze". I feel they are convenient. LANDEV is missing because it

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edgar, I fail to see the purpose of this patch. Why is WANDEV defined but not LANDEV? Why this aliases and no general mechanism? What happens if I renamed my wan interface, removed it etc.? Why can't includes that need those vars just pull them? ~

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread edgar . soldin
Apropos custom rules .. this patch is still pending .. ede On 15.04.2010 15:02, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Remaining problem is access to the dsl modem, a new zone should be created to allow masquerading, and I don't see how eth0.1 could be in wan& d

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Eric Masson
Le 15/04/2010 15:02, Jo-Philipp Wich a écrit : Hello, > Right, handling of interface aliases is still somewhat problematic with > the current firewall framework. I think you have to resort to custom > rules for now. Ok. Is there any plan regarding firewall framework mods to support this kind of

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Remaining problem is access to the dsl modem, a new zone should be > created to allow masquerading, and I don't see how eth0.1 could be in > wan & dsl zones... Right, handling of interface aliases is still somewhat problematic with the current firew

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Eric Masson
Le 15/04/2010 14:03, Jo-Philipp Wich a écrit : Hello, > Did you try with an alias? > > http://wiki.openwrt.org/doc/uci/network#aliases Nope, I wasn't aware of this keyword. I suppose that I should use 'wan' as parent interface. I'll check asap whether it works or not (Box is in use for vpn acc

Re: [OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you try with an alias? http://wiki.openwrt.org/doc/uci/network#aliases ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvHAHQACgkQdputYINPTPPB5wCf

[OpenWrt-Devel] Multiple setups on an ethernet interface

2010-04-15 Thread Eric Masson
Hello, I'm trying to make an ethernet interface support both PPPoE & static ip address settings (goal is to access DSL modem administrative interface) I've tried a setup like the following : /etc/config/network config 'switch' 'eth0' option 'enable' '1' config 'switch_vlan' 'eth0_0'