Hello everybody I'm new to some parts of freebsd, I've tested it before but now I'm committed on used on my "Server"
Before I describe my problem here are the pc specs:
The problem...
I don't know how to add the gateway information to the jail.
I used ezjail to create the jail
In the /etc/rc.conf file of the jail I've written:
but some how this does not work.
I've tried
When I
Can anyone help me?
Before I describe my problem here are the pc specs:
Code:
AMD Athlon x2 +5600
8 GB RAM
IDE 80 GB system disk
zfs pool 2,34 TB (4 disks, 2x1TB + 2x250GB)
FreeBSD 8.0-Release-p2 (64bit)
3 Nic (re0, rl0,rl1)
Networks:
external rl0 192.168.0.0/24
internal rl1 10.170.14.0/24
The problem...
I don't know how to add the gateway information to the jail.
I used ezjail to create the jail
In the /etc/rc.conf file of the jail I've written:
Code:
defaultrouter="The router IP"
I've tried
route add 0.0.0.0 "router IP"
also no luck here because of this error:
Code:
route: writing to routing socket: Operation not permitted
When I
netstat -r
or -nr
I get this error:
Code:
netstat: kvm not available: /dev/mem: No such file or directory
Routing tables
rt_tables: symbol not in namelist
Can anyone help me?