PDA

Bekijk de volledige versie : LAN / WAN / WL Interfaces...



macsat
28-06-2005, 13:06
Hi Oleg

Which Nvram variables is which interface? :-)

On my ASUS WL-500g Deluxe I get this :



$ nvram show |grep "ifname"

printer_ifname=usb
wan0_ifname=vlan1
wl0_ifname=eth1
wan0_pppoe_ifname=
lan_ifnames_t=vlan0 eth1 eth2 eth3
lan_ifnames=vlan0 eth1 eth2 eth3
size: 10155 bytes (22613 left)
restore_lan_ifname=br0
wan_ifnames=vlan1
lan_ifname=br0
wan_ifname_t=vlan1
wl_ifname=
restore_lan_ifnames=eth1 eth0.1
wan_ifname=vlan1
wan0_ifnames=vlan1
wan_pppoe_ifname=


I do know that vlan1 is WAN and I guess br0 is the LAN switch.

But what about wireless? is that the wl0_ifname=eth1 interface?

What about the 4 LAN ports on the switch....can I handle thoose independently ?

...I guess they are the ones listed by lan_ifnames...

A small table of all interfacenames with explanation would be appriciated :-)

Rgards
macsat

Oleg
28-06-2005, 16:03
vlan0 is 4 lan ports
vlan1 is the wan port
eth1 (wl0_ifname) is the broadcom wireless.

macsat
28-06-2005, 16:42
Thanks :-)

...but what is br0 then ? :-)

Also - I see only eth1, eth2 and eth3

eth1 is WLAN

So that leaves for eth2 and eth3 for 4 LAN ports....or are they not split in separate ports like that?

Oleg
28-06-2005, 17:24
Thanks :-)

...but what is br0 then ? :-)

br0 bridges both wired and wireless lan together (logical interface)



Also - I see only eth1, eth2 and eth3

eth1 is WLAN

So that leaves for eth2 and eth3 for 4 LAN ports....or are they not split in separate ports like that?
no, in fact switch has one internal port only (eth0), which is then logically splitted using vlans.