On Sat, Nov 26, 2011 at 10:37:10PM +0100, Pieter Verberne wrote:
> Hello,
> 
> I configured my Soekris net5501 as a switch and access point. I
> briged all four vr(4) devices and ral0. vr0 (10.0.0.1) is connected
> to the router. ral0 is configured as an access point.
> 
> This is the configuration I want. An access point with no IP address.
> 
> $ cat /etc/hostname.ral0
> mediaopt hostap nwid [ssid] wpa wpaprotos wpa2 wpaakms psk wpakey [key]
> up
> 
> However, I cannot ping to 10.0.0.1 from another computer (10.0.0.37)
> attached to ral0 . Wireshark on 10.0.0.37 shows both a echo request
> and reply, but the reply packet has an IP header checksum of 0x0000
> and the packet is dropped. This is probably because of checksum
> offloading done by vr(4) .
> 
> How to handle this?
> 
>  Pieter Verberne
> 
> The following configuration does work. For some reason, nfs (sunrpc)
> is only listening on 10.0.0.80 and not on 10.0.0.1 .
> 

Hi,

Can you try this ?

also, the output of ifconfig vr0 hwfeatures (if you're in current) is useful.

Index: if_vr.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vr.c,v
retrieving revision 1.111
diff -d -u -p -b -r1.111 if_vr.c
--- if_vr.c     22 Jun 2011 16:44:27 -0000      1.111
+++ if_vr.c     27 Nov 2011 02:45:35 -0000
@@ -643,9 +643,11 @@ vr_attach(struct device *parent, struct 
        bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
 
        ifp->if_capabilities |= IFCAP_VLAN_MTU;
+#if 0  
        if (sc->vr_quirks & VR_Q_CSUM)
                ifp->if_capabilities |= IFCAP_CSUM_IPv4|IFCAP_CSUM_TCPv4|
                                        IFCAP_CSUM_UDPv4;
+#endif
 #ifndef SMALL_KERNEL
        if (sc->vr_revid >= REV_ID_VT3065_A) {
                ifp->if_capabilities |= IFCAP_WOL;

Reply via email to