Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 11:02:11 -0800
From:      Wes Santee <wsantee@gmail.com>
To:        Josh Paetzel <josh@tcbug.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LAN unreachable after 5.3 install
Message-ID:  <80d3279c041115110214902092@mail.gmail.com>
In-Reply-To: <200411151239.49858.josh@tcbug.org>
References:  <80d3279c04111510227422bb3a@mail.gmail.com> <200411151239.49858.josh@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Nov 2004 12:39:49 +0000, Josh Paetzel <josh@tcbug.org> wrote:
> On Monday 15 November 2004 18:22, Wes Santee wrote:
> > my problem is that after install, I can't
> > see my LAN.  From the FreeBSD box I try this:
> >
> > ping -S 10.0.0.1 10.0.0.254
> >
> > but none of the pings are responded to.  From 10.0.0.254, I try
> > pinging 10.0.0.1, but the result is the same.
> >
> > Okay, here is the WEIRD part:  When I run tcpdump to see what's
> > going on, all of a sudden everything starts working!  It's as if
> > going into promiscuous mode shuts off some kind of block that I
> > can't figure out. When I kill tcpdump, it goes back to not working
> > again.
> 
> The output of ifconfig may be useful in tracking down your problem

Sure, here it is.  xl1 is the LAN interface, tun0->xl0 is the PPPoE interface:

[wes@lister:/etc] 7 $ ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 00:60:97:a7:c9:01
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:10:5a:9a:11:8c
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 216.113.200.107 --> 216.113.192.225 netmask 0xffffffff
        Opened by PID 1895

Notice there are no IPv6 configurations.  I put
net.inet6.ip6.auto_linklocal=0 in /etc/sysctl.conf as part of a
troubleshooting test to get PPPoE to work(*).  I left it in after I
got PPPoE working because I don't use IPv6, but removing "options
INET6" from the kernel makes pf, ipfilter, and ipfw klds complain
loudly.

Cheers,
-Wes

(*) Long story.  It took over 8 hours to get the PPPoE connection
working after the install.  tcpdump would segfault during the PPP
handshaking do I couldn't even figure out what was going on.  I
finally got it to work by putting "disable ipv6cp" in my ppp.conf
file.  Otherwise it would sit and wait for carrier forever after the
first attempt.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80d3279c041115110214902092>