Jail gateway address different than Freenas gateway

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
FreeBSD 9.2-RELEASE-p10

When I look at the gateway address of my Freenas installation, it says 192.168.10.254

When I look at the Configuration of my jail, the gateway address is not exposed.

However, when I open a terminal window and jexec into the jail, 'netstat -nr' tells me the gateway address is 192.168.10.1!

Yes, I do have two gateways on my LAN. I am in the process of moving from x.254 to x.1.

How or why did the jail's gateway address get changed before I changed the gateway associated with the main Freenas IP.

How can I change the gateway associated with the jail back to x.254?

Thanks
 
Last edited:

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
I don't know what happened, but in the jail I did:

route del default
route add default 192.168.10.254

and it is set to what I want for now.
 
Top