Date: Sun, 01 Sep 2002 01:01:00 -0300 From: Ken Easson <ken@justken.net> To: FreeBSD-questions@FreeBSD.ORG Subject: cannot connect to network, with 2 nic's. Message-ID: <5.1.1.6.0.20020831235303.03e0d770@mail.justken.net>
next in thread | raw e-mail | index | archive | help
hello,
i hope this is the right forum for this quesion...
i am setting up a freebsd system and have been unable to connect to any
network.
i have a system with 2 nic cards, xl0 and vr0. My cable modem is connected
to xl0 and hub and windows pc's will be connected to vr0. i've disregarded
vr0 as i hope to install the dhcp server to connect through this nic, once
i have a network connection.
xl0 has been configured using DHCP.
my /etc/rc.config has the following line from /stand/sysinstall:
ifconfig_xl0="DHCP"
/etc/dhclient.conf is empty.
but no "send host-name "your-host-name" line: (if i need a hostname - i'm
not clear on what that should be? i have used my domain name
www.justken.net but this should be served through this gateway!)
and /var/db/dhclient.leases looks like this: (times 4)
lease {
interface "xl0";
fixed-address 192.168.241.30;
filename "docsis.cfg";
option subnet-mask 255.255.255.0;
option time-offset -14400;
option routers 192.168.241.1;
option dhcp-lease-time 600;
option dhcp-message-type 5;
option domain-name-servers 24.222.0.13;
option domain-name-servers 24.222.0.33;
option broadcast-address 192.168.241.255;
renew 6 2002/8/31 22:38:07;
renew 6 2002/8/31 22:42:58;
renew 6 2002/8/31 22:44:13;
}
FYI: looking at the ipconfig in win2k the dns info comes back as:
24.222.0.75 and 24.138.0.7
with this i cannot ping or traceroute to anything but localhost. localhost
resolves correctly.
when i ping i get the following results:
# ping www.google.com
PING www.google.com (216.239.51.101): 56 data bytes
^C
--- www.google.com ping statistics ---
38 packets transmitted, 0 packets received, 100% packet loss
traceroute provides the following:
#traceroute www.google.com
traceroute to www.google.com (216.239.51.101), 64 hops max, 40 byte packets
1 u128n1.hfx.eastling.ca (24.222.128.1) 24.962 ms 12.933 ms 7.673 ms
2 v183.hlfx-dr2.eastlink.ca (24.222.79.129) 27.051 ms 35.163 ms 13.143 ms
3 vl154.hlfx-dr1.eastlink.ca (24.222.79.125) 12.265 ms 10.265 ms 32.177 ms
4 ge1-2.hlfx-br1.eastlink.ca (24.222.79.205) 8.391 ms 11.315 ms 9.497 ms
5 * * *
6 * * *
...
11 * * *
^C
some final diagnostics that may help someone who knows what they are doing:
#netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.241.1 UGSc 2 0 xl0
127.0.0.1 127.0.0.1 UH 1 0 lo0
192.168.241 link#2 UC 1 0 xl0
192.168.241.1 00:02:fc:83:84:85 UHLW 3 0 xl0 1015
192.168.241.30 127.0.0.1 UGHS 0 0 lo0
looks to me that all outbound calls are being routed to localhost? why am i
getting 4 hops in my traceroute? and the man page and unix reference i'm
using said that i man not expect the results i get... anyone?
ifconfig: (xl0 results only)
xl0: flags=9943<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
option=3<rxcsum,txcsum>
inet6 fe80::210:4bff:fe8f:f912%xl0 prefixlen 64 scopeid 0x2
inet 192.168.241.30 netmask 0xffffff00 broadcast 192.168.241.255
ether 00:10:4b:8f:f9:12
media: Ethernet autoselect (10bastT/UTP)
status:active
It seems to be that i've got a lease, but i can't seem to get past the
gateway router at the isp. DNS is working as expected, but my packets
arn't getting to their destination... i'm not a net guru yet... but ive
tried to read all man pages, and follow the setup's - i had this system
working with the @home before installing the second nic, and trying to
configure as a router. If this helps - i did a reinstall from cd, installed
the second nic card - turns out it was defective - and replaced it with
this one. I have tried connecting to the host isp with both nic's and have
not gotten past this point.
hope someone can help me out! would be greatly appreciated.
ken easson
justken.net
ken@justken.net
justken web programming and technical support.
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?5.1.1.6.0.20020831235303.03e0d770>
