Date: Wed, 21 Feb 2001 11:06:26 -0500 (EST) From: Mohsin Rahman <mtech@buffnet.net> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: cable + dhclient Message-ID: <Pine.BSF.4.05.10102211051360.372-100000@buffnet5.buffnet.net>
next in thread | raw e-mail | index | archive | help
Hello, I have a little problem where I can not put my finger on the
problem. I have a friend who connects with cable from Adelphia Comm.
I setup his dhclient on a FreeBSD 4.2 box with NATD. When I issue
"dhclient ed0", I get an IP address, namerserver, subnetmask, and
the default gateway. I can ping the outside world with IP only.
I cant not do anything else. Cant telnet, web, ftp, nothing. I
went through the mailing list archive and found that some people
suggested sending the hostname when the cable modem was initially
installed. Did that in the dhclient.conf file and it changed
nothing. If anyone can point out what I am doing wrong, I'll
appreciate it. Thanks!
Here are some config files:
dhclient.conf
-------------
# $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $
#
# This file is required by the ISC DHCP client.
# See ``man 5 dhclient.conf'' for details.
#
# In most cases an empty file is suffient for most people as the
# defaults are usually fine.
#
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
#script "/etc/dhclient-script";
interface "ed0" {
send host-name "heverin";
request subnet-mask, broadcast-address, routers,
domain-name-servers, domain-name;
require domain-name-servers;
}
netsat -nr
----------
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 24.49.88.1 UGSc 17 91 ed0
10/24 link#1 UC 0 0 rl0 =>
24.49.88/23 link#2 UC 0 0 ed0 =>
24.49.88.1 0:0:1d:bc:29:77 UHLW 18 0 ed0 1189
127.0.0.1 127.0.0.1 UH 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%rl0/64 link#1 UC rl0
fe80::%ed0/64 link#2 UC ed0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
ff01::/32 ::1 U lo0
ff02::%rl0/32 link#1 UC rl0
ff02::%ed0/32 link#2 UC ed0
ff02::%lo0/32 fe80::1%lo0 UC lo0
ifconfgia -a
------------
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::250:22ff:fe40:32e%rl0 prefixlen 64 scopeid 0x1
ether 00:50:22:40:03:2e
media: autoselect (none) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::200:e8ff:fe1e:5cc2%ed0 prefixlen 64 scopeid 0x2
inet 24.49.88.138 netmask 0xfffffe00 broadcast 24.49.89.255
ether 00:00:e8:1e:5c:c2
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
kernel file (parts cut out)
---------------------------
machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident jazzbo
maxusers 256
pseudo-device bpf 4 #Berkeley packet filter
# Firewall Options
options IPFIREWALL
options IPDIVERT
resolv.conf
-----------
search buf.adelphia.net.
nameserver 24.48.33.2
nameserver 24.48.33.3
ping results
------------
PING 205.246.19.37 (205.246.19.37): 56 data bytes
64 bytes from 205.246.19.37: icmp_seq=0 ttl=245 time=584.159 ms
64 bytes from 205.246.19.37: icmp_seq=1 ttl=245 time=556.505 ms
64 bytes from 205.246.19.37: icmp_seq=2 ttl=245 time=517.130 ms
64 bytes from 205.246.19.37: icmp_seq=3 ttl=245 time=549.336 ms
64 bytes from 205.246.19.37: icmp_seq=4 ttl=245 time=564.416 ms
64 bytes from 205.246.19.37: icmp_seq=5 ttl=245 time=557.808 ms
64 bytes from 205.246.19.37: icmp_seq=6 ttl=245 time=565.850 ms
64 bytes from 205.246.19.37: icmp_seq=7 ttl=245 time=575.439 ms
64 bytes from 205.246.19.37: icmp_seq=8 ttl=245 time=596.600 ms
64 bytes from 205.246.19.37: icmp_seq=9 ttl=245 time=526.579 ms
64 bytes from 205.246.19.37: icmp_seq=10 ttl=245 time=617.499 ms
64 bytes from 205.246.19.37: icmp_seq=11 ttl=245 time=600.234 ms
64 bytes from 205.246.19.37: icmp_seq=12 ttl=245 time=625.439 ms
64 bytes from 205.246.19.37: icmp_seq=13 ttl=245 time=657.435 ms
64 bytes from 205.246.19.37: icmp_seq=14 ttl=245 time=645.062 ms
64 bytes from 205.246.19.37: icmp_seq=15 ttl=245 time=662.644 ms
64 bytes from 205.246.19.37: icmp_seq=16 ttl=245 time=732.481 ms
--- 205.246.19.37 ping statistics ---
17 packets transmitted, 17 packets received, 0% packet loss
round-trip min/avg/max/stddev = 517.130/596.154/732.481/53.853 ms
Mohsin AbdulRahman
MTech@BuffNET.Net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10102211051360.372-100000>
