LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-19-2007, 01:32 PM   #1
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Rep: Reputation: 15
Internet & File Sharing (Advanced)


i'd started a thread on this earlier before really nailing down what the problem (probably) was. the thread is "lost wan connectivity when copying files".

ra0 (192.168.1.90) connects to roommate's wireless router for internet
eth1 (192.168.8.1) feeds shared internet into WAN port of my router
eth0 (172.28.201.3) connects to a LAN port of my router
computers on my router are 172.28.201.xxx

my server shares files, runs bind, and is a dchp server (dhcp is disabled on my router)

everything runs great unless i copy a large file from pc to pc and then internet connectivity disappears from my network (including on my server)

this script gets everything up and running:

---------------------------------------------
ifconfig ra0 192.168.1.90
ifconfig eth0 172.28.201.3
ifconfig eth1 192.168.8.1
route add -net default gw 192.168.1.1
sysctl -p
iptables -t nat -A POSTROUTING -o ra0 -j SNAT --to 192.168.1.90
---------------------------------------------

i'm guessing my "problem" would go away if i was able to ensure all local traffic stays on eth0 (samba sharing, dhcp, etc) and all internet traffic stays between eth1 and ra0.

is the solution to be found by using the route or iptables command?

here's a "better" visual of how my network looks: http://geocities.com/starmonche/network.html

thank you

Last edited by starmonche; 06-19-2007 at 01:34 PM.
 
  


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
Internet Access & Internet Sharing Through Wi-Fi. Be.Gurmeet.Be Linux - Networking 0 04-13-2006 03:07 PM
authentication & file sharing using pure-ftpd & suse 9.0 dopper Linux - Software 1 08-13-2004 11:19 AM
Sharing internet & file system between Windows98 & Redhat9 cjs_pro Linux - Networking 2 07-15-2004 07:25 AM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM

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

All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration