Журнал лабораторных работ

Содержание

Журнал

Понедельник (11/27/06)

/dev/ttyv0
19:28:59
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:29:09
#vi /etc/rc.conf
19:29:09
#vi /etc/rc.conf
19:29:09
#vi /etc/rc.conf
19:29:09
#vi /etc/rc.conf
19:29:51
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:29:51
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:29:51
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:29:51
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:30:05
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:05
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:05
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:05
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:08
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:08
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:08
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:08
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:36
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:36
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:36
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:36
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:30:41
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:41
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:41
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:41
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:30:44
#ifconfig vlan4 destroy

19:30:44
#ifconfig vlan4 destroy

19:30:44
#ifconfig vlan4 destroy

19:30:44
#ifconfig vlan4 destroy

19:31:40
#ifconfig vlan5 destroy

19:31:40
#ifconfig vlan5 destroy

19:31:40
#ifconfig vlan5 destroy

19:31:40
#ifconfig vlan5 destroy

19:32:14
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 tentative scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:32:14
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 tentative scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:32:14
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 tentative scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:32:14
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 tentative scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:32:22
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:32:22
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:32:22
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:32:22
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:32:31
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:32:31
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:32:31
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:32:31
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:32:37
#tcpdump
17:33:01.974985 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
17:33:02.364254 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e00c  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c400 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c480 2600                           M7..&.
...
        0x0030:  4d37 c880 2600                           M7..&.
17:33:06.510266 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e018  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c900 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c980 2600                           M7..&.
^C
90 packets captured
90 packets received by filter
0 packets dropped by kernel
19:32:37
#tcpdump
17:33:01.974985 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
17:33:02.364254 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e00c  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c400 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c480 2600                           M7..&.
...
        0x0030:  4d37 c880 2600                           M7..&.
17:33:06.510266 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e018  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c900 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c980 2600                           M7..&.
^C
90 packets captured
90 packets received by filter
0 packets dropped by kernel
19:32:37
#tcpdump
17:33:01.974985 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
17:33:02.364254 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e00c  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c400 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c480 2600                           M7..&.
...
        0x0030:  4d37 c880 2600                           M7..&.
17:33:06.510266 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e018  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c900 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c980 2600                           M7..&.
^C
90 packets captured
90 packets received by filter
0 packets dropped by kernel
19:32:37
#tcpdump
17:33:01.974985 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
17:33:02.364254 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e00c  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c400 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c480 2600                           M7..&.
...
        0x0030:  4d37 c880 2600                           M7..&.
17:33:06.510266 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e018  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c900 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c980 2600                           M7..&.
^C
90 packets captured
90 packets received by filter
0 packets dropped by kernel
19:33:07
#tcpdump
        0x0020:  0000 04c1 4d37 c600 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c680 2600                           M7..&.
17:33:18.433116 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e016  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
        0x0020:  e800 04c1 4d37 c700 0000 0003 e800 04c1  ....M7..........
        0x0030:  4d37 c780 2600                           M7..&.
17:33:18.525061 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e017  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
...
        0x0030:  4d37 c280 2600                           M7..&.
17:33:24.004775 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
^C
101 packets captured
107 packets received by filter
0 packets dropped by kernel
19:33:07
#tcpdump
        0x0020:  0000 04c1 4d37 c600 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c680 2600                           M7..&.
17:33:18.433116 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e016  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
        0x0020:  e800 04c1 4d37 c700 0000 0003 e800 04c1  ....M7..........
        0x0030:  4d37 c780 2600                           M7..&.
17:33:18.525061 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e017  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
...
        0x0030:  4d37 c280 2600                           M7..&.
17:33:24.004775 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
^C
101 packets captured
107 packets received by filter
0 packets dropped by kernel
19:33:07
#tcpdump
        0x0020:  0000 04c1 4d37 c600 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c680 2600                           M7..&.
17:33:18.433116 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e016  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
        0x0020:  e800 04c1 4d37 c700 0000 0003 e800 04c1  ....M7..........
        0x0030:  4d37 c780 2600                           M7..&.
