ok i tried following that guide and i couldn't get switch port 2 working after trying to create its own vlan for itself
I do not have openwrt installed, i have a telnet daemon so i can telnet to the WRT54G
i tried creating a seperate vlan for switch port 2
nvram set vlan0ports="1 3 4 5*"
nvram set vlan0hwname=et0
nvram set vlan1ports="0 5"
nvram set vlan1hwname=et0
nvram set vlan2ports="2"
nvram set vlan2hwname=et0
vconfig add eth0 2
reboot
ifconfig vlan2 hw ether 00:13:10:F6:47:01
ifconfig vlan2 up
# ifconfig -a
br0 Link encap:Ethernet HWaddr 00:13:10:F6:47:2E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13132 (12.8 kb) TX bytes:69769 (68.1 kb)
eth0 Link encap:Ethernet HWaddr 00:13:10:F6:47:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:624 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:54563 (53.2 kb) TX bytes:72442 (70.7 kb)
Interrupt:5 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:13:10:F6:47:30
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:202
TX packets:85 errors:90 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:28290 (27.6 kb)
Interrupt:4 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 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)
vlan0 Link encap:Ethernet HWaddr 00:13:10:F6:47:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:193 errors:0 dropped:0 overruns:0 frame:0
TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13988 (13.6 kb) TX bytes:70817 (69.1 kb)
vlan1 Link encap:Ethernet HWaddr 00:12:3F:98:0C:04
inet addr:128.2.140.229 Bcast:128.2.141.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29293 (28.6 kb) TX bytes:1625 (1.5 kb)
vlan2 Link encap:Ethernet HWaddr 00:13:10:F6:47:01
UP BROADCAST RUNNING 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)
Then i plug a computer into the switch port 2, and try to dhcp to get an address, no response...
I guess I mis-understood something about the settings...
thanks!
George
(Last edited by hedpe on 23 Feb 2006, 00:56)