Re: Wireless NIC in FreeBSD 6.0 ?



On Sunday 25 December 2005 20:51, you wrote:
> Yuan Jue wrote:
> > On Sunday 25 December 2005 19:53, you wrote:
> > yes. they are not on the same LAN.
> > but when I use my local NIC to connect the internet, everything is fine.
> > the following is how my local NIC works:
> >
> > YuanJue@~$ ifconfig
> > bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
> > inet 166.111.208.204 netmask 0xfffffe00 broadcast 166.111.209.255
> > ether 00:0d:9d:90:e0:68
> > media: Ethernet autoselect (100baseTX <full-duplex>)
> > status: active
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > inet 127.0.0.1 netmask 0xff000000
> > YuanJue@~$ ping 166.111.8.28
> > PING 166.111.8.28 (166.111.8.28): 56 data bytes
> > 64 bytes from 166.111.8.28: icmp_seq=0 ttl=251 time=0.525 ms
> >
> > why does this work? it has the same netmask and broadcast address
> > as the wireless NIC. Any more explanations?
>
> OK, now, if you have two nic's configured for the same lan things get
> wierd. Try
>
> # ifconfig bge0 down
>
> And, check that default route is set correctly.

thank you very much. it does work now. :)
you know, back to FreeBSD 5.4, things like this never happened.
so I even never think about close the local NIC down to get the wireless
one works. Maybe this is the FreeBSD 6.0's improvement on wireless
access, right?

>
> I think the default route binds not only to an ip but also to the
> interface that connects to that network, so maybe you have configured
> both bge0 and ath0 and default route set to go out bge0. Now, when you
> disconnect bge0 and try to ping, your ping is not sent on ath0 as you
> might think but on bge0.
thanks for your explanations. It is very appreciated.
>
> To check this kind of problems, use snort to sniff what's actually
> leaving your interface.
>
> Cheers, Erik

--
Best Regards.
Yuan Jue
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Why unidirectional ping in LAN?
    ... >>I'm imagining the ping from the laptop hits R2 who notices the destination ... so he repeats that packet on all his LAN ... > wireless access point only, ...
    (microsoft.public.windowsxp.network_web)
  • Re: LAN problems after update to XP2
    ... Now have LAN connection working - after hunting on Google, ... referring to the PING problem - then realised that one of the Microsoft ... Now I can chase the wireless LAN problem - have just checked it is not due ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Multihomed PC
    ... I have WS A with LAN and Wireless connection to different subnets. ... A and ping WS B and it now picks up the Wireless IP. ...
    (microsoft.public.win2000.dns)
  • Re: Problem Browsing Web on Notebook with 2 NICs
    ... On the wireless lan check to see if you can ping outside ... Ping the web site of a major search engine. ... If you cannot ping outside the network, ...
    (microsoft.public.win2000.networking)
  • Re: Connect a Wireless Router to my SBS Network
    ... For the LAN on my SBS server the second NIC ... This setup is the Airlink wireless attached to the 5-port switch? ...
    (microsoft.public.windows.server.sbs)