>вывод команд
>ifconfig
/etc > ifconfig -a
bge0: flags=88c3<UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
options=3<rxcsum,txcsum>
inet xx.xx.178.221 netmask 0xfffffff8 broadcast xx.xx.178.223
inet6 fe80::20a:5eff:fe02:2c6f%bge0 prefixlen 64 scopeid 0x1
inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2
ether 00:0a:5e:02:2c:6f
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
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
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>netstat -r
/etc > netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default gw.xx.ru UGSc 2 0 bge0
second.xx.xx/32 link#1 UC 0 0 bge0
xx.xx.178.216/29 link#1 UC 1 0 bge0
gw.xx.ru 00:60:5c:f3:8b:bb UHLS 2 4 bge0
ns.xx.ru 00:a0:c9:fc:02:ae UHLS 1 305 bge0
vertus.xx.ru 00:a0:c9:fc:02:ae UHLS 0 0 bge0
xx.xx.178.220 00:60:5c:f3:8b:bb UHLS 0 0 bge0
second 00:0a:5e:02:2c:6f UHLS 0 0 lo0
xx.xx.178.222 00:04:75:f2:c9:ee UHLS 0 0 bge0
xx.xx.178.223 ff:ff:ff:ff:ff:ff UHLSb 0 0 bge0
localhost.xx.ru localhost.xx.ru UH 0 48 lo0
Internet6:
Destination Gateway Flags Netif Expire
localhost localhost UH lo0
fe80::%bge0 link#1 UC bge0
fe80::20a:5eff:fe0 00:0a:5e:02:2c:6f UHL lo0
fe80::%lo0 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#4 UHL lo0
ff01:: localhost U lo0
ff02::%bge0 link#1 UC bge0
ff02::%lo0 localhost UC lo0
|