Код:
[root@gw ~]# ifconfig
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:1b:21:c1:21:2c
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:1b:21:c1:21:2d
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 8c:89:a5:c7:ff:12
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (none)
status: no carrier
igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:1b:21:9f:96:08
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:1b:21:9f:96:09
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet 95.46.2.1 netmask 0xffffffff
inet 95.46.122.1 netmask 0xffffffff
vlan1000: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:9f:96:08
inet 95.46.122.254 netmask 0xfffffff0 broadcast 95.46.122.255
inet 95.46.2.1 netmask 0xffffffff broadcast 95.46.2.1
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 1000 parent interface: igb2
vlan1001: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2d
inet 95.46.2.1 netmask 0xfffffff0 broadcast 95.46.2.15
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 1001 parent interface: igb1
vlan1335: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
vlan: 0 parent interface: <none>
vlan1336: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
vlan: 0 parent interface: <none>
vlan3153: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2d
inet 10.10.0.2 netmask 0xffffff00 broadcast 10.10.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 3153 parent interface: igb1
vlan3154: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2d
inet 10.0.0.1 netmask 0xfffffffc broadcast 10.0.0.3
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 3154 parent interface: igb1
vlan3155: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2d
inet 10.10.9.1 netmask 0xffffff00 broadcast 10.10.9.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 3155 parent interface: igb1
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 2 parent interface: igb0
vlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 3 parent interface: igb0
vlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.11.1 netmask 0xffffff00 broadcast 10.10.11.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 4 parent interface: igb0
vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.12.1 netmask 0xffffff00 broadcast 10.10.12.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 5 parent interface: igb0
vlan6: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.13.1 netmask 0xffffff00 broadcast 10.10.13.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 6 parent interface: igb0
vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.14.1 netmask 0xffffff00 broadcast 10.10.14.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 7 parent interface: igb0
vlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.15.1 netmask 0xffffff00 broadcast 10.10.15.255
inet 95.46.122.254 netmask 0xffffffff broadcast 95.46.122.254
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 8 parent interface: igb0
vlan9: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.16.1 netmask 0xffffff00 broadcast 10.10.16.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 9 parent interface: igb0
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.17.1 netmask 0xffffff00 broadcast 10.10.17.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 10 parent interface: igb0
vlan11: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.18.1 netmask 0xffffff00 broadcast 10.10.18.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 11 parent interface: igb0
vlan12: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:9f:96:09
inet 10.10.19.1 netmask 0xffffff00 broadcast 10.10.19.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 12 parent interface: igb3
vlan13: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.20.1 netmask 0xffffff00 broadcast 10.10.20.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 13 parent interface: igb0
vlan14: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:9f:96:09
inet 10.10.21.1 netmask 0xffffff00 broadcast 10.10.21.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 14 parent interface: igb3
vlan15: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:9f:96:09
inet 10.10.22.1 netmask 0xffffff00 broadcast 10.10.22.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 15 parent interface: igb3
vlan16: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.23.1 netmask 0xffffff00 broadcast 10.10.23.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 16 parent interface: igb0
vlan17: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.24.1 netmask 0xffffff00 broadcast 10.10.24.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 17 parent interface: igb0
vlan18: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.25.1 netmask 0xffffff00 broadcast 10.10.25.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 18 parent interface: igb0
vlan19: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.26.1 netmask 0xffffff00 broadcast 10.10.26.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 19 parent interface: igb0
vlan20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.27.1 netmask 0xffffff00 broadcast 10.10.27.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 20 parent interface: igb0
vlan21: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.28.1 netmask 0xffffff00 broadcast 10.10.28.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 21 parent interface: igb0
vlan22: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.29.1 netmask 0xffffff00 broadcast 10.10.29.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 22 parent interface: igb0
vlan23: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.30.1 netmask 0xffffff00 broadcast 10.10.30.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 23 parent interface: igb0
vlan24: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.31.1 netmask 0xffffff00 broadcast 10.10.31.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 24 parent interface: igb0
vlan25: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=303<RXCSUM,TXCSUM,TSO4,TSO6>
ether 00:1b:21:c1:21:2c
inet 10.10.32.1 netmask 0xffffff00 broadcast 10.10.32.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 25 parent interface: igb0
ng2: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1400
inet 95.46.2.1 --> 95.46.122.105 netmask 0xffffffff
ng3: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1400
inet 95.46.2.1 --> 95.46.2.44 netmask 0xffffffff
ng4: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1400
inet 95.46.2.1 --> 95.46.2.196 netmask 0xffffffff
ng9: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet 95.46.2.1 --> 95.46.3.220 netmask 0xffffffff
ng13: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet 95.46.2.1 --> 95.46.2.39 netmask 0xffffffff
ng36: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.2.77 netmask 0xffffffff
ng60: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.122.52 netmask 0xffffffff
ng76: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.3.217 netmask 0xffffffff
ng98: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.3.210 netmask 0xffffffff
ng99: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.122.100 netmask 0xffffffff
ng186: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.122.179 netmask 0xffffffff
ng203: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 95.46.2.1 --> 95.46.2.198 netmask 0xffffffff
POINTOPOINT интерфейсов много
Код:
[root@gw ~]# ifconfig | grep POINTOPOINT | wc -l
630
[root@gw ~]#