Hi all
When add static routes to the rc.conf, then the whole routing is messed up. There is no DNS working, nothing.
I add the following lines to the rc.conf file:
If I comment the static routes out, everything works fine. Also if I add the static routes after the boot manually:
My system is:
What do I miss here?
Thanks for your help
Cheers Daniel
When add static routes to the rc.conf, then the whole routing is messed up. There is no DNS working, nothing.
I add the following lines to the rc.conf file:
Code:
hostname="sy-nvla-n-008"
keymap="swissgerman.iso.acc.kbd"
# Configure Interface
ifconfig_de0="inet 217.192.x.x netmask 255.255.255.192"
defaultrouter="217.192.x.y"
# Set static routes
static_routes="net1 net2"
route_net1="-net 192.168.100.0/24 217.192.x.z"
route_net2="-net 10.253.24.0/22 217.192.x.z"
If I comment the static routes out, everything works fine. Also if I add the static routes after the boot manually:
route add -net 192.168.100.0/24 217.192.x.z
route add -net 10.253.24.0/22 217.192.x.zMy system is:
Code:
FreeBSD sy-nvla-n-008 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Thanks for your help
Cheers Daniel