Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@DD-WRT:~# uname -a
- Linux DD-WRT 4.14.19 #946 SMP PREEMPT Wed Feb 14 11:25:30 MST 2018 mips GNU/Linux
- eth2: flags=4163 < UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
- inet6 fe80::7a32:xxxx:xxxx:96fd prefixlen 64 scopeid 0x20<link>
- ether 78:32:xx:xx:96:fd txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 102 bytes 7444 (7.2 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 3
- eth3: flags=4931 < UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,MULTICAST> mtu 1500 metric 1
- inet6 fe80::7a32:xxxx:xxxx:9700 prefixlen 64 scopeid 0x20<link>
- ether 78:32:xx:xx:97:00 txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 13 bytes 1006 (1006.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- bridge name bridge id STP enabled interfaces
- br0 8000.7832xxxx96fd no eth2
- ra0
- rai0
- root@DD-WRT:~# route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
- 169.254.0.0 * 255.255.0.0 U 0 0 0 br0
- 192.168.1.0 * 255.255.255.0 U 0 0 0 br0
- root@DD-WRT:~# cat /etc/hosts
- 127.0.0.1 localhost
- 192.168.1.1 DD-WRT
- root@DD-WRT:~# cat /etc/resolv.conf
- nameserver 192.168.1.1
- root@DD-WRT:~# cat /proc/net/vlan/config
- VLAN Dev name | VLAN ID
- Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
- eth2.1 | 1 | eth2
- eth2.2 | 2 | eth2
- eth2.3 | 3 | eth2
- eth2.4 | 4 | eth2
- root@DD-WRT:~# cat /proc/net/vlan/eth2.1
- eth2.1 VID: 1 REORDER_HDR: 1 dev->priv_flags: 1001
- total frames received 0
- total bytes received 0
- Broadcast/Multicast Rcvd 0
- total frames transmitted 14
- total bytes transmitted 1076
- Device: eth2
- INGRESS priority mappings: 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
- EGRESS priority mappings: 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
- root@DD-WRT:~# switch dump
- hash port(0:6) fid vid age mac-address filter my_mac
- 724: ---1 ---- 0 4 146 406c8xxxx9d2 - -
- found the last entry 1 (not ready)
- root@DD-WRT:~# cat /proc/mt7621/port_status
- Port0: LinkDown
- Port1: LinkDown
- Port2: LinkDown
- Port3: LinkUp
- Port4: LinkDown
- root@DD-WRT:~# switch vlan dump
- vid fid portmap s-tag
- 1 0 1-----11 0
- 2 0 -1----11 0
- 3 0 --1---11 0
- 4 0 ---1--11 0
- 5 0 ----11-- 0
- 6 0 invalid
- 7 0 invalid
- 8 0 invalid
- 9 0 invalid
- 10 0 invalid
- 11 0 invalid
- 12 0 invalid
- 13 0 invalid
- 14 0 invalid
- 15 0 invalid
- 16 0 invalid
- root@DD-WRT:~# ethtool eth2
- Settings for eth2:
- Supported ports: [ TP MII ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Supported pause frame use: No
- Supports auto-negotiation: Yes
- Advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Full
- Advertised pause frame use: Symmetric
- Advertised auto-negotiation: Yes
- Speed: 10Mb/s
- Duplex: Half
- Port: MII
- PHYAD: 1
- Transceiver: internal
- Auto-negotiation: on
- Link detected: no
- Settings for eth3:
- Supported ports: [ TP MII ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- Supported pause frame use: No
- Supports auto-negotiation: Yes
- Advertised link modes: Not reported
- Advertised pause frame use: No
- Advertised auto-negotiation: No
- Speed: 10Mb/s
- Duplex: Half
- Port: MII
- PHYAD: 30
- Transceiver: internal
- Auto-negotiation: off
- Link detected: no
- Settings for eth2.1:
- Supported ports: [ TP MII ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Supported pause frame use: No
- Supports auto-negotiation: Yes
- Advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Full
- Advertised pause frame use: Symmetric
- Advertised auto-negotiation: Yes
- Speed: 10Mb/s
- Duplex: Half
- Port: MII
- PHYAD: 1
- Transceiver: internal
- Auto-negotiation: on
- Link detected: yes
Add Comment
Please, Sign In to add comment