Hi.
I have a small dedicated server in ovh. I've installed FreeBSD 9.1 and jail configured. I don't get it, why I still haven't got connection from jail.
ifconfig:
cat /etc/rc.conf
jls
cat /etc/resolv.conf
Of course I copied resolv.conf to /etc/resolv.conf in jail.
What's wrong with it?
I have a small dedicated server in ovh. I've installed FreeBSD 9.1 and jail configured. I don't get it, why I still haven't got connection from jail.
ifconfig:
Code:
root@ks3290849:/home/bryn1u # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL _MAGIC,VLAN_HWTSO>
ether 00:22:4d:87:b3:3a
inet 5.135.184.12 netmask 0xffffff00 broadcast 5.135.184.255
inet6 fe80::222:4dff:fe87:b33a%em0 prefixlen 64 scopeid 0x1
inet 192.168.0.111 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Code:
root@ks3290849:/home/bryn1u # cat /etc/rc.conf
sshd_enable="YES"
ntpdate_enable="YES"
ntpdate_hosts="213.186.33.99"
fsck_y_enable="YES"
named_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
ifconfig_em0="inet 5.135.184.12 netmask 255.255.255.0 broadcast 5.135.184.255"
defaultrouter="5.135.184.254"
# IPv6 configuration
ipv6_static_routes="ovhgw"
ipv6_route_ovhgw="2001:41D0:8:C1ff:ff:ff:ff:ff -prefixlen 128 -interface em0"
ipv6_defaultrouter="2001:41D0:8:C1ff:ff:ff:ff:ff"
hostname="ks3290849.kimsufi.com"
# JAIL #
ezjail_enable="YES"
ifconfig_em0_alias0="inet 192.168.0.111/24"
Code:
root@ks3290849:/home/bryn1u # jls
JID IP Address Hostname Path
1 192.168.0.111 http /usr/jail/http
Code:
root@ks3290849:/home/bryn1u # cat /etc/resolv.conf
search ovh.net
nameserver 213.186.33.99
Of course I copied resolv.conf to /etc/resolv.conf in jail.
Code:
root@ks3290849:/home/bryn1u # cat /etc/resolv.conf
search ovh.net
nameserver 213.186.33.99
root@ks3290849:/home/bryn1u #
root@ks3290849:/home/bryn1u # js
js: Command not found.
root@ks3290849:/home/bryn1u # jls
JID IP Address Hostname Path
1 192.168.0.111 http /usr/jail/http
root@ks3290849:/home/bryn1u # jexec 1 csh
root@http:/ # ping wp.pl
^C
root@http:/ # ping google.pl
^C
root@http:/ # ping 213.186.33.99
PING 213.186.33.99 (213.186.33.99): 56 data bytes
^C
--- 213.186.33.99 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
What's wrong with it?