LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-21-2010, 04:49 PM   #1
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 6.5
Posts: 483

Rep: Reputation: 85
3G modem on debian try to share connection with lan


Right... Generally I don't like just asking stuff but just can't crack this one. I got a debian machine. My internet connection is on a 3g usb modem. It connects perfectly. Then I downloaded DHCP 3 and then configured it so I got 172.16.0.0 network address with gateway on 172.16.0.1 (set by DHCP) 172.16.0.1 is also the eth0 address and is assigned as fixed by DHCP. With the modem not connected the other PC connects no prob, gets the default gateway and get assigned an ip by DHCP and there is a proper connection with APACHE serving pages. So it is all grand. Where my prob comes in is that I am not able to get traffic from the modem through to the other PC, and at times the modem would not be used as default connection with eth0 up. Restarting the modem fix this but then also drop the assigned gateway address.They are connected directly via crossover cable. The modem is setup as ppp0 according to ifconfig and then ethernet as eth0 and I tried some masquerading allowing all traffic through but does not seem to do the trick. Anyone out there has similar problems?

Thanks in advance guys.

Last edited by ericson007; 03-21-2010 at 04:53 PM.
 
Old 04-02-2010, 11:25 PM   #2
Bob D
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Rep: Reputation: 0
Lite solution might be wicd. Heavy would be iproute2.

Stuff should just work.
 
0 members found this post helpful.
  


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
Can I share my lan connection? baig Linux - Newbie 8 12-03-2008 07:27 PM
How to share internet connection with Single LAN card shared over a switch!! anupamjamatia Linux - Networking 1 05-29-2008 08:28 AM
How to share internet connection with Single LAN card shared over a switch anupamjamatia Linux - Networking 1 05-29-2008 06:49 AM
Debian share LAN Windows XP printer? rockymaxsource Linux - Networking 2 09-28-2006 02:59 PM
How can I share my Internet connection with other LAN ms windows users emiliofil Linux - Networking 1 02-21-2004 11:01 AM


All times are GMT -5. The time now is 10:15 PM.

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