Gary,
After analyzing the config.sh from /lib/network (for Kamikaze 7.09:
The bridge is only supported as interface type. 
        option type     {bridge}
        option proto    {static, dhcp}
If you are interested in bridging your lan and wan interface you could 
have more success adding it as a type in both interfaces.
I also had to tweak with the firewall settings for bridging to work.


Good day,
Karthik Venkateswaran




"Gary Li" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
08/05/2008 06:58 AM
Please respond to
OpenWrt Development List <openwrt-devel@lists.openwrt.org>


To
"'OpenWrt Development List'" <openwrt-devel@lists.openwrt.org>
cc

Subject
Re: [OpenWrt-Devel] how to briding lan and wan






 
Hi Karthik,
 
I just try to change lan option proto.
The conf is as below:
 
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
        option proto      bridge
        option ipaddr   '192.168.8.180'
        option netmask  255.255.255.0
 
config interface wan
        option ifname   eth1
        option proto    dhcp
 
the result of ifconfig command:
 
eth0      Link encap:Ethernet  HWaddr 00:01:C1:00:42:80 
          inet addr:192.168.8.188  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:112374 errors:0 dropped:0 overruns:0 frame:0
          TX packets:892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9910188 (9.4 MiB)  TX bytes:154740 (151.1 KiB)
 
eth1      Link encap:Ethernet  HWaddr 00:01:C1:00:42:81 
          inet addr:192.168.7.188  Bcast:192.168.7.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:63040 (61.5 KiB)
 
fp        Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          UP RUNNING  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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:27024 (26.3 KiB)  TX bytes:27024 (26.3 KiB)
 
Thanks,
 
Best Regards,
Gary
 

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Karthik 
Venkateswaran
Sent: Monday, August 04, 2008 8:18 PM
To: OpenWrt Development List
Subject: Re: [OpenWrt-Devel] how to briding lan and wan
 

Can you cut and paste your /etc/config/network and ifconfig to give more 
clarity. 

Cheers, 
Karthik Venkateswaran



"Gary Li" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
08/04/2008 05:11 PM 


Please respond to
OpenWrt Development List <openwrt-devel@lists.openwrt.org>



To
<openwrt-devel@lists.openwrt.org> 
cc
 
Subject
[OpenWrt-Devel] how to briding lan and wan
 


 
 

 

Hi all, 
  
When I try to modify configuration to support brige in the 
etc/config/netwok. 
And execute network restart. 
I got a error: 
Interface type bridge not supported. 
  
Anyone know how to do that? 
  
Thanks, 
  
Best regards, 
Gary 
  
  

______________________________________________________________________
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

______________________________________________________________________

______________________________________________________________________
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



______________________________________________________________________
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to