[wplug-bsd] Net configuration still not working

Christopher McHugh cmchugh at captel.com
Tue Jul 12 08:24:37 EDT 2005


Looking at your routing table I can't see an explicit route back to the 
192 network.  Unless that is what the link#1 is?  Have you done a "route 
add"?

Such as: "route add 192.168.1.0 192.168.1.1 255.255.255.0"   Just a 
suggestion.

Brandon Kuczenski wrote:

> So I am still struggling with this FreeBSD 5.3 router.  Here's the 
> network layout:
>
>
>         128.2.56.1  CMU-operated gateway (netmask 255.255.252.0)
>              |
>              |
>     /-----------------------\
>     |  xl0:  128.2.57.58/22    |
>     |    BSD BOX        |
>     | pcn0: 192.168.1.2/24    |
>     \-----------------------/
>              |
>              |  +-------------------- 192.168.1.20/24
>              |  |            my laptop
>         W    L  L  L  L
>         192.168.1.1/24
>         Linksys WRT54GS
>
> The linksys router has a WAN port (indicated by W - not used) and four 
> LAN ports (indicated by L).  It has been told to act as a 'router' 
> rather than as a 'gateway'.  I've tried using other plugs and 
> switching plugs.
>
> OUTSIDE: normal operation. I can ping my gateway and google.com from 
> the BSD box, and I can connect to other computers via ssh.  Other 
> computers can view the webpage at http://leduc.me.cmu.edu
>
> INSIDE PING: From the laptop, I can 'ping 192.168.1.1' and the router 
> responds.  From the BSD box, I ping the same address and get 'host is 
> down'.
>
> INSIDE SSH: From the laptop, 'ssh 192.168.1.1' gives connection 
> refused (as expected) and 'ssh 192.168.1.2' gives 'no route to host'.  
> But from the BSD box, 'ssh 192.168.1.1' gives 'host is down'.
>
> I've tried switching network cables -- both work from the laptop, 
> neither work from the BSD box.  I tried using xl0 (the card nominally 
> used for the external internet) to connect to the internal network and 
> got the same results.
>
> All the routing and network config information looks sane.  I posted 
> the output of the following commands at 
> http://301south.net/~b/debug.net :
>
> # netstat -rn        (shows routing table)
> # ifconfig        (shows interfaces)
> # ipfstat -i        (shows IP filter input rules - allow all)
> # ipfstat -o        (shows IP filter output rules - allow all)
> # ipnat -l        (shows NAT table)
> # kldstat        (nothing interesting)
> # route get 192.168.1.1
> # ping 192.168.1.1
>
> (all as root).
>
> I'm'a stumped.  Totally baffled.  Without recourse.  In response to 
> Tom Rhodes' questions, yes bpf and miibus are both in the kernel.
>
> ?
> ???
> ??
> ?
> ?
> ????????
> ?
> ?
>
> I guess this will be my last post on the topic.  Next week I'm putting 
> Linux on the box, if I can't get it working with BSD (my preferred 
> choice).
>
> Thanks for reading,
> Brandon
>
> _______________________________________________
> wplug-bsd mailing list
> wplug-bsd at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug-bsd
>

-- 
Christopher C. McHugh
Systems Support Engineer
Capital Telecommunications, Inc.
200 West Market Street
York, PA 17401
(800) 638-7295 Toll Free
(717) 848-8800 ext. 6335


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug-bsd/attachments/20050712/512db858/attachment.html


More information about the wplug-bsd mailing list