max@ubuntu:~$ ifconfig |egrep "HWadd|inet"
ens32 Link encap:Ethernet HWaddr 00:0c:29:b8:26:8e
inet addr:192.168.88.45 Bcast:192.168.88.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feb8:268e/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
max@ubuntu:~$ route |egrep "Dest|168.88"
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.88.1 0.0.0.0 UG 0 0 0 ens32
192.168.88.0 * 255.255.255.0 U 0 0 0 ens32
沒有留言:
張貼留言