┌─[root@parrot]─[/home/dexter]
└──╼ #ifconfig
eth0: flags=4163 mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::8eb:3298:a14b:1b7f prefixlen 64 scopeid 0x20
ether 08:00:27:02:5f:6a txqueuelen 1000 (Ethernet)
RX packets 15327 bytes 13256738 (12.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9008 bytes 846386 (826.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 14 bytes 630 (630.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14 bytes 630 (630.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
┌─[root@parrot]─[/home/dexter]
└──╼ #ifconfig eth0 10.0.2.16
┌─[root@parrot]─[/home/dexter]
└──╼ #ifconfig
eth0: flags=4163 mtu 1500
inet 10.0.2.16 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::8eb:3298:a14b:1b7f prefixlen 64 scopeid 0x20
ether 08:00:27:02:5f:6a txqueuelen 1000 (Ethernet)
RX packets 15347 bytes 13263401 (12.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9025 bytes 849297 (829.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions
┌─[✗]─[root@parrot]─[/home/dexter]
└──╼ #ifconfig eth0 down
┌─[root@parrot]─[/home/dexter]
└──╼ #ifconfig eth0 up
┌─[root@parrot]─[/home/dexter]
└──╼ #ping fb.com
PING fb.com (157.240.16.35) 56(84) bytes of data.
64 bytes from edge-star-mini-shv-01-bom1.facebook.com (157.240.16.35): icmp_seq=1 ttl=52 time=33.4 ms
0 comments:
Post a Comment