goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Create a second WAN-port #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set /etc/config/switch vlan to 

1/28
2/34
2.  set /etc/config/switch vlan_port to

1/0/0/0/2
2/0/0/0/1
3/0/0/0/1
4/0/0/0/1
5/0/0/0/2
3.

What is the expected output? What do you see instead?

I expect LAN port 4 to behave like a WAN port. And it does. But the 'real' WAN 
port does not receive an IP any longer. Could you please lend me a hand as to 
what the problem might be?

Original issue reported on code.google.com by jeroen.b...@gmail.com on 14 Apr 2011 at 6:16

GoogleCodeExporter commented 8 years ago
Any ideas? I'm quite stuck. What can I try or take a look at? 

Many thanks,
Jeroen

Original comment by jeroen.b...@gmail.com on 18 Apr 2011 at 2:14

GoogleCodeExporter commented 8 years ago
Maybe it is not as easy as you expect.
Some internal settings for WAN port is needed. 

Have you restart the router after the settings ?
How do you know the 'real' WAN port does not receive any IP packet ?

Original comment by jht...@gmail.com on 19 Apr 2011 at 4:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I sure isn't as easy as I had hoped. 
After putting LAN4 in the same VLAN as the WAN port I get these stats:

br-wan    Link encap:Ethernet  HWaddr 00:50:7F:CD:28:AD
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:673 (673.0 B)

Notice the RX bytes:0.

Can I perhaps put the LAN4 port  the br-wan bridge? I do not need a 
particularly high througput so that might be a viable alternative?

Original comment by jeroen.b...@gmail.com on 19 Apr 2011 at 1:49