Re: lan problem

From: Bill Moran (wmoran_at_potentialtech.com)
Date: 05/23/03

  • Next message: Jer: "problem finding USB network device"
    Date: Thu, 22 May 2003 18:18:46 -0400
    To: pat bey <phaza7@yahoo.com>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Jer: "problem finding USB network device"

    Relevant Pages

    • Re: lan problem
      ... Can you ping www.yahoo.com from the FreeBSD box? ... > a router connect to the two machines with the router set as the dhcp ... > pat bey wrote: ...
      (freebsd-questions)
    • Re: ping question
      ... > I ping from redhat to cisco router and freebsd router ... ttl is 'time-to-live' it is a counter. ... Every router that the ping packet goes ... > Can I change it in freebsd? ...
      (freebsd-questions)
    • Re: lan problem
      ... I can't ping the xp box from the bsd one or vice versa:) ... it sounds like your "router" is misconfigured. ... > pat bey wrote: ... I have another nic card should I install it and put the BSD ...
      (freebsd-questions)
    • VLAN MTU problem in 4.9 ?
      ... I have the following setup on a freebsd box acting as a router for multiple ... but since I upgraded from 4.9-RC2 on the FreeBSD ... PING 207.176.232.142: 1500 data bytes ... packets transmitted, 1 packets received, 0% packet loss ...
      (freebsd-net)
    • DHCP and DNS
      ... I have 2 windows machines and 3 FreeBSD 6.2-stable machines. ... The windows machines can ping any other maching by name. ... What accesses the router to get DHCP info? ...
      (freebsd-questions)