/l3/users/bezha/nt-bsdnet/fbsd6.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 :77 :78 :79 :80 :81 :82 :83 :84 :85 :86 :87 :88 :89 :90 :91 :92 :93 :94 :95 :96 :97 :98 :99 :100 |
|
#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 |
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#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 |
#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 |
#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 |
#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 |
#/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 |
#/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 |
#/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 |
#/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 |
#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 |
#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 |
#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 |
#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 |
#/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 |
#/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 |
#/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 |
#/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 |
#ifconfig vlan4 destroy
|
#ifconfig vlan4 destroy
|
#ifconfig vlan4 destroy
|
#ifconfig vlan4 destroy
|
#ifconfig vlan5 destroy
|
#ifconfig vlan5 destroy
|
#ifconfig vlan5 destroy
|
#ifconfig vlan5 destroy
|
#/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 |
#/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 |
#/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 |
#/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 |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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" |
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#/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 |
#/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 |
#/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 |
#/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 |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#/etc/rc.d/routing restart
add net default: gateway 192.168.15.254 Additional routing options:. |
#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 |
#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 |
#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 |
#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 |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#ifconfig vla4 destroy
ifconfig: interface vla4 does not exist |
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#/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 |
#/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 |
#/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 |
#/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 | |||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008