Re: specifying interface for default route

From: Stefan Walter (sw+usenet_at_gegenunendlich.de)
Date: 10/09/04


Date: Sat, 9 Oct 2004 16:39:27 +0200


* Pedro Pinto <ppinto@cs.cmu.edu> wrote:

[...]
> that I am unable to convince freebsd to use the wireless card to connect
> to my gateway. My default route always ends up attached to the wired
> card (em0), that is:
>
> route add default 192.168.0.100
>
> (192.168.0.100 is my gw)
>
> will add a route through em0 instead of my wireless card. So I can ping
> my LAN but not the internet.

This is insufficient information so far. What does 'ifconfig' say about
the two interfaces? How do you connect to your wireless network - adhoc or
via an access point?

My guess would be that both interfaces have IP addresses in the same
subnet, which tends to cause problems...

Stefan

-- 
No reading beyond this point


Relevant Pages

  • Re: Getting WindozeXP Home to Use 802.11b Wireless Connection
    ... >>route command) to set the default route through Wireless card. ... >>when trying to use the route command I don't know the interface number ... > Is there a reason that you're not using DHCP and letting the router ...
    (microsoft.public.windowsxp.network_web)
  • Re: Live Iso 9 & wireless gets LAN but no internet
    ... type "route" and see if you come up with a default gw. ... but I'm concerned that the misbehavior I see with the Live ISO ... > router but doesn't want to see the internet. ... > I know I set up the wireless card correctly because when I don't do ...
    (alt.os.linux.suse)
  • Re: Automatic start of network services
    ... network services are not started and my wireless card cannot connect. ... route before being able to reach the internet. ...
    (alt.os.linux.suse)
  • specifying interface for default route
    ... am having a little trouble with my wireless card. ... has a wired ethernet as well as a wireless card, ... My default route always ends up attached to the wired ... will add a route through em0 instead of my wireless card. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: [SLE] Configuring Wireless with wpa_supplicant
    ... > have a specialized route for the other. ... monitors the interfaces and does a manual connection to the ... If the wire is not connected the wireless card ...
    (SuSE)