17:33:18.525061 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e017  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
...
        0x0030:  4d37 c280 2600                           M7..&.
17:33:24.004775 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
^C
101 packets captured
107 packets received by filter
0 packets dropped by kernel
19:33:07
#tcpdump
        0x0020:  0000 04c1 4d37 c600 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c680 2600                           M7..&.
17:33:18.433116 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e016  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
        0x0020:  e800 04c1 4d37 c700 0000 0003 e800 04c1  ....M7..........
        0x0030:  4d37 c780 2600                           M7..&.
17:33:18.525061 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e017  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0103  .2..............
...
        0x0030:  4d37 c280 2600                           M7..&.
17:33:24.004775 01:00:0c:cc:cc:cd (oui Unknown) > 00:04:c1:4d:37:d8 (oui Unknown) snap ui/C
        0x0000:  0100 0ccc cccd 0004 c14d 37d8 8100 e004  .........M7.....
        0x0010:  0032 aaaa 0300 000c 010b 0000 0000 0180  .2..............
        0x0020:  0000 04c1 4d37 c300 0000 0080 0000 04c1  ....M7..........
        0x0030:  4d37 c380 2600                           M7..&.
^C
101 packets captured
107 packets received by filter
0 packets dropped by kernel
19:33:24
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:24
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:24
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:24
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:43
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:43
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:43
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:43
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:48
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:33:48
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:33:48
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:33:48
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:33:49
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:49
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:49
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:49
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.26.254 netmask 0xffffff00 broadcast 192.168.26.255
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:33:53
#vi /etc/rc.conf
22,23c22,23
< ifconfig_vlan4="192.168.25.254/24 vlan 4 vlandev em0"
< ifconfig_vlan5="192.168.26.254/24 vlan 5 vlandev em0"
---
> ifconfig_vlan4="192.168.26.254/24 vlan 4 vlandev em0"
> ifconfig_vlan5="192.168.25.254/24 vlan 5 vlandev em0"
19:33:53
#vi /etc/rc.conf
19:33:53
#vi /etc/rc.conf
19:33:53
#vi /etc/rc.conf
19:35:35
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:35:35
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:35:35
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:35:35
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:35:42
#/etc/rc.d/netif restart
Stopping network: lo0 em0 vlan4 vlan5.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:35:42
#/etc/rc.d/netif restart
Stopping network: lo0 em0 vlan4 vlan5.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:35:42
#/etc/rc.d/netif restart
Stopping network: lo0 em0 vlan4 vlan5.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:35:42
#/etc/rc.d/netif restart
Stopping network: lo0 em0 vlan4 vlan5.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:35:50
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:35:50
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:35:50
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:35:50
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254
Additional routing options:.
19:35:58
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:35:58
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:35:58
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:35:58
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:79:67:96:71
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em0
19:36:06
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:36:06
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:36:06
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:36:06
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist
19:36:11
#vi /etc/rc.conf
19:36:11
#vi /etc/rc.conf
19:36:11
#vi /etc/rc.conf
19:36:11
#vi /etc/rc.conf
19:36:35
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:36:35
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:36:35
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0
19:36:35
#/etc/rc.d/netif restart
Stopping network: lo0 em0.
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCIFCREATE: File exists
ifconfig: SIOCSETVLAN: Device busy
ifconfig: SIOCSETVLAN: Device busy
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 4 parent interface: em0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6
        ether 00:13:d4:b2:4f:ec
        media: Ethernet autoselect
        status: no carrier
        vlan: 5 parent interface: em0

Статистика

Время первой команды журнала19:28:59 2006-11-27
Время последней команды журнала19:36:35 2006-11-27
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 7.92
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.13
Количество командных строк в единицу времени, команда/мин13.29
Частота использования команд
ifconfig49|================================================| 48.51%
/etc/rc.d/netif20|===================| 19.80%
vi12|===========| 11.88%
/etc/rc.d/routing12|===========| 11.88%
tcpdump8|=======| 7.92%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$