Lucas Rey
Contributor
- Joined
 - Jul 25, 2011
 
- Messages
 - 180
 
Hello people,
I need to configure FreeNAS from my personal house LAN and then export it to my work office (with another network).
I can change the IP from root shell using the classic ifconfig:
# ifconfig em0 10.97.2.2 netmask 255.255.255.0 up
Now I need to configure the default route/gateway, but the follwoing command (I used in linux tons of times) doesn't work:
route add default 192.168.1.254 or route add default gw 192.168.1.254
I received as error:
Route bad address default or gw
Could someone help me to setup a default route/gateway? Thanks!
	
		
			
		
		
	
			
			I need to configure FreeNAS from my personal house LAN and then export it to my work office (with another network).
I can change the IP from root shell using the classic ifconfig:
# ifconfig em0 10.97.2.2 netmask 255.255.255.0 up
Now I need to configure the default route/gateway, but the follwoing command (I used in linux tons of times) doesn't work:
route add default 192.168.1.254 or route add default gw 192.168.1.254
I received as error:
Route bad address default or gw
Could someone help me to setup a default route/gateway? Thanks!