Created
April 21, 2016 23:09
-
-
Save mabn/ed171f180725b563d32bb86d5ec61988 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ netstat -r | |
Routing tables | |
Internet: | |
Destination Gateway Flags Refs Use Netif Expire | |
127 localhost UCS 1 0 lo0 | |
localhost localhost UH 661 308639805 lo0 | |
192.168.59 link#10 UC 2 0 vboxnet | |
192.168.59.1 a:0:27:0:0:0 UHLWIi 2 319299 lo0 | |
224.0.0 link#1 UmCS 2 0 lo0 | |
224.0.0.251 link#1 UHmWI 1 0 lo0 | |
Internet6: | |
Destination Gateway Flags Netif Expire | |
localhost localhost UHL lo0 | |
fe80::%lo0 marcins-macbook-pr UcI lo0 | |
marcins-macbook-pr link#1 UHLI lo0 | |
ff01::%lo0 localhost UmCI lo0 | |
ff01::%en0 link#4 UmCI en0 | |
ff02::%lo0 localhost UmCI lo0 | |
ff02::%en0 link#4 UmCI en0 | |
$ ifconfig -a | |
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 | |
options=3<RXCSUM,TXCSUM> | |
inet6 ::1 prefixlen 128 | |
inet 127.0.0.1 netmask 0xff000000 | |
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 | |
nd6 options=1<PERFORMNUD> | |
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 | |
stf0: flags=0<> mtu 1280 | |
en0: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500 | |
ether 6c:40:08:9e:03:be | |
nd6 options=1<PERFORMNUD> | |
media: autoselect (<unknown type>) | |
status: inactive | |
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500 | |
options=60<TSO4,TSO6> | |
ether 72:00:06:11:27:b0 | |
media: autoselect <full-duplex> | |
status: inactive | |
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500 | |
options=60<TSO4,TSO6> | |
ether 72:00:06:11:27:b1 | |
media: autoselect <full-duplex> | |
status: inactive | |
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 | |
options=63<RXCSUM,TXCSUM,TSO4,TSO6> | |
ether 6e:40:08:e9:8e:00 | |
Configuration: | |
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0 | |
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200 | |
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0 | |
ipfilter disabled flags 0x2 | |
member: en1 flags=3<LEARNING,DISCOVER> | |
ifmaxaddr 0 port 5 priority 0 path cost 0 | |
member: en2 flags=3<LEARNING,DISCOVER> | |
ifmaxaddr 0 port 6 priority 0 path cost 0 | |
nd6 options=1<PERFORMNUD> | |
media: <unknown type> | |
status: inactive | |
p2p0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 2304 | |
ether 0e:40:08:9e:03:be | |
media: autoselect | |
status: inactive | |
awdl0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1484 | |
ether 7e:26:8f:ab:59:f2 | |
nd6 options=1<PERFORMNUD> | |
media: autoselect | |
status: inactive | |
vboxnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 | |
ether 0a:00:27:00:00:00 | |
inet 192.168.59.1 netmask 0xffffff00 broadcast 192.168.59.255 | |
// nc works fine: | |
$ nc -l 127.0.0.1 8080 & | |
[1] 76418 | |
$ echo "FOObar" | nc 127.0.0.1 8080 | |
FOObar | |
[1]+ Done nc -l 127.0.0.1 8080 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment