- 论坛徽章:
- 0
|
有台服务器,linux系统
没有看到公网IP的设置,但该机器却有公网IP,
请教出现这种情况的环境
# ifconfig 命令后提示,只有设置BOND,但没有看到公网IP的设置,但该机器确实又作为web提供服务,并使一个211.*.*.*的IP.
bond0 Link encap:Ethernet HWaddr 00:21:5E:68:42:24
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::221:5eff:fe68:4224/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:3213564294 errors:0 dropped:41 overruns:0 frame:0
TX packets:3269747237 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3975934409923 (3.6 TiB) TX bytes:508768016499 (473.8 GiB)
eth0 Link encap:Ethernet HWaddr 00:21:5E:68:42:24
UP BROADCAST RUNNING PROMISC SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1859350 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:229289470 (218.6 MiB) TX bytes:0 (0.0 b)
eth1 Link encap:Ethernet HWaddr 00:21:5E:68:42:24
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3211704947 errors:0 dropped:41 overruns:0 frame:0
TX packets:3269747242 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3975705121363 (3.6 TiB) TX bytes:508768018781 (473.8 GiB)
Memory:91980000-919a0000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9975106 errors:0 dropped:0 overruns:0 frame:0
TX packets:9975106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1198306160 (1.1 GiB) TX bytes:1198306160 (1.1 GiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:2074082 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:263425233 (251.2 MiB) TX bytes:0 (0.0 b)
Memory:91a80000-91aa0000
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1859350 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:229289470 (218.6 MiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:9506 (9.2 KiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:1857025 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:203130593 (193.7 MiB) TX bytes:0 (0.0 b) |
|