LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-03-2012, 12:43 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Rep: Reputation: 30
Concurrent access to multiple Networks.


I have a 3G dongle plugged in to access the Internet and a wireless LAN to allow access to this computer from elswhere on the wireless network.

Code:
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:xxx.xxx.xxx.xxx  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:31813 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26265 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:29531293 (29.5 MB)  TX bytes:2746482 (2.7 MB)

usb0      Link encap:Ethernet  HWaddr 02:50:f3:00:00:00  
          inet6 addr: fe80::50:f3ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:917 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:233107 (233.1 KB)

wlan0     Link encap:Ethernet  HWaddr 74:e5:0b:cd:48:10  
          inet addr:10.0.0.28  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::76e5:bff:fecd:4810/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:922 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1191 (1.1 KB)  TX bytes:81745 (81.7 KB)
The problem is that I cannot connect to the Internet if the wlan is up, but once I disconnect, Internet access is restored.
 
Old 07-03-2012, 04:17 AM   #2
GreggT
Member
 
Registered: Jan 2012
Distribution: Debian, CentOS, Fedora, TinyCore
Posts: 45

Rep: Reputation: Disabled
curious - does unplugging your router & plugging it back in (while wlan is connected) work? So in other words, is it trying to access the internet through wlan instead of its normal route?
 
Old 07-03-2012, 09:43 AM   #3
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Rebooting the wireless access point makes no difference.

Code:
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:xxx.xxx.xxx.xxx  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1485 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1403043 (1.4 MB)  TX bytes:175742 (175.7 KB)

usb0      Link encap:Ethernet  HWaddr 02:50:f3:00:00:00  
          inet6 addr: fe80::50:f3ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:165 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:180 (180.0 B)

wlan0     Link encap:Ethernet  HWaddr 74:e5:0b:cd:48:10  
          inet addr:10.0.0.28  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::76e5:bff:fecd:4810/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5087 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9456 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:916346 (916.3 KB)  TX bytes:859754 (859.7 KB)

root@Guybrush:/opt/libredwg# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.0.0.28 icmp_seq=2 Destination Host Unreachable
From 10.0.0.28 icmp_seq=3 Destination Host Unreachable
Yes, it's obviously trying to connect via the 10.0.0.0 subnet instead of the ppp0 connection....
 
Old 07-03-2012, 11:04 AM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Gateway address is usually the cause. Only one gateway address is needed.
 
Old 07-03-2012, 11:44 AM   #5
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Thank you.

The Gateway setting for the connection was it's own IP.

Once I Deleted the connection and set it up as a Manual IP without a gateway it worked.

Last edited by cov; 07-03-2012 at 11:48 AM.
 
  


Reply



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
multiple concurrent dhcp leases for the same mac? suprstar Linux - Server 0 11-09-2011 10:19 AM
Multiple concurrent remote desktop sessions? nocloud Linux - Software 2 03-08-2010 11:38 AM
Concurrent access to a Database in Java manolakis Programming 1 03-29-2009 03:11 AM
Concurrent nologin access to ssh alexxxutz Linux - Server 2 03-20-2009 06:39 AM
how to allow multiple users concurrent access to the sound card under linux kosaspree Linux - Hardware 2 09-17-2004 04:00 PM

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

All times are GMT -5. The time now is 12:11 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