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 04-15-2013, 09:39 PM   #1
RogueWarrior65
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Rep: Reputation: 0
Question Ethernet & Wifi address conflict (Basic question)


I have an SBC with ethernet and wifi devices. If, for example, I assign the ethernet device to 192.168.15.200 and the wifi to 192.168.15.150 both with netmask 255.255.255.0, whichever device was brought up first works but the second one doesn't e.g. I can ping the first address/device from another computer on the network but not the second. If I ifconfig down the first device, I can then ping the second. What am I not configuring correctly?
 
Old 04-16-2013, 08:30 PM   #2
phans
LQ Newbie
 
Registered: Nov 2005
Location: Northville, Michigan
Distribution: Ubuntu, PuppyLinux
Posts: 2

Rep: Reputation: 0
Please provide more info. Is one device a router and the other a wireless router (access point)? Or are both devices clients, such as a wired desktop computer and a wifi laptop or something?
 
Old 04-17-2013, 07:59 AM   #3
RogueWarrior65
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Okay, I have an Airport Time Machine as my router, a laptop, and a TS-7552 which has both ethernet and 802.11g on it. The laptop and the 7552 are clients.
 
Old 04-17-2013, 09:55 AM   #4
polypagan
LQ Newbie
 
Registered: Sep 2005
Location: Berea, Kentucky
Distribution: openSUSE
Posts: 22
Blog Entries: 3

Rep: Reputation: 0
It's challenging to route packets to the same subnet via two adapters.
Is there something special about 292.168.15.x?
Try making one adapter 192.168.16.x and that should work.

Is there a reason you're not letting DHCP sort this?

Study the output of ../sbin/route command.
 
Old 04-18-2013, 09:07 AM   #5
RogueWarrior65
LQ Newbie
 
Registered: Aug 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Hmm...okay, I'll mess around with the addresses. Shouldn't I also have to change the netmask to 255.255.0.0 to get that different subnet to work?
As for not using DHCP, I do that on my laptop and the Airport has it running but the SBCs are faceless so I would have no clue what the address might be each time I boot it and no way of figuring it out without plugging in the serial console cable.
 
Old 04-19-2013, 10:58 AM   #6
polypagan
LQ Newbie
 
Registered: Sep 2005
Location: Berea, Kentucky
Distribution: openSUSE
Posts: 22
Blog Entries: 3

Rep: Reputation: 0
netmask 255:255:255:0 is correct for class C IPv4 addresses (private addresses) like 192.168.x.x

Those first two bytes define the address class, the third defines the subnet within the class and the fourth byte defines the host (0..254), so all three bytes effectively define the subnet (the one's in the mask, 255=0xff).

Don't know about Airport. Some devices allow you to associate fixed IP's with physical (MAC) addresses (so-called "Static DHCP", an oxymoron). I believe all Airports will allow you to interrogate the DHCP table to learn what address has been assigned.

And, that might not work for you.

If I understand your topology correctly (not at all sure I do), what I'm suggesting may not be possible. If both interfaces need to connect to the Airport, they will need to be on the same subnet as its LAN... You may need more advanced routing on the SBC...
 
  


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
No wifi or ethernet - Back Box 2.5 dist, w/ Atheros & Realtek network cards WyattEarp1 Linux - Newbie 34 10-06-2012 11:04 AM
[SOLVED] Linux packet sockets basic question - bi-directional raw ethernet data flow bayoulinux Programming 12 05-16-2012 03:24 PM
wifi - ethernet conflict? (2 cards) PhysicsMgr Linux - Wireless Networking 7 12-04-2006 10:09 AM
ethernet conflict nairnie Linux - Networking 1 11-17-2003 06:08 PM
IRQ conflict & ethernet configuration please atari303 Linux - Newbie 8 10-17-2001 01:45 AM


All times are GMT -5. The time now is 05:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration