Guest User

Untitled

a guest
Dec 17th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. oot@nas1:~# ip addr
  2. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  3. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  4. inet 127.0.0.1/8 scope host lo
  5. inet6 ::1/128 scope host
  6. valid_lft forever preferred_lft forever
  7. 2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  8. link/ether 74:ea:3a:80:31:ff brd ff:ff:ff:ff:ff:ff
  9. inet 192.168.1.201/24 brd 192.168.1.255 scope global eth1
  10. inet6 fe80::76ea:3aff:fe80:31ff/64 scope link
  11. valid_lft forever preferred_lft forever
  12. 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  13. link/ether 00:1d:7d:02:f8:0a brd ff:ff:ff:ff:ff:ff
  14. inet 192.168.1.190/32 brd 192.168.1.255 scope global eth0:0
  15. inet 192.168.1.200/24 brd 192.168.1.255 scope global eth0
  16. inet6 fe80::21d:7dff:fe02:f80a/64 scope link
  17. valid_lft forever preferred_lft forever
  18. root@nas1:~# ip route show table all
  19. default via 192.168.1.1 dev eth0
  20. 127.0.0.0/8 via 127.0.0.1 dev lo
  21. 192.168.1.0/24 dev eth0 scope link src 192.168.1.200
  22. default via 192.168.1.1 dev eth0 table 21 src 192.168.1.200
  23. 192.168.1.0/24 dev eth0 table 21 scope link src 192.168.1.200
  24. broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
  25. local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
  26. local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
  27. broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
  28. broadcast 192.168.1.0 dev eth1 table local proto kernel scope link src 192.168.1.201
  29. broadcast 192.168.1.0 dev eth0 table local proto kernel scope link src 192.168.1.200
  30. local 192.168.1.190 dev eth0 table local proto kernel scope host src 192.168.1.190
  31. local 192.168.1.200 dev eth0 table local proto kernel scope host src 192.168.1.200
  32. local 192.168.1.201 dev eth1 table local proto kernel scope host src 192.168.1.201
  33. broadcast 192.168.1.255 dev eth0 table local proto kernel scope link src 192.168.1.190
  34. broadcast 192.168.1.255 dev eth1 table local proto kernel scope link src 192.168.1.201
  35. broadcast 192.168.1.255 dev eth0 table local proto kernel scope link src 192.168.1.200
  36. fe80::/64 dev eth0 proto kernel metric 256
  37. fe80::/64 dev eth1 proto kernel metric 256
  38. unreachable default dev lo table unspec proto kernel metric -1 error -101 hoplimit 255
  39. local ::1 via :: dev lo table local proto none metric 0
  40. local fe80::21d:7dff:fe02:f80a via :: dev lo table local proto none metric 0
  41. local fe80::76ea:3aff:fe80:31ff via :: dev lo table local proto none metric 0
  42. ff00::/8 dev eth0 table local metric 256
  43. ff00::/8 dev eth1 table local metric 256
  44. unreachable default dev lo table unspec proto kernel metric -1 error -101 hoplimit 255
Add Comment
Please, Sign In to add comment