LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-13-2006, 03:21 PM   #1
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Rep: Reputation: 30
Question which adapter am I using?


I have eth0 and wlan0 both connecting to my wireless router when I am docked - the dock is eth0 wired into router and gets 192.168.0.101 and the wlan0 will autoassociate and pick up 192.168.0.111.

All network services are working just fine but I am not sure which adapter is the default route at any given time?'

I can see that they both pick up valid routing and DNS information etc - they always work individually as well...

So how can I tell which adapter is being used by firefox and which by portage for example ? I know it doesn't really matter since the connection is going to a single pipe on the net outside of the router but I am interested in knowing how the system allocates the default adapter when they are both on the same subnet.

TIA
Will
 
Old 03-13-2006, 03:38 PM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Try using the route command. Specifically, "route -n". For further information on the command, I recommend "man route".
 
Old 03-13-2006, 03:48 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might want to have the two adaptors on distinct subnets for routing to function properly. If you want to connect to a host at 192.168.0.105 for example, both interfaces are indicated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless adapter ? d1l2w3 Linux - Hardware 3 12-07-2005 11:01 PM
PS/2 to USB Adapter? Matir Linux - Hardware 0 02-24-2005 12:45 PM
vpn adapter hariiyer Linux - Networking 0 02-07-2005 07:05 AM
network adapter help seanlinux Linux - Newbie 2 12-17-2003 09:17 AM
Ethernet Adapter mprice74 Linux - Laptop and Netbook 2 09-09-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration