From owner-freebsd-questions Wed Dec 26 21:44:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ottawa.com (mail.ottawa.com [209.217.94.166]) by hub.freebsd.org (Postfix) with ESMTP id 67A5E37B41A for ; Wed, 26 Dec 2001 21:44:25 -0800 (PST) Received: (from ottawa@localhost) by mail.ottawa.com (8.9.2-aidan/8.9.2) id BAA08823; Thu, 27 Dec 2001 01:00:01 -0500 (EST) Date: Thu, 27 Dec 2001 01:00:01 -0500 (EST) Message-Id: <200112270600.BAA08823@mail.ottawa.com> To: freebsd-questions@freebsd.org From: VVK Subject: anyone running JAIL with DHCP setup (especially @HOME)??? HELP! X-Account: 5901 X-Sender-IP: 161.114.88.72 Mime-Version: 1.0 Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've been running jail successfully for almost 2 years now. Today my cable company changed static configuration to DHCP one. I've reconfigured my to use DHCP, however, jail would not work. in /etc/rc.conf: ifconfig_ed0="DHCP" ifconfig_ed0_alias0="inet 192.168.0.30 netmask 255.255.255.0" ifconfig_ed1="inet 192.168.0.1 netmask 255.255.255.128" ifconfig_ed1_alias0="inet 192.168.0.10 netmask 0xffffffff" hostname="crxxxxxx-E" inetd_flags="-wW -R 1024 -a 192.168.0.30" portmap_enable="YES" nfs_client_enable="YES" nfs_reserved_port_only="YES" nfs_server_enable="YES" # using this to mount drives/directories from jail in /etc/dhclient.conf send host-name "crxxxxxxx-E"; # Put your client IP here request subnet-mask, broadcast-address, routers, domain-name-servers; now, the problem is with the following: jail works fine (SSH/TELNET/etc) when i don't have /etc/resolv.conf. however, i cannot connect to any host from jail as it cannot resolve it. as soon as i put it in with correct DNS numbers, it starts giving me hard time: connects, say, to port 22, but no SSH header is displayed and same with other daemons.. inside jail, i have the following: root@me:/home/me>>ifconfig -a ed0: flags=8843 mtu 1500 ether 00:50:ba:cd:9a:fa ed1: flags=8843 mtu 1500 inet 192.168.0.10 netmask 0xffffffff broadcast 192.168.0.10 ether 00:50:ba:cd:b9:60 lo0: flags=8049 mtu 16384 there is no address associated with ed0 (my external nic) while in host system it shows the following: ed0: flags=8843 mtu 1500 inet 24.xx.xx.247 netmask 0xffffff00 broadcast 24.xx.xx.255 ether 00:50:ba:cd:9a:fa ed1: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xffffff80 broadcast 192.168.0.127 inet 192.168.0.10 netmask 0xffffffff broadcast 192.168.0.10 ether 00:50:ba:cd:b9:60 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 output of jail: Skipping disk checks ... Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied lo0: flags=8049 mtu 16384 Additional routing options: TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: Operation not permitted . Routing daemons:. Additional daemons: syslogd. Doing additional network setup:. Checking quotas: done. Enabling quotas: done. Starting final network daemons:. Turning on accounting: accton: /var/account/acct: Operation not permitted ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Starting standard daemons: inetd cron sshd. Initial rc.i386 initialization:. Configuring syscons: blanktime/etc/rc.syscons: cannot open /dev/ttyv0: no such file . Additional ABI support:. Starting local daemons:. Local package initialization: idled. Additional TCP options: log_in_vain=YESsysctl: net.inet.tcp.log_in_vain: Operation not permitted sysctl: net.inet.udp.log_in_vain: Operation not permitted ^^^^^^ e What might be the problem? Have you ever heard about this? Is there a fix? Would greatly appreciate any helo/hints. THANK YOU< Get your Free email at http://mail.ottawa.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message