View Single Post
  #3   (View Single Post)  
Old 13th June 2019
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 97
Default

The IP address changed when I set it manually, but there was no internet access with the new IP address:
Code:
# ifconfig em0 192.168.100.200/24
 
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
	index 3 priority 0 llprio 3
	groups: lo
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
	inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr b4:b5:2f:dd:b2:ac
	index 1 priority 0 llprio 3
	groups: egress
	media: Ethernet autoselect (100baseTX full-duplex)
	status: active
	inet 192.168.100.200 netmask 0xffffff00 broadcast 192.168.100.255
enc0: flags=0<>
	index 2 priority 0 llprio 3
	groups: enc
	status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
	index 4 priority 0 llprio 3
	groups: pflog

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendmsg: No route to host
ping: wrote 8.8.8.8 64 chars, ret=-1
ping: sendmsg: No route to host
ping: wrote 8.8.8.8 64 chars, ret=-1
ping: sendmsg: No route to host
ping: wrote 8.8.8.8 64 chars, ret=-1
ping: sendmsg: No route to host
ping: wrote 8.8.8.8 64 chars, ret=-1
ping: sendmsg: No route to host
ping: wrote 8.8.8.8 64 chars, ret=-1
Reply With Quote