Skip to content

Instantly share code, notes, and snippets.

@panxia6679
Created April 13, 2017 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save panxia6679/75348b8222d163a455ed9d6cb48ae00d to your computer and use it in GitHub Desktop.
Save panxia6679/75348b8222d163a455ed9d6cb48ae00d to your computer and use it in GitHub Desktop.
[root@host-192:NO LICENSE:] config # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/24 scope host lo
inet 127.2.0.2/24 brd 127.2.0.255 scope host lo:1
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast qlen 1000
link/ether fa:16:3e:e9:ce:4f brd ff:ff:ff:ff:ff:ff
inet 192.168.254.11/24 brd 192.168.254.255 scope global eth0
inet6 fe80::f816:3eff:fee9:ce4f/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether fa:16:3e:0d:33:70 brd ff:ff:ff:ff:ff:ff
inet6 fe80::f816:3eff:fe0d:3370/64 scope link
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether fa:16:3e:0d:29:43 brd ff:ff:ff:ff:ff:ff
inet6 fe80::f816:3eff:fe0d:2943/64 scope link
valid_lft forever preferred_lft forever
5: tunl0: <NOARP> mtu 1480 qdisc noop
link/ipip 0.0.0.0 brd 0.0.0.0
6: mgmt_bp: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue
link/ipip 169.254.0.1 brd 0.0.0.0
inet 127.3.0.0/32 scope host mgmt_bp
7: tmm0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9282 qdisc noqueue
link/ether 00:98:76:54:32:10 brd ff:ff:ff:ff:ff:ff
inet 127.1.1.1/24 brd 127.1.1.255 scope global tmm0
inet6 fe80::298:76ff:fe54:3210/64 scope link
valid_lft forever preferred_lft forever
8: http-tunnel: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether fa:16:3e:e9:ce:50 peer 00:00:00:00:00:00
inet6 fe80::f816:3eff:fee9:ce50/64 scope link
valid_lft forever preferred_lft forever
9: socks-tunnel: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether fa:16:3e:e9:ce:50 peer 00:00:00:00:00:00
inet6 fe80::f816:3eff:fee9:ce50/64 scope link
valid_lft forever preferred_lft forever
10: lb-ha: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:98:76:54:32:10 brd ff:ff:ff:ff:ff:ff
inet 192.168.253.11/24 brd 192.168.253.255 scope global lb-ha
inet6 fe80::298:76ff:fe54:3210/64 scope link
valid_lft forever preferred_lft forever
11: lb-data: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:98:76:54:32:10 brd ff:ff:ff:ff:ff:ff
inet 192.168.250.10/24 brd 192.168.250.255 scope global lb-data
inet6 fe80::298:76ff:fe54:3210/64 scope link
valid_lft forever preferred_lft forever
[root@host-192:NO LICENSE:] config # ping 192.168.250.2
PING 192.168.250.2 (192.168.250.2) 56(84) bytes of data.
64 bytes from 192.168.250.2: icmp_seq=1 ttl=64 time=6.20 ms
^C
--- 192.168.250.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.206/6.206/6.206/0.000 ms
[root@host-192:NO LICENSE:Standalone] config # ping 192.168.253.11
PING 192.168.253.11 (192.168.253.11) 56(84) bytes of data.
64 bytes from 192.168.253.11: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 192.168.253.11: icmp_seq=2 ttl=64 time=0.037 ms
^C
--- 192.168.253.11 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.024/0.030/0.037/0.008 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment