[wplug-bsd] Net configuration still not working
Poyner, Brandon
bpoyner at ccac.edu
Tue Jul 12 09:05:36 EDT 2005
Ok, I have a few suggestions. One is that your netstat output seems to
indicate that things are working at the ethernet level. But the 'Flags'
for 192.168.1.20 indicate the Host or net [is]unreachable.
Internet:
Destination Gateway Flags Refs Use Netif
Expire
192.168.1 link#1 UC 0 0 pcn0
192.168.1.1 link#1 UHLW 0 3 pcn0
192.168.1.2 00:60:b0:f0:69:d0 UHLW 0 4 lo0
192.168.1.20 link#1 UHRLW 0 8 pcn0
After attempting the pings from both the gateway and laptop what is the
output from 'arp -an' on both computers? Do you have an ethernet
crossover cable, or a basic hub, to try to get the WRT54GS out of the
picture? Did you disable the firewall on the WRT54GS?
Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
> -----Original Message-----
> From: wplug-bsd-bounces+bpoyner=ccac.edu at wplug.org
> [mailto:wplug-bsd-bounces+bpoyner=ccac.edu at wplug.org] On
> Behalf Of Brandon Kuczenski
> Sent: Monday, July 11, 2005 5:49 PM
> To: WPLUG BSD user group
> Subject: [wplug-bsd] Net configuration still not working
>
> 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
>
More information about the wplug-bsd
mailing list