1

How can I tell whether a network interface is physical (device) or virtual (alias)?

view story
linux-howto

http://unix.stackexchange.com – I have a small home router running OpenWrt (Kind of embedded Linux for routers). It has five Ethernet ports, one labeled WAN and four labeld LAN 1 to 4. It has the following Network Interfaces defined as per ifconfig: root@TIBERIUS: ~ > ifconfig | grep Link br-lan Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 eth0 Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 lan1 Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 lan2 Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 lan3 Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 lan4 Link encap:Ethernet HWaddr 00:23:CD:20:C3:B0 lo (HowTos)