lan problem
Bill Moran
wmoran at potentialtech.com
Fri Jun 6 19:29:11 PDT 2003
pat bey wrote:
> I tried changing the nic card to a reltek card that made by D-Link and
> the problem still exists. What could I be doing wrong ifconfig
> rl0: flags=8802<Broadcast, simplex, multicast> mtu 1500
> ether 00:05:5d:2f:b8:6d
> media: ethernet autoselect(10baseT/UTP)
> status: active
>
> rc.conf
> hostname="tweaxordef.net"
> ifconfig_rl0="DHCP"
> defaultrouter="192.168.0.1"
> named_enable="YES"
> inetd_enable="YES"
Try adding:
network_interfaces="lo0 rl0"
to /etc/rc.conf
Does that help? Does ifconfig show rl0 as UP and RUNNING after that?
>
> resolv.conf
> nameserver="151.164.1.8"
> nameserver="206.13.28.12"
>
> I tried changing the cables too with a new one, which didn't seem to
> help what could I be doing wrong.
>
> */Bill Moran <wmoran at potentialtech.com>/* wrote:
>
> pat bey wrote:
> > I can not ping anything but my loopback and nic right now
>
> I would double-check the link-layer stuff. Try a different
> patch cable, different port on the hub, different NIC. sounds
> like you don't have any connectivity.
>
> >
> > */Bill Moran /* wrote:
> >
> > Can you ping www.yahoo.com from the FreeBSD box?
> >
> > Can you ping 64.58.76.231 from the FreeBSD box?
> >
> > pat bey wrote:
> > >
> > > I can't ping the xp box from the bsd one or vice versa :)
> > > But while looking in the router config files I notice in the dhcp
> > > clients list that the xp box isn't listed in the client list but
> > it was
> > > before I installed namedb. Could this be the problem. Basically I
> > have
> > > a router connect to the two machines with the router set as the
> dhcp
> > > server. is also has built-in NAT. i can open my browser in the
> > FBSD box
> > > but I can't go beyond the home page. Looking at the router's web
> > page I
> > > have to have at least Mozilla 5.0 or higher, Opera lastet browser
> > or It
> > > will never happen the M$ Internet Explorer 6.0 for it to work
> > with the
> > > router. I try a dig www.freebsdforum.org
> > > and I got a reply but if I dig anything else I get no response.
> > I'm at
> > > the point now where I just want to experience and enjoy the joy
> > of FBSD
> > > on the internet.
> > > */Bill Moran /* wrote:
> > >
> > > pat bey wrote:
> > > > # netstat -rn
> > > > Internet:
> > > > Destination Gateway Flags Ref Use Netif
> > > > default 192.168.0.1 UGSc 2 1 sis0
> > > > 127.0.0.1 127.0.0.1 UH 0 382 lo0
> > > > 192.168.0 link#1 UC 4 0 sis0
> > > > 192.168.0.105 00:09:5b:1b:89:0d UHLW 1 241 lo0
> > > > 192.168.0.184 link#1 UHLW 0 5 sis0
> > > > 192.168.0.255 ff:ff:ff:ff:ff:ff:ff:ff UHLWb 1 77 sis0
> > > > I left out the expire part sense their was nothing under it.
> > > > I left out the Internet6 part cause when installing I configured
> > > it for ipv4.
> > > > I don't know if I have ICMP enable on the router or not I have
> > > ports 20-2999 open on the router. Strange thou the router says
> > > 192.168.0.184 is the win xp box why is it in my my netstat. I tried
> > > telneting to the router it won't let me
> > >
> > > Do you see this eighty-foot line ^^^^^
> > >
> > > Do you think you can learn to use the "enter" key?
> > >
> > > 192.168.0.184 shows up in the list because the FreeBSD box heard it
> > > on the local
> > > network and thus created an ephemeral route so it knows where to
> > > find it. This
> > > is A Good Thing.
> > >
> > > Cany you ping 192.168.0.184 from the FreeBSD box? Can you ping
> > > FreeBSD from
> > > the XP box? If so, it sounds like your "router" is misconfigured.
> > >
> > > >
> > > > pat bey wrote:
> > > >
> > > >>Can anyone help me solve this problem??
> > > >>
> > > >>I have two boxes win xp and FreeBSD 4.6 and a DLink 704P router
> > > which has built-in
> > > >>nat and dhcp server. Here is a diagram of my setup.
> > > >
> > > > [code] -----------------------------
> > > >
> > > >>| dsl modem |
> > > >>-------------------------------
> > > >>|
> > > >>--------------------------------
> > > >>| router |
> > > >>-------------------------------
> > > >>| |
> > > >
> > > > --------------------------------| |------------------------------
> > > > | |
> > > > ---------------------- ------------------ ------------------- |
> > > |Win XP box | | FBSD4.6 box |
> > > > ---------------------- ------------------------- [/code]
> > > >
> > > >>I followed the online handbook to setup this box, everything is
> > > configured for dhcp.
> > > >>Using the GENERIC kernel. I tried pinging 127.0.0.1 & my nic
> > > >>which had 0% packet loss. But when I try to ping the router I get
> > > a message of route
> > > >>to host down. I have Bind running as a caching server . I updated
> > > the firmware for
> > > >>a unix sys and I can't get out to the world from this box. The
> > > windows box have no
> > > >>problem getting out to the world. On the router I have ports
> > > tcp,udp 20-2999 open
> > > >>for both mac address. The router sees both MAC's but the FBSD box
> > > can't even access
> > > >>the routers web page. I have another nic card should I install it
> > > and put the BSD
> > > >>box in front of the router. Or can anyone help me solve this
> > problem.
> > > >
> > > >
> > > > Can you ping 192.168.0.105?
> > > >
> > > > Can you ping the IP of the Win XP machine?
> > > >
> > > > Do you have ICMP packets blocked on the "router"?
> > > >
> > > > Are you pinging IP addys or names? (start with IPs, once that
> > > works, then try names)
> > > >
> > > > Can you post the output of 'netstat -rn'?
> > > >
> > > >
> > >
> >
> >>:D-------------------------------------------------------------------------------------------------:D
> > > >># ifconfig
> > > >>sis0: flags=8843 mtu 1500
> > > >>inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255
> > > >>ether 00:12:34:56:78
> > > >>media: Ethernet autoselect (100baseTX )
> > > >>status: active
> > > >>lo0: flags=8049 mtu 16384
> > > >>inet 127.0.0.1 netmask 0xff000000
> > >
> >
> >>-------------------------------------------------------------------------------------------------------
> > > >># rc.conf
> > > >>blanktime="300"
> > > >>hostname="phaza"
> > > >>ifconfig_sis0="DHCP"
> > > >>defaultrouter="192.168.0.1"
> > > >>named_enable="YES"
> > > >>inetd_enable="YES"
> > > >>kernel_secure_level_enable="YES"
> > > >>kepmap="us.unix"
> > > >>keyrate="normal"
> > > >>linux_enable="YES"
> > > >>and the rest is just set to the default.
> > > >>I had Redhat Linux 7.2 installed before and it work with no
> > > problem straight
> > > >>out of the box. I been working on this for a 2 months with no
> > > luck. Can
> > > >>anyone help me out. I chose the 4.6 version cause it was all that
> > > my local
> > > >>comp had as far as BSD that came with a handbook.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the freebsd-questions
mailing list