Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@fbsd-router:~ # ifconfig re1
- re1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
- options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
- ether 00:0d:b9:3c:ae:25
- nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
- media: Ethernet autoselect (none)
- status: no carrier
- root@fbsd-router:~ # ifconfig bridge0
- bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
- ether 02:6b:c0:de:b8:00
- inet 1.1.1.1 netmask 0xffffff00 broadcast 1.1.1.255
- nd6 options=9<PERFORMNUD,IFDISABLED>
- groups: bridge
- id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
- maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
- root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
- member: re1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
- ifmaxaddr 0 port 2 priority 128 path cost 55
- member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
- ifmaxaddr 0 port 5 priority 128 path cost 33333
- root@fbsd-router:~ # netstat -iWW | grep Link#
- re0 1500 <Link#1> 00:0d:b9:3c:ae:24 16 0 0 29 0 0
- re1 1500 <Link#2> 00:0d:b9:3c:ae:25 0 0 0 21 0 0
- re2* 1500 <Link#3> 00:0d:b9:3c:ae:26 0 0 0 0 0 0
- lo0 16384 <Link#4> lo0 0 0 0 0 0 0
- wlan0 1500 <Link#5> 04:f0:21:17:3b:d7 235 24 0 197 52 0
- bridge0 1500 <Link#6> 02:6b:c0:de:b8:00 235 0 0 102 0 0
- root@fbsd-router:~ # kgdb /boot/kernel/kernel /dev/mem
- GNU gdb 6.1.1 [FreeBSD]
- Copyright 2004 Free Software Foundation, Inc.
- GDB is free software, covered by the GNU General Public License, and you are
- welcome to change it and/or distribute copies of it under certain conditions.
- Type "show copying" to see the conditions.
- There is absolutely no warranty for GDB. Type "show warranty" for details.
- (...)
- (kgdb) p ifindex_table[6].if_link_state
- $1 = 1 '\001'
- Current language: auto; currently minimal
Advertisement
Add Comment
Please, Sign In to add comment