netstat -rn shows normally with working connection:
Code:
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 192.168.0.1 UGS 1 33 - 12 urtw0
127/8 127.0.0.1 UGRS 0 0 33196 8 lo0
127.0.0.1 127.0.0.1 UH 2 2 33196 4 lo0
192.168.0/24 link#5 UC 1 0 - 4 urtw0
192.168.0.1 c4:3d:c7:18:ba:3b UHLc 1 0 - 4 urtw0
192.168.0.4 127.0.0.1 UGHS 0 0 33196 8 lo0
224/4 127.0.0.1 URS 0 0 33196 8 lo0
after i run
Code:
inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
i get:
Code:
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
127/8 127.0.0.1 UGRS 0 0 33196 8 lo0
127.0.0.1 127.0.0.1 UH 2 2 33196 4 lo0
192.168.0/24 link#7 UC 0 0 - 4 urtw0
192.168.0.4 127.0.0.1 UGHS 0 0 33196 8 lo0
224/4 127.0.0.1 URS 0 0 33196 8 lo0