Edit /etc/rc.conf
Change
ifconfig_em0="DHCP"
to
ifconfig_em0="inet 192.168.56.105 netmask 255.255.25.0"
and add
defaultrouter="192.168.56.1"
edit /etc/resolve.conf as per Linux and then do;
service netif restart && service routing restart
[source]
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Edit /etc/rc.conf
Change
ifconfig_em0="DHCP"
to
ifconfig_em0="inet 192.168.56.105 netmask 255.255.25.0"
and add
defaultrouter="192.168.56.1"
edit /etc/resolve.conf as per Linux and then do;
service netif restart && service routing restart
[source]
No comments:
Post a Comment
Note: only a member of this blog may post a comment.